Tuning a Real Design to Convergence
This article completes Module 4 by executing the placement tuning loop on alu8.
We evaluate an intentionally over-congested starting configuration and tune it down to achieve convergence.
Iteration 1: Over-Aggressive Density Target
We set PL_TARGET_DENSITY to 0.75, which exceeds the recommended baseline of 0.55 for FP_CORE_UTIL = 45:
% prep -design alu8 -tag placement_tune_v1
% set ::env(PL_TARGET_DENSITY) 0.75
% run_placement
Global routing produces the following congestion report:
Layer Resource Demand Usage(%) H overflow V overflow
li1 3840 3690 96.1% 5 2
met1 5120 5210 101.8% 3 8
met2 5120 6042 118.0% 2 14
met3 2560 2380 93.0% 0 1
[WARNING GRT-0019] Overflow found on layer met1: 11 GCell edges.
[WARNING GRT-0019] Overflow found on layer met2: 16 GCell edges.
[INFO GRT-0020] Total design overflow: 27 GCell edges (0.19% of all edges).
Pre-CTS static timing analysis reports setup timing violations:
18.62 18.62 data arrival time
19.85 19.85 data required time
-----------------------------------------------
-0.42 slack (VIOLATED)
Layers met1 and met2 exceed capacity, exhibiting 27 overflowing GCell edges.
The critical path violates setup timing by -0.42 ns under an ideal clock.
Packing cells to 75% local density creates severe routing bottlenecks and forces large legalization displacements.
Iteration 2: Parameter Adjustment
We apply the tuning loop and adjust exactly one parameter: PL_TARGET_DENSITY decreases from 0.75 to 0.55.
% prep -design alu8 -tag placement_tune_v2
% set ::env(PL_TARGET_DENSITY) 0.55
% run_placement
Revised congestion report:
Layer Resource Demand Usage(%) H overflow V overflow
li1 3840 3512 91.5% 0 0
met1 5120 4877 95.3% 0 0
met2 5120 4864 95.0% 0 0
met3 2560 2190 85.5% 0 0
[INFO GRT-0020] Total design overflow: 0 GCell edges (0.00% of all edges).
Revised pre-CTS static timing analysis:
17.94 17.94 data arrival time
19.85 19.85 data required time
-----------------------------------------------
1.91 slack (MET)
All routing layers operate below 100% capacity with zero overflowing edges. The critical timing path recovers from a -0.42 ns violation to +1.91 ns of positive setup slack.
Quantitative Comparison and Trade-Offs
The table compares both configurations:
| Metric | v1 (density 0.75) | v2 (density 0.55) |
|---|---|---|
met1 usage |
101.8% (overflow) | 95.3% |
met2 usage |
118.0% (overflow) | 95.0% |
| Total overflow edges | 27 | 0 |
| Worst pre-CTS slack | -0.42 ns (VIOLATED) | +1.91 ns (MET) |
| Total HPWL | 782,150 dbu | 818,210 dbu |
| Max legalisation displacement | 612 dbu | 38.5 dbu |
Figure 1 illustrates the comparative metrics across both iterations.
Iteration v1 produced lower total wire length (782,150 dbu vs. 818,210 dbu). However, it introduced 27 overflow edges, a -0.42 ns timing violation, and high legalization displacements. Iteration v2 accepts a 4.6% increase in HPWL to achieve a fully routable, timing-clean placement. Minimizing wire length is secondary to achieving physical legality, routability, and timing closure.
Practice Exercise
An engineer recommends deploying configuration v1 because it achieves lower total wire length (HPWL). Explain why this recommendation is invalid based on the reported metrics.
Solution
Configuration v1 fails both routability and timing constraints.
It contains 27 overflowing GCell edges on met1 and met2, which will cause detailed routing failures.
Furthermore, it exhibits a -0.42 ns setup violation that will worsen once real clock skew is introduced in Module 5.
A 4.6% reduction in wire length cannot justify an unroutable design with timing violations.
This concludes Module 4. The placement layout is legal, routable, and timing-compliant under an ideal clock. Module 5 synthesizes the physical clock distribution network to replace ideal clock assumptions with real clock trees.