Wirelength, Congestion and Timing
Minimizing total wire length does not guarantee an optimal layout. An algorithm that optimizes only total wire length clusters cells into dense groups. These dense clusters exhaust local routing tracks and cause routing failures during detailed routing. Furthermore, unweighted optimization can lengthen critical timing paths while reducing non-critical interconnect lengths.
Wire length, routing congestion, and timing slack represent competing optimization objectives. Figure 1 illustrates how optimizing one metric can degrade the others.
Wire Length Versus Congestion
Total wire length decreases when connected cells cluster closely. However, every cell terminal requires physical routing access on a finite number of metal tracks. Concentrating many cells into a small area exceeds available routing capacity. The design exhibits low estimated wire length but becomes unroutable. Section 4.4 describes congestion analysis and mitigation techniques.
Wire Length Versus Timing Slack
A standard global placer minimizes total HPWL across all nets in the design. A critical timing path represents only a small fraction of the total netlist. The optimizer will lengthen a critical net if doing so shortens multiple non-critical nets. Without timing constraints, the placer treats all interconnects equally.
Timing-driven placement resolves this limitation. In OpenROAD, the global placer applies static timing analysis results to weight individual nets. Nets with low or negative slack receive higher multiplier weights $w_i$. The placement engine minimizes a weighted sum:
$$WL_{\text{weighted}} = \sum_i w_i \cdot \text{HPWL}_i$$
A critical net can receive a weight of 3.0 to 5.0, while non-critical nets retain a weight of 1.0. Higher weights force the optimization engine to place critical endpoints closer together.
Placement Conflict Example
Consider two flip-flops, op_reg and result_reg, along the most critical setup timing path.
Under unweighted wire length optimization, op_reg lands in the lower-left corner to satisfy connections to local logic.
Simultaneously, result_reg lands near the upper-right corner driven by wide control bus connections.
Total design wire length is minimized.
However, the critical path spans the full core diagonal, causing a timing violation.
Activating timing-driven placement increases the weight of the critical net and pulls op_reg and result_reg into proximity.
Practice Exercise
A design contains three nets: netA (weight 1.0, HPWL 8), netB (weight 1.0, HPWL 6), and netC (weight 1.0, HPWL 4).
Net netC represents the most critical timing path.
A candidate cell movement modifies the spans: netA becomes 6, netB remains 6, and netC increases to 6.
Both states exhibit a total unweighted HPWL of 18.
Assign a weight of 4.0 to netC and compute weighted costs before and after the move.
Determine whether a timing-driven placer accepts the move.
Solution
Calculate initial weighted cost: $$WL_{\text{initial}} = (1.0 \times 8) + (1.0 \times 6) + (4.0 \times 4) = 8 + 6 + 16 = 30$$
Calculate final weighted cost: $$WL_{\text{final}} = (1.0 \times 6) + (1.0 \times 6) + (4.0 \times 6) = 6 + 6 + 24 = 36$$
The weighted cost increases from 30 to 36 because the critical net lengthened. The timing-driven placer rejects the proposed move.
The next article examines the analytical placement algorithm used in OpenROAD’s RePlAce engine.