The Tuning Loop
Physical design requires structured iteration rather than single-pass execution. Engineers adjust layout variables iteratively based on quantitative reports. This article defines the placement tuning loop.
The Iterative Placement Loop
The tuning workflow follows four discrete steps:
- Execute placement using an initial
PL_TARGET_DENSITYsetting. - Evaluate routing congestion using global routing estimation.
- Evaluate setup timing slack using static timing analysis.
- If congestion and timing meet targets, proceed to Module 5. If either metric fails, adjust exactly one parameter and return to step 1.
Figure 1 illustrates the iterative feedback loop.
Adjusting only one variable per iteration is critical. Modifying multiple parameters simultaneously prevents you from identifying which change improved or degraded results. Isolating variables ensures clear cause-and-effect attribution.
Application Across Physical Design Stages
This iterative procedure applies across all physical implementation stages:
- Module 5 (CTS): Run clock tree synthesis, evaluate skew and hold slack, modify buffer selection, and rerun.
- Module 6 (Routing): Execute detailed routing, check DRC violations and unrouted nets, adjust routing constraints, and rerun.
- Module 7 (Timing Closure): Perform signoff static timing analysis, evaluate multi-corner slack, apply Engineering Change Orders (ECOs), and rerun.
Initial placement failures provide actionable diagnostic data. Reports identify whether design adjustments require density tuning, floorplan modification, or logic restructuring.
Analyzing a Multi-Iteration Log
Consider a design evaluated across four iterations where only PL_TARGET_DENSITY varies:
| Iteration | PL_TARGET_DENSITY | Worst met2 overflow | Worst pre-CTS slack |
|---|---|---|---|
| 1 | 0.75 | 18% | -0.42 ns (fails) |
| 2 | 0.65 | 11% | -0.10 ns (fails) |
| 3 | 0.58 | 3% | +0.12 ns (passes) |
| 4 | 0.55 | 0% | +0.38 ns (passes) |
Iteration 1 and 2 fail setup timing and exhibit severe routing overflow. Iteration 3 passes both criteria with minimal margin. Iteration 4 represents the optimal termination point: zero routing overflow and +0.38 ns of positive slack. The additional margin in iteration 4 protects against clock skew introduced in Module 5.
Practice Exercise
Iteration 5 tests PL_TARGET_DENSITY = 0.50, reporting 0% overflow and +0.41 ns slack.
Evaluate whether an engineer should adopt Iteration 5.
Solution
Adopting Iteration 5 is generally unnecessary. The slack improvement from +0.38 ns to +0.41 ns is minimal, and overflow is already zero. Furthermore, lowering target density disperses cells across the core, increasing total interconnect wire length (HPWL). Diminishing timing returns combined with increased wire length indicate that optimization has completed.
The next article applies this tuning workflow to resolve congestion and timing violations in alu8.