15_Routing_and_Congestion.md

Routing and Congestion — When Wires Decide Everything


Purpose of This Chapter

The purpose of this chapter is simple:

Routing is not a “late-stage detail.”
Routing decides timing, DRC, and chip viability.

Placement defines logical structure.
Routing defines whether the chip actually works.

After this chapter, you will be able to explain:


The Two-Stage Routing Model (OpenROAD)

OpenLane / OpenROAD routing always happens in two stages.

1. Global Routing

2. Detailed Routing

👉
Detailed routing cannot save a bad global routing result.


What Is Congestion?

Congestion means:

The amount of wiring demanded in an area
exceeds the physical routing capacity.

Logical correctness is irrelevant if wires cannot physically pass.


Why Congestion Is Dangerous

High congestion inevitably causes:

👉
Congestion is the root cause of most physical failures.


Common Misconception

❌ Misconception

“Detailed routing will somehow fix it.”

✔ Reality

Global routing already decided the outcome.

Detailed routing only tries to make
an impossible design barely legal.


Viewing Congestion (OpenROAD GUI)

openroad -gui

Check the following:

Large red regions mean
the design is already in trouble.


Why Congestion Happens

Typical causes include:

👉
Routing problems almost always originate upstream.


Cell Density vs Routing Tradeoff

High density:

Low density:

👉
Density is always a routing tradeoff.


Why Floorplanning Dominates Routing

Floorplanning defines:

If routing fails,
the correct response is almost always to revisit the floorplan.


Clock Routing Is Special

Clock nets are:

Bad clock routing causes:

👉
Clock routing always overrides data routing.


Layer Roles (sky130 Example)

Ignoring layer roles leads to
simultaneous delay and DRC failure.


Routing and DRC

Most routing-related DRCs are:

These almost always mean:

The router was forced beyond physical limits.


What Antenna Violations Really Mean

Antenna issues come from:

Aggressive routing
guarantees antenna violations.


Characteristics of Good Routing

Healthy routing looks like:

You can recognize it instantly in GDS.


Characteristics of Bad Routing

👉
Magic / KLayout reveal this immediately.


Practical Completion Criteria

Routing can be considered complete only if:

If not,
routing is not complete.


Chapter Conclusion


Next Chapter

Next is the most critical bridge between logic and physics.

👉 16_GLS_and_SDF.md — Gate-Level Simulation with Real Delays