Legal but Unroutable
Legalization verifies only two physical criteria: all standard cells occupy valid row sites, and no two cells overlap. Legalization does not evaluate interconnect wire tracks or metal routing resources. Therefore, a placement can be completely legal while remaining unroutable. Evaluating routability requires congestion analysis before proceeding to detailed routing.
The Mechanism of Routing Congestion
Consider a dense cluster of multiplexers or address decoders. Standard cell instances sit side by side on valid row sites with zero overlaps. The placement engine reports complete legality. However, wide decoders and multiplexers require extensive pin interconnects across their perimeter. If the number of signal nets crossing a GCell boundary exceeds available metal tracks, routing fails.
Figure 1 illustrates a legal cell placement that exceeds routing capacity.
When a router encounters this congestion during Module 6, two problems occur:
- Detour routing: The router diverts interconnects through adjacent areas, increasing wire length and creating timing violations.
- Unrouted nets: The router runs out of available tracks, resulting in open nets and design rule spacing errors.
Calculating Routing Overflow
In alu8, an opcode decoder region requires 40 interconnect nets to cross a GCell boundary on met2.
The layer provides 32 physical tracks across that boundary.
Calculate percentage overflow:
$$\text{Overflow} = \frac{\text{Demand} - \text{Capacity}}{\text{Capacity}} \times 100% = \frac{40 - 32}{32} \times 100% = 25%$$
The boundary is oversubscribed by 25 percent.
Eight nets cannot route across the designated boundary on met2.
This condition creates DRC violations during detailed routing unless cell density is reduced.
High-fanout logic structures like wide case statements often cause localized routing congestion.
Detecting congestion at placement prevents wasted runtime during subsequent clock tree synthesis and routing stages.
Practice Exercise
A boundary on met1 has 60 available tracks and a demand of 55 nets.
A boundary on met3 has 20 available tracks and a demand of 28 nets.
Calculate the overflow percentage for each boundary and identify the routing risk.
Solution
Boundary on met1:
$$\text{Overflow} = \frac{55 - 60}{60} \times 100% = -8.33%$$
Negative overflow indicates surplus routing capacity.
Boundary on met3:
$$\text{Overflow} = \frac{28 - 20}{20} \times 100% = +40%$$
Demand exceeds capacity by 40 percent.
The met3 boundary presents severe routing risk.
Congestion analysis must evaluate track capacity per metal layer and per spatial region.
The next article generates an OpenROAD congestion heatmap and evaluates global routing metrics.