Clock Net Routing
When a signal net encounters congestion, the router diverts the connection to an adjacent track or layer. For standard logic nets, modest path detours do not degrade functionality as long as setup constraints are met. However, diverting a clock net degrades the carefully balanced clock skew established during clock tree synthesis.
Preserving Symmetrical Latency
Clock distribution networks do not prioritize minimal wirelength. Instead, clock networks equalize arrival times across all sink registers. TritonCTS placed clock buffers and matched branch lengths to balance insertion delays.
If the router detours one clock branch to avoid congestion, that branch accumulates additional RC delay. Because clock skew is the difference in arrival time between register pairs, uncoordinated rerouting introduces clock skew. This unpredictable skew can degrade timing margins and cause hold violations.
Prioritizing Clock Geometries
Physical design engines protect clock trees by enforcing strict routing rules:
- Routers assign clock trunks to higher, low-resistance metal layers (
met3andmet4). - Routers forbid arbitrary rip-up of clock trunks during signal rerouting passes.
- Routing algorithms route clock nets before general logic nets, or assign higher detour penalties to clock segments.
Engineers resolve congestion near clock pins by moving neighboring signal nets or reducing cell density. The router must not modify clock branch wirelengths to solve local routing blockages.
Inspecting Clock Topologies in DEF Records
Review this excerpt of the routed clk net from the UART DEF database:
- clk
+ USE CLOCK
+ ROUTED met3 ( 120000 150000 ) ( 120000 180000 )
NEW met2 ( 120000 180000 ) ( 95000 180000 )
NEW met2 ( 120000 180000 ) ( 145000 180000 )
NEW met2 ( 95000 180000 ) ( 95000 210000 )
NEW met2 ( 145000 180000 ) ( 145000 208000 )
;
Figure 1 illustrates the physical geometry:
- A central clock trunk arrives on
met3at coordinate $(120.0, 180.0)\ \mu\text{m}$. - The trunk forks into two horizontal
met2branches that travel $25.0\ \mu\text{m}$ left and $25.0\ \mu\text{m}$ right. - The vertical segments to the buffer inputs measure $30.0\ \mu\text{m}$ and $28.0\ \mu\text{m}$.
The router maintains symmetrical branch lengths within $2.0\ \mu\text{m}$ to preserve identical propagation delays to both buffer inputs.
Practice Exercise
A routing congestion hotspot occurs directly beneath a clock buffer. The router diverts an adjacent data net along a longer path, leaving the clock branch intact. Explain why this routing choice is correct.
Solution
Diverting the signal net introduces minimal timing risk because logic nets tolerate non-critical delay increases.
Modifying the clock branch alters wire capacitance and changes clock arrival times relative to other tree branches. Preserving the clock branch avoids skew imbalances that degrade synchronous timing closure.
Special nets feature distinct routing topologies compared to standard signal nets. The next article demonstrates how to inspect power grids, clock trees, and signal interconnects in KLayout.