RTL to GDSII: ASIC Physical Design with OpenLane & SkyWater
Course Scope
This curriculum teaches the Application-Specific Integrated Circuit (ASIC) physical design flow. It starts with a verified gate-level netlist and completes with a verified GDSII layout file for semiconductor fabrication.
The course covers all physical design stages: logic synthesis, floorplanning, placement, clock tree synthesis, routing, timing closure, physical verification, and GDSII generation.
Each module applies open-source Electronic Design Automation (EDA) tools to physical designs. The tool suite includes OpenLane, Yosys, OpenROAD, Magic, Netgen, and KLayout targeting the SkyWater SKY130 open-source Process Design Kit (PDK).
Prerequisites: Familiarity with Verilog RTL and command-line interfaces. The curriculum uses reference designs from the Digital Design & Verilog course, including an Arithmetic Logic Unit (ALU), a UART, and a RISC processor core.
Course Map
Modules
Module 1: The Physical Design Landscape
This module introduces the open-source EDA stack, the SkyWater SKY130 PDK, and an initial automated OpenLane flow run.
| Section | Topics |
|---|---|
| 1.1 The Complete ASIC Flow | Front-end and back-end divisions, abstraction layers, physical design objectives |
| 1.2 The Open-Source EDA Stack | Yosys, OpenROAD, Magic, Netgen, KLayout, OpenLane workflow automation |
| 1.3 The SkyWater SKY130 PDK | PDK structure, fabrication rules, standard cell libraries |
| 1.4 Environment Setup | Installing OpenLane and the SKY130 PDK, executing an initial flow run |
| 1.5 Flow Configuration | Configuration file structure, autonomous versus interactive execution |
Module 2: Logic Synthesis
This module covers translation from RTL to gate-level netlists, synthesis optimization strategies, and standard cell views.
| Section | Topics |
|---|---|
| 2.1 From RTL to Gates | Technology mapping, physical effects of RTL coding style |
| 2.2 Yosys in OpenLane | Synthesis optimization strategies, area versus delay trade-offs |
| 2.3 Standard Cell Views | Liberty timing models (.lib), LEF geometry files, drive strength variants |
| 2.4 Synthesis Constraints | Synopsys Design Constraints (SDC), clock specifications, I/O delays |
| 2.5 Synthesis Reports | Area reports, cell count metrics, pre-placement timing analysis |
Module 3: Floorplanning
This module covers die sizing, power distribution grids, I/O pad assignment, and macro placement.
| Section | Topics |
|---|---|
| 3.1 Die & Core Area Planning | Core utilization, aspect ratio, core-to-die spacing |
| 3.2 Power Planning | Power rings, power straps, voltage drop (IR drop) analysis |
| 3.3 I/O Pin Placement | Pin arrangement, pad-limited versus core-limited constraints |
| 3.4 Macro Placement | Keepout halos, placement blockages, macro orientation |
| 3.5 The OpenLane Floorplan Stage | Core utilization parameters, tap cells, endcap insertion, layout visualization |
Module 4: Placement
This module teaches global placement, cell legalization, congestion mitigation, and placement parameter optimization.
| Section | Topics |
|---|---|
| 4.1 Global Placement | Analytical placement, wirelength, routing congestion, and timing objectives |
| 4.2 Detailed Placement & Legalization | Row alignment, site snapping, cell overlap resolution |
| 4.3 Placement-Driven Timing | Pre-CTS timing estimation, wireload models |
| 4.4 Congestion Analysis | Routing congestion heatmaps, congestion overflow diagnostics |
| 4.5 Placement Configuration | Target placement density tuning, iterative placement adjustments |
Module 5: Clock Tree Synthesis
This module explains low-skew clock distribution across sequential cells, tree topologies, and hold timing resolution.
| Section | Topics |
|---|---|
| 5.1 The Clock Distribution Problem | Clock skew, insertion delay, clock latency |
| 5.2 Clock Tree Topologies | H-tree networks, clock mesh routing, buffer insertion |
| 5.3 CTS Algorithms | TritonCTS operation, skew optimization |
| 5.4 Post-CTS Timing | Post-CTS timing analysis, hold violation repair |
| 5.5 Clock Gating & CTS | Clock gating cell placement and skew balancing |
Module 6: Routing
This module covers global routing, detailed track routing, metal layers, design rules, and congestion resolution.
| Section | Topics |
|---|---|
| 6.1 Global Routing | Routing grid discretization, SKY130 metal stack allocation |
| 6.2 Detailed Routing | TritonRoute detailed routing, DRC violation resolution |
| 6.3 SKY130 Routing Rules | Metal spacing, minimum width, via generation, antenna rules |
| 6.4 Special Net Routing | Power, ground, and clock net shielding |
| 6.5 Routability & Iteration | Resolving routing congestion and unrouted nets |
Module 7: Timing Closure & Static Timing Analysis
This module covers parasitic extraction, multi-corner Static Timing Analysis (STA), and Engineering Change Order (ECO) timing fixes.
| Section | Topics |
|---|---|
| 7.1 STA Fundamentals | Setup and hold timing verification using extracted wire parasitics |
| 7.2 Parasitic Extraction | Standard Parasitic Exchange Format (SPEF) generation and analysis |
| 7.3 OpenSTA in OpenLane | Multi-corner multi-mode (MCMM) timing reports |
| 7.4 Fixing Timing Violations | Buffer insertion, gate sizing, ECO netlist modification |
| 7.5 Signoff Timing | Signoff corner validation across process, voltage, and temperature (PVT) |
Module 8: Physical Verification
This module teaches geometric and electrical rule verification to validate layout integrity before fabrication.
| Section | Topics |
|---|---|
| 8.1 Design Rule Checking (DRC) | Magic DRC verification, geometric violation repair |
| 8.2 Layout vs. Schematic (LVS) | Netgen LVS extraction, device and net mismatch debugging |
| 8.3 Antenna Rules | Plasma-induced gate oxide damage checks, antenna diode insertion |
| 8.4 Electrical Checks & IR Drop | Static and dynamic IR drop verification, electromigration analysis |
| 8.5 Fill Insertion | Metal and diffusion fill generation, layer density compliance |
Module 9: GDSII Generation and Tapeout
This module explains GDSII stream generation, independent layout validation, and tapeout procedures.
| Section | Topics |
|---|---|
| 9.1 GDSII Streaming | Layout database export, GDSII layer map inspection |
| 9.2 KLayout Review | Independent layout verification, cross-probing netlists |
| 9.3 Signoff Checklist | Final design signoff documentation and validation reports |
| 9.4 Semiconductor Fabrication | Open shuttle programs, photomask generation, wafer processing |
| 9.5 Design for Manufacturability (DFM) | Semiconductor yield, process variation, manufacturing margins |
Module 10: Capstone Projects
This module contains five physical design capstone projects from netlist synthesis to signed-off GDSII layout.
| Project | Focus |
|---|---|
| Project 1: Combinational ALU | Complete flow execution on combinational logic without clock trees or macros |
| Project 2: UART Controller | Clock tree synthesis and timing closure on a sequential design |
| Project 3: SRAM Macro Integration | Macro placement, power routing, and blockage planning |
| Project 4: Full-Chip RISC Core | Complete ASIC implementation of a pipelined processor core |
| Project 5: Flow Debugging | Diagnosing and resolving simulated DRC, LVS, and timing errors |
To begin the course, navigate to From RTL to Silicon.