Module 10: Capstone Projects · Project 2: UART Sequential Flow

Project 2, Part 3: Physical Verification and Retrospective

In the previous article, we inserted an ECO delay buffer after clock tree synthesis to resolve a hold violation. This engineering change order adds physical standard cell geometry and modifies netlist connectivity. In this article, we execute the physical signoff verification suite on uart_top and evaluate post-ECO LVS compliance.

Design Rule Checking (DRC)

Execute Magic DRC on the final generated layout runs/uart_run1/final/gds/uart_top.gds:

COUNT: 0

The layout passes DRC with zero errors. At 45% core utilization, routing channels absorb the inserted buffer cell without violating geometric design rules.

Layout Versus Schematic (LVS)

Extract physical devices from the layout and compare connectivity against the post-ECO structural netlist:

netgen -batch lvs \
  "uart_top_extracted.spice uart_top" \
  "runs/uart_run1/final/pnl/uart_top.pnl.v uart_top" \
  "$PDK_ROOT/sky130A/libs.tech/netgen/sky130A_setup.tcl" \
  lvs_uart.report
Final result: Circuits match uniquely.

The inserted hold buffer exists in both the physical GDSII layout and the structural Verilog netlist (uart_top.pnl.v). Because OpenROAD inserted the buffer directly into the unified design database before detailed routing and netlist export, layout and schematic remain synchronized.

Never add ECO cells or wires directly into a GDSII layout without back-annotating changes into the netlist. Modifying geometry independently of the netlist causes LVS extraction to flag mismatched instances.

Antenna and Multi-Corner Timing Signoff

Antenna: 0 violating nets
Worst setup slack, all corners: +1.02 ns (ss)
Worst hold slack, all corners:  +0.05 ns (ff)

All antenna ratios pass foundry limits. Multi-corner timing confirms timing closure with positive margins across all PVT corners.

Capstone Signoff Summary

Table 1 summarizes signoff metrics for Project 2:

Verification Gate Result Evaluation
Logic Synthesis 431 cells, 62 flip-flops PASS
Clock Tree Synthesis 62 sinks, 9 buffers, 142 ps skew PASS
Post-CTS Hold Repair 1 violation detected, resolved with 1 buffer PASS (ECO verified)
Detailed Routing 0 violations PASS
Geometric DRC (Magic, KLayout) 0 violations PASS
Physical LVS (Netgen) Unique netlist match PASS (includes ECO buffer)
Antenna Rules 0 violating nets PASS
Worst Setup Slack (All Corners) +1.02 ns at ss_100C_1v60 PASS
Worst Hold Slack (All Corners) +0.05 ns at ff_n40C_1v95 PASS
GDSII Deliverable runs/uart_run1/final/gds/uart_top.gds Verified

Unlike Project 1, this report documents a physical timing violation detected, analyzed, and repaired during implementation.

Retrospective: Sequential Circuits and Hold-Time Races

Project 2 demonstrates the fundamental physical challenges introduced by sequential clock trees. Hold violations occur when new data arrives at a flip-flop before the preceding data’s hold-time window closes. A hold failure requires three concurrent conditions:

  1. Physically Adjacent Registers: Placed flip-flops share a short interconnect path with minimal logic delay.
  2. Non-Uniform Clock Skew: TritonCTS balances clock paths across the entire die, but local clock arrival times at adjacent sinks vary.
  3. Short Combinational Propagation: Data transitions propagate faster than the clock skew differential.

Purely combinational blocks (such as Project 1) cannot produce hold violations because they contain no synchronous clock trees. In sequential designs, hold-time closure represents an essential physical verification gate.

Practice Exercise

Project 1’s signoff matrix listed the CTS gate as “Not Applicable”. If an engineer proposed recording “0 violations” for CTS in Project 1, explain why that entry is inaccurate and misleading.

Solution

The entry “0 violations” implies that clock tree synthesis executed and passed all verification checks without errors.

In Project 1, the design contained no clock nets, and the flow bypassed CTS completely. Recording “0 violations” creates false confidence by obscuring the fact that clock tree synthesis was omitted. Accurate signoff documentation distinguishes explicitly between “verified clean” and “unverified / not applicable”.

Project 2 successfully resolved sequential clocking and hold timing. Project 3 introduces hard macro integration, exploring floorplanning, routing blockages, and verification around an embedded SRAM macro.

← Project 2, Part 2: CTS and Timing Closure Project 3, Part 1: Integrating a Hardened Macro →