Home / Learn / Chip Design / Place and Route Explained
On this page
Where it sitsPlacementWhat placement tries to achieveOptimization during placementRoutingWhat routing has to satisfyCongestionAfter routingChallenges on advanced processesMeasuring the resultCommon questionsRelated guidesPlace and Route Explained
Place and route is the stage of chip design that positions every logic gate on the chip and connects them with metal wires. Placement decides where each cell goes. Routing draws the wires between them across many metal layers. The tools do this for millions or billions of cells while trying to meet timing, keep power down and obey the manufacturer’s rules.
Where it sits
Place and route follows floorplanning, which positions the large blocks and sets up the power grid. It works on the standard cells: the small logic gates and flip-flops that make up most of the chip’s logic. Clock tree synthesis happens between placement and routing.
Placement
Standard cells all have the same height, so they are arranged in rows, like text on a page. The placer decides which cell goes where.
It works in stages.
- Global placement. Cells are spread across the available area in roughly the right positions. They may overlap at this point. The aim is to minimize total wire length while avoiding crowded regions.
- Legalization. Cells are snapped into legal positions on the rows, with overlaps removed.
- Detailed placement. Small local moves and swaps improve the result.
What placement tries to achieve
- Short wires. Connected cells should be close together.
- Timing. Cells on critical paths get priority for good positions.
- Routability. No area should need more wires than the routing layers above it can carry.
- Even density. Space is left for the buffers that later steps will add.
- Low power. Wires that switch frequently are kept short.
These goals compete. Packing related cells tightly shortens wires but can create congestion.
Optimization during placement
Placement is not only about position. The tool also changes the netlist as it goes.
- Resizing gates. A stronger version of a gate drives a long wire faster.
- Inserting buffers. Long wires are broken into shorter segments.
- Restructuring logic on slow paths.
- Swapping cell types between fast, leaky versions and slow, low-power ones.
Routing
Once cells and the clock network are in place, the router creates the wiring. A modern chip has many metal layers stacked above the transistors. Lower layers are thin and closely spaced, suited to short local connections. Upper layers are thicker and faster, used for long connections, clocks and power.
Wires on a given layer run mostly in one direction, alternating between horizontal and vertical from layer to layer. Vertical connections between layers are called vias.
Routing is done in steps.
- Global routing. The chip is divided into a coarse grid, and each connection is assigned a general path through it. This reveals where congestion will occur.
- Track assignment. Wires are assigned to specific tracks.
- Detailed routing. Exact wire shapes and vias are created, following the design rules.
- Search and repair. Remaining rule violations are fixed by ripping up and rerouting the wires involved.
What routing has to satisfy
- Complete connectivity. Every connection in the netlist must be made.
- Design rules. Minimum widths, spacings and many more complex rules set by the foundry.
- Timing. Critical connections take direct routes on faster layers.
- Signal integrity. Wires running side by side interfere with each other. Sensitive signals are spaced apart or shielded.
- Reliability. Wires carrying heavy current are made wider, and extra vias are added where possible.
- Manufacturability. Patterns that are difficult to print are avoided.
Congestion
Congestion occurs when a region needs more wires than there are tracks to hold them. It is the most common reason a design cannot be routed.
| Cause | Typical fix |
|---|---|
| Cells packed too densely | Lower the local density |
| Narrow channels between macros | Widen channels or move macros |
| Many pins in a small area | Spread the cells or use cells with better pin access |
| Logic with dense interconnection | Restructure the logic or guide its placement |
| Too few routing layers | Add layers, at higher manufacturing cost |
Tools estimate congestion during placement so it can be dealt with before detailed routing begins.
After routing
With real wires in place, their electrical properties are extracted and timing is analyzed accurately. Paths that fail are fixed with further resizing, buffering and rerouting. Filler cells are inserted into gaps, and extra metal shapes are added to keep layer density uniform, which the manufacturing process requires.
The loop of analysis and repair continues until timing and all physical checks are clean.
Challenges on advanced processes
- Resistance. Very thin wires and vias have high resistance, which makes wire delay a dominant factor and makes the choice of layer more important.
- Rule complexity. The number and intricacy of design rules grows with each generation.
- Pin access. Cells are so small that simply reaching their pins with wires is difficult.
- Variation. Wire dimensions vary in manufacturing, adding uncertainty to timing.
- Run time. Placing and routing a large block can take days.
Recent tools use machine learning to predict congestion and timing earlier and to tune their many settings automatically.
Measuring the result
A place and route run is judged on a short list of figures.
- Timing: whether all paths meet their targets, and by how much the worst ones miss
- Number of design rule violations remaining
- Total wire length and congestion
- Power consumption
- Area and utilization
Common questions
What is the difference between placement and routing?
Placement decides where each cell sits on the chip. Routing creates the metal wires that connect them. Placement comes first because routing depends on knowing where everything is.
What is a standard cell?
A standard cell is a pre-designed logic gate or flip-flop of fixed height, supplied in a library for a given manufacturing process. Most of a chip’s logic is built from them.
Why does place and route take so long?
A large chip has an enormous number of cells and connections, and the tool must satisfy timing and thousands of design rules at once. The problem is computationally hard, and several passes are usually needed.