Module 7: Timing Closure & Static Timing Analysis · 7.1 STA Fundamentals, Revisited

Setup and Hold, Now With Real Wire Delay

In Module 6, the router converted all abstract net connections into physical metal tracks and vias. Every wire now has known coordinates, layer assignments, widths, and adjacent neighbor geometries. This article examines how post-routing parasitics affect setup and hold timing analysis.

Timing reports produced before routing rely on predictive models. Synthesis tools estimate wire lengths using statistical wireload models. Placement engines estimate delays from Euclidean or Steiner tree pin distances. Only detailed routing provides physical conductors that tools can extract and analyze.

Setup and Hold Governing Equations

The mathematical checks for synchronous timing remain unchanged:

$$T_{clk} \geq t_{clk\text{-}to\text{-}Q} + T_{comb} + t_{setup}$$

$$t_{clk\text{-}to\text{-}Q} + T_{comb} \geq t_{hold}$$

The combinational path delay $T_{comb}$ comprises cell propagation delays and interconnect wire delays. Standard cell delay depends directly on the output capacitive load. In physical silicon, longer routing runs introduce wire capacitance that slows down driving gates.

In the SkyWater 130nm process, wire resistance on short nets contributes negligible RC delay. However, wire capacitance directly loads standard cell output stages. When a routed net detours around congestion, the driving gate requires more time to transition.

Comparing Pre-Route and Post-Route Delays

Consider a critical path in the UART receiver. The path begins at the receive shift register, passes through a parity XOR tree, and captures into the parity error register. The final XOR gate (_2204_) drives parity_net.

Before routing, the timing engine estimated a stage delay of 1.02 ns based on an assumed 45 fF wireload. After detailed routing, parity_net traverses a long path across the core to avoid congested macro pins. The extracted load capacitance measures 118.6 fF. Consequently, the actual stage delay increases to 1.95 ns.

Recalculating Path Slack

The UART design operates with an aggressive 4.0 ns clock period (250 MHz). Fixed delays in the path (launch register clock-to-Q and three XOR stages) total 1.57 ns. Subtracting clock uncertainty (0.15 ns) and setup time (0.14 ns) yields a required arrival time of 3.71 ns:

$$\text{Required Time} = 4.00 - 0.15 - 0.14 = 3.71\text{ ns}$$

The table below shows the impact of actual physical routing on timing slack:

Analysis Stage Last Stage Delay Total Arrival Time Required Time Timing Slack
Pre-Route Estimate 1.02 ns $1.57 + 1.02 = 2.59\text{ ns}$ 3.71 ns +1.12 ns
Post-Route Extracted 1.95 ns $1.57 + 1.95 = 3.52\text{ ns}$ 3.71 ns +0.19 ns

Arrival time of the parity path before and after routing
Figure 1: The same path before and after routing, against a required time of 3.71 ns

Figure 1 shows that timing margin decreases from +1.12 ns to +0.19 ns. Although slack remains positive, the remaining margin is narrow. Environmental variations across operating corners can easily eliminate this remaining 190 ps margin.

Practice Exercise

A control path runs from the baud rate generator to the transmitter state machine. The pre-route estimate predicted a final stage delay of 0.42 ns. Extracted layout data yields an actual stage delay of 0.39 ns. The remaining path delay is 3.15 ns, and required arrival time is 3.71 ns. Calculate pre-route and post-route slack.

Solution

Calculate pre-route slack: $$\text{Arrival}{\text{pre}} = 3.15 + 0.42 = 3.57\text{ ns}$$ $$\text{Slack}{\text{pre}} = 3.71 - 3.57 = +0.14\text{ ns}$$

Calculate post-route slack: $$\text{Arrival}{\text{post}} = 3.15 + 0.39 = 3.54\text{ ns}$$ $$\text{Slack}{\text{post}} = 3.71 - 3.54 = +0.17\text{ ns}$$

The timing margin improved by 30 ps because the router found a more direct path than estimated. Pre-route models can be optimistic or pessimistic. Signoff analysis requires measured parasitics to confirm timing closure.

Extracted parasitics replace predictive models with physical circuit values. The next article examines why timing predictions diverge across synthesis, placement, and routing stages.

Why Post-Route Timing Differs From Every Earlier Estimate →