Module 1: The Physical Design Landscape · 1.2 The Open-Source EDA Stack

Yosys and OpenROAD

Traditional semiconductor development relied on proprietary commercial EDA suites with restrictive licensing terms. Modern digital design can be executed using production-proven open-source tools. This article examines Yosys for logic synthesis and OpenROAD for physical layout generation.

Logic Synthesis with Yosys

Yosys is an open-source synthesis framework that translates RTL Verilog into gate-level netlists. It parses behavioral code, performs Boolean logic optimizations, and maps primitives to standard cell libraries. Yosys integrates the ABC logic synthesis engine for technology mapping.

Execute a basic synthesis pass from the command line:

yosys -p "read_verilog design.v; synth; write_verilog synth.v"

This command executes three sequential operations:

  1. read_verilog design.v loads the RTL source file.
  2. synth performs elaboration, constant propagation, and logic minimization.
  3. write_verilog synth.v writes the resulting structural netlist to disk.

OpenLane wraps this execution sequence and links target PDK standard cell timing libraries automatically.

Physical Design Integration with OpenROAD

OpenROAD integrates multiple physical design tools into a unified in-memory application. It eliminates intermediate file conversions between distinct physical design stages:

Physical Implementation Stage Integrated OpenROAD Engine Functional Operation
Floorplanning OpenROAD Floorplan Initializer Configures core dimensions, pin locations, and power grids.
Global Placement RePlAce Computes continuous cell density distributions to minimize wirelength.
Detailed Placement OpenDP Snaps cells to discrete site rows and resolves overlaps.
Clock Tree Synthesis TritonCTS Generates balanced low-skew clock distribution networks.
Global Routing FastRoute Estimates routing congestion across 3D routing grids.
Detailed Routing TritonRoute Routes physical metal tracks and vias conforming to foundry design rules.
Static Timing Analysis OpenSTA Evaluates path slack across multiple operating corners.

OpenROAD executes these operations in a single process. Shared database structures accelerate execution and maintain data consistency across stages. Engineers use OpenROAD and Yosys to manufacture silicon chips on modern semiconductor foundry nodes.

Practice Exercise

Modify the Yosys command line to generate a cell utilization report before writing the gate-level netlist. Specify the necessary command and where it belongs in the execution pipeline.

Solution

Add the stat command after logic synthesis and before writing the netlist:

yosys -p "read_verilog design.v; synth; stat; write_verilog synth.v"

The stat pass must execute after synth so that mapped gate instances exist in memory. It outputs cell counts, gate categories, and estimated wire quantities to the console.

Yosys synthesizes behavioral RTL into mapped standard cell netlists. OpenROAD unifies floorplanning, placement, clock tree synthesis, routing, and static timing analysis into one engine. The next article introduces Magic, Netgen, and KLayout for layout extraction and physical verification.

← Why Physical Design Is Not Optional Magic, Netgen and KLayout →