How Skew Reduces Setup Timing Margin
In ideal static timing analysis, launch and capture registers receive clock edges simultaneously. The ideal setup check requires:
$$T_{clk} \geq t_{comb} + t_{setup}$$
In physical silicon, launch and capture clock paths experience different network latencies. When the capture clock edge arrives earlier than the launch clock edge, the available timing window shrinks. Clock skew acts as an explicit term that subtracts directly from setup margin:
$$\text{Slack} = T_{clk} - (t_{comb} + t_{setup} + \text{skew})$$
The clock period $T_{clk}$ defines the total timing budget. Combinational delay $t_{comb}$, library setup time $t_{setup}$, and clock skew consume this budget. Every picosecond of unfavorable clock skew reduces the time available for combinational logic operations.
Worked Example: Impact of Skew on Setup Slack
Consider a path with a 5.0 ns clock period ($T_{clk} = 5.0\ \text{ns}$). Combinational delay $t_{comb}$ is 3.2 ns, and library setup time $t_{setup}$ is 0.3 ns. A balanced clock tree produces 0.4 ns of unfavorable skew:
$$\text{Slack} = 5.0 - (3.2 + 0.3 + 0.4) = 5.0 - 3.9 = 1.1,\text{ns}$$
The path passes with 1.1 ns of positive slack. Now assume an unoptimized clock tree produces 1.0 ns of skew on the same path:
$$\text{Slack} = 5.0 - (3.2 + 0.3 + 1.0) = 5.0 - 4.5 = 0.5,\text{ns}$$
Setup slack decreases from 1.1 ns to 0.5 ns. The RTL logic, cell library, and clock period did not change. Physical clock distribution alone degraded the timing margin.
Clock skew is directional. If the capture clock arrives later than the launch clock, skew increases the setup timing window. Section 5.3 explores useful skew, where designers adjust clock latency intentionally to resolve timing violations.
Practice Exercise
A path operates with a 4.0 ns clock period, 2.6 ns combinational delay, a 0.25 ns setup requirement, and 0.35 ns of unfavorable skew. Calculate the setup slack. Determine if the path satisfies setup timing.
Solution
Calculate setup slack using the extended equation: $$\text{Slack} = 4.0 - (2.6 + 0.25 + 0.35) = 4.0 - 3.2 = 0.8,\text{ns}$$
The path exhibits +0.8 ns of positive slack and satisfies the setup requirement.
Section 5.2 examines the physical topologies used in clock tree synthesis to control clock skew.