Module 1: The Physical Design Landscape · 1.5 Flow Configuration

Interactive Versus Autonomous Execution

Section 1.4 demonstrated automated batch execution with a single command. That approach runs every stage sequentially without stopping. To understand and debug physical design, engineers must execute stages individually.

Autonomous Execution Versus Interactive Execution

OpenLane supports two execution modes:

  • Autonomous Mode (flow.tcl -design <name>): Executes all stages from synthesis to signoff without pausing. If a stage fails, the flow halts. This mode suits automated regression testing for established designs.
  • Interactive Mode: Provides an interactive Tcl shell. Designers trigger stages individually using distinct Tcl commands. The flow halts after each stage, which permits direct inspection of intermediate files and reports.

Advantages of Interactive Execution

Interactive execution allows engineers to inspect intermediate artifacts before downstream transformations occur. For example, a designer can inspect post-synthesis gate counts, check cell density after floorplanning, or inspect clock skew before detailed routing.

Catching errors early saves debugging time. If synthesis introduces high fanout nets, fixing the constraint immediately prevents hours of unroutable congestion later. Engineering teams use autonomous runs for continuous integration and interactive sessions for design closure.

Primary Interactive Tcl Commands

Starting in Module 2, all labs use interactive mode. Designers initialize sessions and run synthesis using two primary commands:

prep -design my_first_design
run_synthesis

The prep command initializes the OpenLane session. It reads config.json, establishes the timestamped run directory, and loads the PDK technology rules.

The run_synthesis command executes logic synthesis using Yosys and ABC. It writes out the gate-level Verilog netlist and timing reports. The flow pauses immediately after synthesis finishes.

The lab exercises follow this structured pattern: initialize with prep, run a stage command, inspect the resulting report, and proceed to the next stage.

Practice Exercise

A routed design exhibits poor timing slack. You suspect the issue originated in an upstream flow stage. How do you isolate the problem using interactive mode?

Solution

Execute the flow interactively from the beginning and inspect timing reports after each stage.

Run prep and run_synthesis. Check the post-synthesis static timing analysis report for negative slack. If synthesis passes, execute run_floorplan and verify core utilization. Next, execute run_placement and inspect routing congestion estimates. Finally, execute run_cts and verify clock skew. This systematic step-by-step inspection identifies the exact stage where timing degradation began.

This concludes Module 1. Module 2 begins logic synthesis and examines Yosys commands and gate-level netlists.

← The Flow, Stage by Stage