Project 3, Part 3: Signoff and Retrospective
In the previous article, detailed routing converged around the SRAM macro. Verifying a layout containing a pre-hardened macro introduces a new physical verification boundary. In Projects 1 and 2, every physical device was extracted from standard cell geometries. In Project 3, the macro contains thousands of internal transistors that were not generated by the synthesis flow. In this article, we examine black-box LVS verification, confirm power grid connections, and compile the signoff report.
Black-Box LVS Verification Across Macro Boundaries
Execute physical LVS comparison using Netgen:
netgen -batch lvs \
"sram_ctrl_extracted.spice sram_ctrl" \
"runs/sram_run1/final/pnl/sram_ctrl.pnl.v sram_ctrl" \
"$PDK_ROOT/sky130A/libs.tech/netgen/sky130A_setup.tcl" \
lvs_sram_ctrl.report
Inspect the LVS comparison log:
Circuit sky130_sram_2kbyte_1rw1r_32x512_8 contains no devices;
treating it as a black box.
...
Final result: Circuits match uniquely.
Netgen does not extract or compare the internal transistors of the SRAM macro. The extracted layout represents the macro as a subcircuit boundary with interface pins. The gate-level netlist contains only the black-box port list. Netgen treats the macro as a black box: it verifies that the macro instance exists in both views and that each external pin connects to the identical logical net in layout and schematic.
This defines the verification trust boundary. The IP provider or memory compiler verifies internal macro correctness. Top-level physical verification confirms correct topological integration of the macro pins into the chip interconnect.
Macro Power Grid Verification
The SRAM macro includes internal power distribution rings and supply pins (vccd1, vssd1). These pins must connect securely to top-level power nets. Verify power grid continuity in OpenROAD:
% check_power_grid -net VPWR
% check_power_grid -net VGND
Both queries report zero floating or unconnected power pins. Post-routing voltage drop analysis reports a maximum drop of 18.4 mV at the macro supply pins. This drop is higher than in Projects 1 and 2 because the large memory block draws significant current through supply straps along one edge. However, 18.4 mV remains well within the 90 mV total supply budget.
DRC, Antenna, and Streamout Merge
Magic DRC reports zero errors (COUNT: 0), and antenna analysis identifies zero violating nets. The final GDSII database (runs/sram_run1/final/gds/sram_ctrl.gds) merges the routed top-level interconnects with the macro’s internal mask geometries.
Capstone Signoff Summary
Table 1 summarizes signoff metrics for Project 3:
| Verification Gate | Result | Evaluation |
|---|---|---|
| Standard Cells | 152 cells (controller logic) | PASS |
| Hardened Macro | 1 macro: sky130_sram_2kbyte_1rw1r_32x512_8 at (180, 60), N |
PASS |
| Detailed Routing | 0 violations after 3 optimization passes | PASS |
| Geometric DRC (Magic, KLayout) | 0 violations | PASS |
| Physical LVS (Netgen) | Unique match (macro verified as black box) | PASS |
| Macro Supply Connections | Continuous power grid, all pins connected | PASS |
| Worst Voltage Drop at Macro | 18.4 mV on VPWR (budget 90 mV) |
PASS |
| Antenna Rules | 0 violating nets | PASS |
| GDSII Streamout Deliverable | runs/sram_run1/final/gds/sram_ctrl.gds (merged layout) |
Verified |
Retrospective: Methodological Shifts with Embedded Macros
Integrating hardened macros alters three fundamental physical design disciplines:
- Floorplanning Driven by External Constraints: Macro dimensions, aspect ratios, and pin perimeters are fixed parameters. Designers must adapt floorplan orientations, placement halos, and power straps to accommodate the macro.
- Localized Pin Access Bottlenecks: Macro perimeters create concentrated routing demand. Bus interconnects funnel through fixed channels, requiring deliberate halo sizing to prevent detailed routing non-convergence.
- Black-Box Verification Boundaries: LVS validates interface pin mapping rather than internal transistor geometries. System integrators rely on vendor IP qualification for internal macro robustness.
Most modern system-on-chip (SoC) designs incorporate embedded macros: SRAM arrays, ROM blocks, PLLs, and analog PHY interfaces. Managing macro boundaries represents a core competency in physical design.
Practice Exercise
A memory compiler vendor issues an updated Liberty timing model for this SRAM macro specifying slightly increased read access times. The physical LEF and GDSII databases remain unchanged. Which verification gates must be re-executed, and which remain valid?
Solution
Physical verification results remain valid: DRC, detailed routing, LVS, antenna analysis, and power grid continuity do not change because physical layout geometries (LEF and GDSII) were not altered.
Multi-corner static timing analysis must be re-executed across all corners. Memory access times define critical paths from the clock edge to output data buses (dout0). Increased access times reduce available setup slack on downstream registers. If existing paths have positive slack margins, the design passes timing closure; if slack was marginal, the updated Liberty file will cause setup timing violations.
Project 3 demonstrated hardened macro floorplanning and black-box verification. Project 4 presents the complete RISC processor core capstone, combining large gate counts, tight timing constraints, and full-chip routing.