In a synchronous digital circuit, two flip-flops (FF1 to FF2) operate on a 1 GHz clock (Tclk = 1000ps). The timing parameters are:
Clock-to-Q delay (Tcq): 150ps
Combinational logic delay (Tlogic): 650ps
Setup time requirement (Tsetup): 80ps
Clock Skew (Capture edge delay - Launch edge delay): -50ps (Capture clock arrives 50ps early)
Clock Jitter constraint: 40ps
Calculate the setup slack for this path.
Setup slack is calculated as: $Slack = Required_Time - Arrival_Time. Arrival Time = Tcq + Tlogic = 150ps + 650ps = 800ps. Required Time = Tclk + Tskew - Tsetup - Tjitter. Because the skew is defined as Capture - Launch and is negative (-50ps), the capture edge arrives early, which is detrimental to setup time. Required Time = 1000ps + (-50ps) - 80ps - 40ps = 830ps. Setup Slack = 830ps - 800ps = +30ps. A positive slack means the setup constraint is met.