A latch-based pipeline uses two D-latches. Latch 1 is transparent HIGH and Latch 2 is transparent LOW. The clock period is 1000 ps with a 50% duty cycle (0-500ps HIGH, 500-1000ps LOW). Data is launched into Latch 1 exactly at t=0. Latch 1 D-to-Q delay is 50 ps. The combinational delay between the latches is 700 ps. Latch 2 setup time is 30 ps. How much time is "borrowed" from Latch 2's time budget?
Data is launched at t=0. It arrives at the input of Latch 2 at Time = 0 + T_c2q + T_comb = 0 + 50 + 700 = 750 ps. Latch 2 becomes transparent at t=500 ps (the nominal launch edge for Latch 2's subsequent logic). Because the data arrives at 750 ps, which is after the nominal edge (500 ps) but before the capturing edge (1000 ps - setup = 970 ps), the data safely passes through. It effectively borrows (750 - 500) = 250 ps from the time budget of the next stage.