Fixing a Real Routing Failure
This capstone article completes Module 6 by examining a failure and repair cycle on the UART design. We intentionally increase placement density to create routing congestion. We then diagnose the failure using violation reports, correct the placement configuration, and verify clean routing closure.
Inducing a Placement Bottleneck
Modify designs/uart/config.json to increase target density from 0.50 to 0.85:
{
"DESIGN_NAME": "uart",
"PL_TARGET_DENSITY": 0.85,
"CLOCK_PORT": "clk",
"CLOCK_PERIOD": "20.0",
"RT_MIN_LAYER": "met1",
"RT_MAX_LAYER": "met4"
}
A target density of 0.85 forces standard cells into dense physical clusters. Execute placement, CTS, and routing:
% prep -design uart -tag routing_run_overdense
% run_placement
% run_cts
% run_routing
Observing the Routing Failure
The resulting routing summary shows persistent routing failure:
====== Global Routing Summary ======
Nets with overflow: 6
Peak overflow (any edge): 4
====== Detailed Routing Summary ======
Initial violations (iteration 0): 340
Final violations: 22
Rip-up/reroute iterations used: 64 (of 64 available)
Unrouted nets: 4
Routing DRC violations: 22
Run status: ROUTING COMPLETE - VIOLATIONS PRESENT
Detailed routing consumed all 64 iterations, leaving 22 DRC violations and 4 unrouted nets. The error records cluster tightly around coordinate $(118.0, 176.0)\ \mu\text{m}$ to $(142.0, 182.0)\ \mu\text{m}$:
[VIOLATION 1] Type: Short Layer: met2 Location: (118400,176200)-(118900,176200)
[VIOLATION 2] Type: MinSpacing Layer: met3 Location: (140100,182000)
[VIOLATION 3] Type: Unrouted Net: parity_check Reason: No legal path within congestion bounds
...
[VIOLATION 14] Type: MinSpacing Layer: met2 Location: (121800,179400)
Diagnosing the Congestion Hotspot
Inspect the global routing congestion map. The map displays a localized red congestion hotspot centered on the parity checking standard cells. Surrounding floorplan areas show low track utilization.
This localized concentration confirms a placement density problem. The core dimensions provide adequate global routing resources. However, high local cell density exhausts available routing tracks in this region.
Correcting Placement Configuration
Resolve the bottleneck by reducing placement target density and adding cell padding:
{
"PL_TARGET_DENSITY": 0.52,
"CELL_PAD": 2
}
Setting PL_TARGET_DENSITY to 0.52 distributes cells more evenly across the core. Adding CELL_PAD: 2 inserts two site widths of horizontal padding around each cell, guaranteeing routing tracks for pin access.
Verifying Clean Routing Closure
Rerun the physical design flow with the corrected placement configuration:
% prep -design uart -tag routing_run_fixed
% run_placement
% run_cts
% run_routing
Review the final routing summary report:
====== Global Routing Summary ======
Nets with overflow: 0
Peak overflow (any edge): 0
====== Detailed Routing Summary ======
Initial violations (iteration 0): 61
Final violations: 0
Rip-up/reroute iterations used: 4 (of 64 available)
Unrouted nets: 0
Routing DRC violations: 0
Run status: ROUTING COMPLETE - CLEAN
Global routing achieves zero overflow. Detailed routing starts with only 61 initial conflicts and converges to zero violations in 4 iterations. The design contains 0 unrouted nets and 0 routing DRC violations.
Practice Exercise
Assume that reducing PL_TARGET_DENSITY to 0.52 without CELL_PAD leaves 2 unrouted nets in the parity logic cluster. Explain what this result indicates and determine the next corrective action.
Solution
This result indicates that global density reduction provided general relief, but localized pin density remains too high around the parity logic.
The engineer should add CELL_PAD: 2 or apply a localized placement padding constraint. This inserts horizontal whitespace between clustered cells, providing the necessary tracks to complete the remaining connections.
The UART design is fully routed and design-rule clean. Module 7 introduces static timing analysis and signoff closure using extracted physical wire parasitics.