Project 5, Part 3: Fixes and Lessons Learned
The previous article linked three failing reports to two distinct root causes. The implementation method for each repair requires careful discipline. Superficial changes can eliminate warning messages without resolving actual physical design defects. This article examines incorrect repair approaches before executing proper flow-based solutions.
Fix One: The Manual ECO (DRC and LVS)
Two incorrect approaches are common when addressing these violations. First, an engineer might move the hand-drawn wire until spacing exceeds 0.14 µm. This edit clears the DRC report, but the wire remains untracked by the router and the LVS mismatch persists. Second, an engineer might delete buffer _eco_buf_9 to equalize instance counts. This action clears the LVS report, but it removes an intended hold-time fix.
The correct methodology implements the repair within the automated flow. This approach synchronizes the structural netlist, cell placement, and wire routing.
- Discard the manual layout modifications. Return to the clean routed database produced before manual buffer insertion.
- Verify the timing requirement for the hold buffer. Execute post-CTS timing analysis at the fast process corner. The path into register
rx_validexhibits −0.021 ns of hold slack, which confirms that a timing repair is required. - Enable automated post-CTS timing repair and restart execution from clock tree synthesis. The resizer inserts a hold buffer, the detailed router establishes legal clearances, and OpenLane generates a matching structural netlist.
Execute the flow from clock tree synthesis using the updated configuration:
openlane --flow Classic --run-tag uart_fixed --from OpenROAD.CTS designs/uart/config.json
Magic checks the new GDSII layout and reports clean results:
COUNT: 0
Netgen executes LVS against the updated signoff netlist:
Final result: Circuits match uniquely.
The hold buffer remains present in the design. The detailed router connected the buffer legally, and the structural netlist contains matching instances. All physical modifications must proceed through the flow database to maintain signoff integrity.
If an engineering team must apply a manual layout edit, execute the change directly within the OpenROAD database. Route the modified nets using the detailed router. Finally, export a new gate-level netlist using write_verilog before running LVS verification.
Fix Two: High-Fanout Buffering
An incorrect repair inserts manual buffers on net baud_tick while leaving the configuration file unchanged. That manual edit resolves the local path, but it permits identical violations on future runs. The correct fix restores proper fanout constraints and automated design repair:
"MAX_FANOUT_CONSTRAINT": 10,
"RUN_POST_GPL_DESIGN_REPAIR": true
Restart execution from standard cell placement. The design repair stage constructs an optimized buffer tree for signal baud_tick. Each inserted buffer drives approximately ten logic loads. Multi-corner static timing analysis confirms setup and hold timing across all operating corners:
| Corner | Worst setup slack | Worst hold slack |
|---|---|---|
tt_025C_1v80 |
+2.31 ns | +0.16 ns |
ss_100C_1v60 |
+0.44 ns | +0.09 ns |
ff_n40C_1v95 |
+3.02 ns | +0.05 ns |
All three operating corners pass timing constraints. The slow corner shows the greatest timing improvement. The driving flip-flop now drives two local buffers instead of 42 loads and long interconnect wires.
Final Signoff Verification
After completing both repairs, inspect the comprehensive signoff summary:
DRC (Magic): COUNT: 0
LVS: Circuits match uniquely
Antenna: 0 violating nets
Setup, all corners: worst +0.44 ns (ss)
Hold, all corners: worst +0.05 ns (ff)
GDS: runs/uart_fixed/final/gds/uart_top.gds
All failing signoff checks now pass with positive margin. Furthermore, previously passing metrics maintain their integrity. Full re-verification ensures that local modifications do not introduce unintended side effects in adjacent logic paths.
These failure modes represent common challenges in production silicon tapeouts. Manual geometry edits, netlist drift, and relaxed fanout constraints appear frequently in post-tapeout analyses. These failures usually originate when engineers execute manual shortcuts outside the automated verification flow.
Core Engineering Habits for Physical Design
This capstone project concludes the physical design curriculum. Success in ASIC design relies on disciplined habits across each stage:
- Synthesis and Constraints: Define all clocks, I/O timing, and physical constraints explicitly. Synthesis tools ignore unconstrained paths and unconstrained fanouts.
- Floorplanning: Establish die boundaries, core utilization, macro placement, and power grids early. Downstream placement and routing algorithms cannot compensate for an inadequate floorplan.
- Placement: Monitor local routing congestion in addition to global cell density. Low average utilization can obscure severe local routing hot spots.
- Clock Tree Synthesis: Verify hold timing immediately after building physical clock trees. Realistic clock skew reveals hold violations that do not appear under ideal clock assumptions.
- Routing: Rely on automated detailed routers to maintain design rule clearances. Manual routing edits introduce undetected spacing and overlap violations.
- Timing Closure: Verify timing paths across all operational corners. Typical corner closure does not guarantee slow-corner setup or fast-corner hold compliance.
- Physical Verification: Treat DRC, LVS, and static timing analysis as complementary views of a single design. Single physical errors frequently manifest across multiple verification reports.
- Signoff Integrity: Prevent synchronization drift between physical layout and logical netlists. Every design modification must reflect in both domains before signoff approval.
Practice Exercise
Which of the eight engineering habits provides the greatest prevention capability before errors reach verification reports? Provide technical justification.
Solution
Explicit constraint definition provides the strongest preventative capability. It enforces design parameters before downstream physical implementation stages run. If the design maintained default fanout limits and repair settings, the timing violation would not have occurred.
Most other engineering habits detect errors after earlier decisions create defects. Checking congestion, evaluating post-CTS hold timing, and running multi-corner STA catch existing design flaws. Explicit constraint management prevents errors from occurring.
Both preventative and detective practices are essential in physical design flows. However, early constraint specification provides the greatest engineering leverage.
Every injected defect was identified, traced to its root cause, and corrected through automated flow mechanisms. This completes Project 5, Module 10, and the physical design course. The curriculum started with RTL specifications and concluded with signoff-verified GDSII databases. These disciplined engineering practices ensure repeatable success across complex ASIC implementation flows.