Module 5: Clock Tree Synthesis · 5.1 The Clock Distribution Problem

Defining Skew and Latency

Timing analysis requires precise mathematical definitions of clock latency and clock skew. These metrics appear in all clock tree synthesis and static timing analysis reports.

Clock Latency: Source Versus Network

Clock latency measures the time required for a clock transition to propagate from its origin to a register clock pin. Clock latency consists of two distinct components:

  • Source latency: The delay from the primary clock source (such as an external pin or PLL) to the clock definition point specified by create_clock.
  • Network latency (insertion delay): The delay through clock buffers and interconnect traces from the clock definition point to the clock pin of an individual flip-flop.

During physical design and CTS, the term latency refers specifically to network latency. Clock tree synthesis directly shapes network latency by inserting clock buffers and balancing interconnect lengths.

Source latency, network latency, and the skew between three flops
Figure 1: Left, source latency up to the clock definition point and network latency from there through the tree to each flop. Right, the three latencies as bars; the skew is the spread between the longest and the shortest.

Clock Skew

Clock skew is the difference in arrival time between two registers on the same clock domain. Skew is a relative metric between a launching register and a capturing register:

$$\text{Skew}_{A,B} = |L_A - L_B|$$

Across an entire clock domain, worst-case skew represents the difference between maximum and minimum network latencies:

$$\text{Worst-case skew} = \max_{i,j}\left(|L_i - L_j|\right) = L_{\max} - L_{\min}$$

You can determine global worst-case skew by subtracting the minimum latency from the maximum latency.

Latency and Skew Example

Consider three flip-flops with measured network latencies:

Flip-flop Network latency
FF1 40 ps
FF2 65 ps
FF3 52 ps

Calculate global worst-case skew:

$$\text{Skew} = L_{\max} - L_{\min} = 65,\text{ps} - 40,\text{ps} = 25,\text{ps}$$

Intermediate latencies (such as 52 ps for FF3) fall within this range and do not define the worst-case boundary. Uniform latency across all registers results in zero clock skew. For example, if every register exhibits exactly 200 ps of latency, clock skew equals zero. High insertion delay does not degrade timing if skew remains zero. Relative arrival time differences determine timing closure.

Practice Exercise

A clock domain reports four register latencies: FF_A = 30 ps, FF_B = 58 ps, FF_C = 44 ps, and FF_D = 71 ps. Calculate the worst-case skew and identify the defining register pair.

Solution

Calculate worst-case skew: $$\text{Skew} = 71,\text{ps} - 30,\text{ps} = 41,\text{ps}$$

The defining pair consists of FF_D (maximum latency of 71 ps) and FF_A (minimum latency of 30 ps). Registers FF_B and FF_C reside inside this latency window and do not affect maximum skew.

The next article explains how clock skew affects setup and hold timing margins.

← Why a Single Wire Fails How Skew Reduces Setup Timing Margin →