Module 5: Clock Tree Synthesis · 5.4 Post-CTS Timing

Why Hold Violations Appear After CTS

Static timing analysis checks before CTS focus primarily on setup constraints. Early synthesis and placement stages assume ideal clock distribution networks. Hold timing checks run during these stages, but ideal clocks hide physical timing risks. This article explains why hold violations emerge immediately after clock tree synthesis.

Hold Timing Constraints

Setup timing is a long-path constraint evaluated against the subsequent clock period. Hold timing is a short-path constraint evaluated against the same active clock edge. Hold timing depends entirely on cell delay, data path combinational delay, and relative clock arrival times:

$$\text{Hold slack} = (t_{cq} + t_{comb} + L_{\text{launch}}) - (L_{\text{capture}} + t_{hold})$$

Launch clock latency $L_{\text{launch}}$ improves hold slack by delaying the launch edge. Capture clock latency $L_{\text{capture}}$ degrades hold slack by delaying the capture hold requirement. The relative difference between these latencies dictates hold margin.

Ideal Clocks Before CTS

Pre-CTS timing analysis assumes an ideal clock network where all registers receive clock edges simultaneously. Setting $L_{\text{launch}} = L_{\text{capture}} = 0$ simplifies the hold equation:

$$\text{Hold slack} = t_{cq} + t_{comb} - t_{hold}$$

Standard cell clock-to-Q delay $t_{cq}$ and combinational delay $t_{comb}$ almost always exceed cell hold requirement $t_{hold}$. Consequently, hold timing checks pass easily before CTS. This passing result occurs because the tool assumes zero clock skew rather than a robust circuit margin.

Hold under an ideal clock and under a real tree
Figure 1: Top, both flops see the edge at the same instant and the data's 165 ps of delay clears the 60 ps hold window with room to spare. Bottom, the capture edge arrives 111 ps later and the hold window now overlaps the moment the data changes.

Physical Clocks After CTS

TritonCTS replaces the ideal clock net with real buffers and routed metal tracks. Clock latencies $L_{\text{launch}}$ and $L_{\text{capture}}$ become non-zero physical values. Clock skew subtracts directly from hold timing margin on paths where capture latency exceeds launch latency.

Clock tree synthesis does not damage data path logic. Instead, CTS removes the idealized zero-skew assumption. Static timing analysis now measures actual physical arrival times. Paths with small combinational delays immediately show timing violations when capture clock delay exceeds data propagation delay.

Sensitive Paths

Paths with low combinational delay have minimal tolerance for clock skew. Direct flip-flop to flip-flop connections represent the most vulnerable category. Examples include shift registers, simple state flag transfers, and counter increment feedback paths. The UART baud rate counters feature short combinational paths that frequently require hold optimization after CTS.

Practice Exercise

An ideal clock timing report lists $t_{cq} = 0.095\text{ ns}$, $t_{comb} = 0.070\text{ ns}$, and $t_{hold} = 0.060\text{ ns}$. Calculate hold slack under an ideal clock. Determine the clock skew that causes a hold violation after CTS.

Solution

Under an ideal clock network:

$$\text{Hold slack} = 0.095 + 0.070 - 0.060 = 0.105\text{ ns}$$

The pre-CTS hold slack is $+105\text{ ps}$.

After CTS, hold slack becomes negative if clock skew $(L_{\text{capture}} - L_{\text{launch}})$ exceeds $0.105\text{ ns}$ ($105\text{ ps}$). A capture clock arrival delay greater than $105\text{ ps}$ relative to launch produces a hold violation.

You understand the physical causes of post-CTS hold violations. The next article analyzes an OpenSTA post-CTS timing report from the UART design.

← Running CTS on the UART Reading a Post-CTS Timing Report →