Module 5: Clock Tree Synthesis · 5.3 CTS Algorithms

Useful Skew

Clock tree synthesis generally minimizes clock skew across all registers. However, advanced physical design flows can exploit clock skew intentionally. The sign of clock skew determines whether skew improves or degrades timing slack on a path. Designers can add deliberate skew to critical paths to satisfy timing requirements.

The Physical Concept

Recall the standard equation for setup slack:

$$\text{Slack} = T_{clk} - (t_{comb} + t_{setup} + \text{skew})$$

This formulation assumes that clock skew degrades the timing budget. In that scenario, the capture register clock arrives earlier than the launch register clock. If the capture register clock arrives later than the launch register clock, the sign of the skew term reverses:

$$\text{Slack}{\text{useful skew}} = T{clk} - t_{comb} - t_{setup} + |\text{skew}|$$

Capture early against capture late on the same path
Figure 1: Top, the capture clock arrives 20 ps early and the data window shrinks. Bottom, it arrives 20 ps late and the window grows by the same amount.

This technique is useful skew. The synthesis engine adjusts buffer sizes and wire routes within a specific subtree. The capture clock edge arrives slightly later than the launch clock edge. This extra delay increases the available setup timing margin for the critical path.

Controlled Implementation

Useful skew requires selective application to targeted paths. Designers identify critical setup paths from timing reports. The engineer configures TritonCTS to adjust clock latencies on specific register pairs instead of changing the global CTS_TARGET_SKEW parameter. The tool keeps standard zero-skew constraints for all other clock branches.

Commercial flows use this optimization on high-frequency designs with tight timing margins. The technique requires careful control. If you delay the clock to a capture register, that same register acts as a launch register for downstream paths. That subsequent timing path now has less available clock period margin.

Hold Timing Trade-Offs

Useful skew introduces trade-offs for hold timing checks. Setup timing improves when the capture clock arrives later. However, hold timing requires data to remain stable after the active clock edge. A delayed capture clock edge directly degrades hold timing margin on that register pair.

You must always verify hold timing after applying useful skew. A deliberate skew change can transform a passing hold check into a timing violation. Designers must balance setup gains against hold penalties during timing optimization.

Practice Exercise

A setup path from u_tx/state_reg to u_tx/shift_reg fails timing by 15 ps. An engineer proposes 20 ps of useful skew to delay the clock arrival at shift_reg. What timing check must the engineer verify immediately, and why?

Solution

Verify hold timing on the path between u_tx/state_reg and u_tx/shift_reg.

Delaying the clock edge at the capture register by 20 ps improves setup slack. However, that delay reduces the hold margin by 20 ps for the same register pair. If the existing hold margin was below 20 ps, the adjustment causes a hold timing violation.

You understand tree clustering, buffer insertion, and useful skew concepts. The next article executes run_cts on the placed UART design and analyzes the CTS summary report.

← How TritonCTS Builds a Tree Running CTS on the UART →