Project 5, Part 2: Diagnosing Each Violation From the Reports Alone
The previous article gathered diagnostic evidence from three failing reports. This article traces each reported symptom back to its physical cause. Two of the three failures share an identical root cause. In physical design, an uncontrolled manual modification outside the automated flow frequently introduces multiple secondary defects.
The DRC Violation
When you evaluate a DRC violation, first verify whether the issue involves placement legality or routing geometry. You can verify placement legality quickly:
% check_placement -verbose
The tool reports zero cell overlaps and zero site violations. The defect exists in the routing geometry rather than the standard cell placement.
Examine the physical routing characteristics. The detailed router routes wires along track grids, inserting jogs and layer transitions to maintain clearances. When an automated routing run leaves a DRC violation, the router log records a near miss near an obstacle. In this run, the detailed router log reported zero violations.
The presence of an unreported, straight wire spacing violation of 0.11 µm indicates a manual layout edit. An engineer or external script added this wire directly after detailed routing. The edit bypassed DRC spacing checks against the adjacent tx_busy net.
Cause: Net rx_valid_fix_net was drawn into the routed layout manually after detailed routing. The edit omitted spacing checks against the adjacent wire.
The LVS Mismatch
Module 8.2 established the diagnostic signatures of LVS mismatches. When a layout contains an extra instance and an extra pin on an existing net, a physical edit was made without updating the reference netlist.
The instance name _eco_buf_9 does not match automated Yosys or OpenROAD naming conventions. This identifier represents a manual engineering change order (ECO). The extra pin on net rx_valid confirms that an engineer spliced a physical buffer onto that net. The buffer input connects to rx_valid, while its output drives the newly created net rx_valid_fix_net.
Cause: An engineer inserted buffer _eco_buf_9 manually into the routed layout on net rx_valid. The engineer did not update the structural netlist.
Comparing both diagnostic conclusions reveals a single physical event. Net rx_valid_fix_net connects the output of buffer _eco_buf_9 to its load. DRC detected the incorrect metal spacing of the manual route. LVS detected the discrepancy between the modified layout and the original netlist. Figure 1 illustrates the root causes behind all three diagnostic reports.
Compare this failure with Project 2. In Project 2, the automated resizer inserted hold buffers, the detailed router routed the connections, and OpenLane exported an updated netlist. In this project, an engineer performed manual edits outside the flow, which caused both signoff checks to fail.
The Timing Violation
The timing failure is independent of the layout ECO. The diagnostic evidence appears in the fanout column of the STA report. The path violates setup timing only at the slow corner, while passing easily at typical and fast corners. This behavior indicates a path dominated by capacitive load. A weak cell driving a large capacitive load degrades rapidly at slow process and temperature corners.
The fanout of 42 on register baud_tick_reg explains this delay. Signal baud_tick enables the transmitter shift register, bit counter, and control logic across the chip. A standard OpenLane flow buffers high-fanout nets during post-placement optimization. The configuration file explains why buffering did not occur:
grep -nE "FANOUT|DESIGN_REPAIR" designs/uart/config.json
12: "MAX_FANOUT_CONSTRAINT": 64,
13: "RUN_POST_GPL_DESIGN_REPAIR": false,
The configuration relaxed the maximum fanout constraint to 64 and disabled post-placement design repair. Consequently, the flow did not insert buffer trees on net baud_tick. The net reached signoff as a single weak flip-flop driving 42 loads and long routing wires.
Cause: The configuration increased the maximum fanout limit and disabled post-placement design repair. Signal baud_tick remained unbuffered, which caused severe setup violations at the slow corner.
Engineers must not assume that three failing reports require three separate fixes. While the timing issue is distinct, the DRC and LVS failures share an identical root cause. Identifying common failure mechanisms early reduces debugging effort and clarifies physical root causes.
Practice Exercise
Suppose the LVS report showed the opposite mismatch. The structural netlist contains an extra instance and an extra pin on net rx_valid, but the layout does not. Does this observation support a manual layout edit?
Solution
No. This pattern indicates an edit to the logical netlist rather than the physical layout. An engineer added an instance to the netlist or RTL code after layout completion without re-running physical synthesis and place-and-route. Alternatively, the verification script used a layout from an older flow run.
The direction of an LVS discrepancy provides critical diagnostic context. The domain containing the extra elements represents the side modified more recently. This diagnostic rule indicates whether to search for untracked physical layout edits or unrouted netlist changes.
All three root causes are now established. A manual layout edit caused both the DRC and LVS violations. An improper configuration setting disabled buffer tree synthesis and created the setup timing violation. The next article resolves each issue at its source, executes signoff validation, and summarizes core physical design disciplines.