The Routing Grid
At the start of routing, all standard cells and clock buffers have legal physical coordinates. However, no physical signal wires exist. The design database represents connections as straight-line net flylines between pins.
Routing converts thousands of logical nets into design-rule-clean physical metal geometries. Finding exact tracks and vias for all nets simultaneously is computationally expensive. Therefore, physical design engines divide interconnect synthesis into two stages: global routing followed by detailed routing. This article examines global routing.
Global Routing Principles
Global routing plans coarse interconnect paths across the floorplan. FastRoute, the OpenROAD global routing engine, overlays the core area with a grid of rectangular tiles called GCells. A single GCell typically spans tens of track pitches.
The global router assigns each net to an ordered sequence of GCells. It calculates the number of metal tracks required across each GCell boundary. Global routing does not assign exact wire coordinates or insert physical vias. This abstraction allows the engine to optimize global wire density quickly across the entire chip.
Routing Capacity, Demand, and Congestion
Each boundary between adjacent GCells has a defined routing capacity. Capacity represents the maximum number of tracks available across all enabled routing layers. Fixed geometries, such as power grid stripes and macro obstruction layers, reduce available capacity.
The router measures routing demand by counting the nets crossing each boundary. When demand exceeds capacity, the boundary experiences congestion and reports positive overflow:
$$\text{Overflow} = \max(0, \text{Demand} - \text{Capacity})$$
Zero overflow across all GCells indicates that the design has sufficient routing resources. Persistent overflow indicates that local cell density exceeds available metal tracks. If congestion persists after rerouting passes, engineers must adjust placement density or floorplan dimensions before detailed routing.
Routing Path Selection
Figure 1 illustrates route selection on a 3x3 GCell grid where the middle row has restricted capacity. Net A connects row 0, column 0 to row 2, column 2. The router guides Net A horizontally through row 0 before crossing the congested row vertically in column 2. This route consumes only one track in the congested region.
Net B connects vertically across the congested middle row. Because source and destination pins align vertically, Net B must cross the middle row directly. If multiple nets require similar vertical crossings, the boundary overflows. The router then reroutes nets through adjacent GCells to balance demand.
Practice Exercise
A GCell boundary provides a net capacity of 12 tracks after subtracting power strap blockages. The initial global routing pass assigns 15 nets across this boundary. The optimizer rips up two nets and reroutes them through an adjacent GCell. Calculate the final demand and determine if overflow persists.
Solution
Final demand is $15 - 2 = 13$ nets.
The boundary capacity is 12 tracks. Demand exceeds capacity by $13 - 12 = 1$ track. Congestion persists with an overflow of 1. The router must divert another net or increase layer capacity to resolve overflow.
GCell boundary capacities depend on the physical metal layers and design rules of the process. The next article examines the SkyWater 130nm metal stack and routing track assignments.