The figure shows a small synchronous system: input IN passes through combinational block CL1 into register R1, then through combinational block CL2 into register R2, which drives OUT. Both registers share one clock. The task is to treat the whole dotted box as if it were a single register and give its setup time, hold time, contamination delay, propagation delay and minimum clock period. This circuit is Problem 1 of the MIT 6.111 (Fall 2005) sequential logic tutorial problems, where you can also check the answers.
What the five parameters mean
- tPD (propagation delay): the longest time from a cause (an input change, or a clock edge for a register) until the output is guaranteed valid.
- tCD (contamination delay): the shortest time from a cause until the output can start to change. Before tCD the old value is still held.
- tS (setup time): how long before the clock edge the input must be stable.
- tH (hold time): how long after the clock edge the input must stay stable.
- tCLK: the shortest clock period at which every register-to-register path still meets setup.
For a system, these are measured at its own pins: setup and hold at IN relative to CLK, and propagation and contamination delay from CLK to OUT.
The values in the figure
| Block | tPD | tCD | tS | tH |
|---|---|---|---|---|
| CL1 | 3 | 1 | - | - |
| R1 | 2 | 1 | 3 | 2 |
| CL2 | 5 | 1 | - | - |
| R2 | 8 | 2 | 4 | 2 |
The figure gives no units; read them as nanoseconds or simply as time units.
The answer at a glance
| System parameter | Value |
|---|---|
| tS | 6 |
| tH | 1 |
| tPD | 8 |
| tCD | 2 |
| tCLK (minimum) | 11 |
These match the published answers for the MIT problem. The reasoning is short once you see which register each parameter belongs to, and it is below.
A quick way to remember the rules
Each system parameter belongs to the register nearest the pin it describes. Input timing (setup and hold) belongs to the first register, R1, adjusted by the logic in front of it: setup adds the slowest logic delay, hold subtracts the fastest. Output timing belongs to the last register, R2, plus any logic after it (none here). The clock period belongs to the slowest path between the two registers.
Deep dive: the numbers and details
This part holds the derivations, the hold check and common mistakes. Skip it if the overview is all you need.
System setup time
Data entering at IN must reach R1 and still meet R1's setup time. The slowest way it can get there is through CL1's propagation delay, so:
tS(system) = tPD(CL1) + tS(R1) = 3 + 3 = 6
System hold time
After the clock edge, R1 needs its input to stay stable for tH(R1) = 2. If IN changes, the fastest the change can reach R1 is CL1's contamination delay, which buys 1 unit for free. So IN itself must stay stable for:
tH(system) = tH(R1) - tCD(CL1) = 2 - 1 = 1
If tCD(CL1) were larger than tH(R1), the system hold time would be negative: IN could change slightly before the clock edge without harm.
System propagation and contamination delay
OUT comes straight from R2 with no logic after it, so the output timing is R2's own clock-to-output timing:
tPD(system) = tPD(R2) = 8 and tCD(system) = tCD(R2) = 2
Minimum clock period
The only internal register-to-register path is R1 to CL2 to R2. After a clock edge, R1's output is valid after tPD(R1), the result passes through CL2, and it must arrive tS(R2) before the next edge:
tCLK ≥ tPD(R1) + tPD(CL2) + tS(R2) = 2 + 5 + 4 = 11
So the maximum clock frequency is 1/11, about 90.9 MHz if the units are nanoseconds. The input path does not set tCLK inside the box, because it starts outside the system; it is captured by the system setup time instead.
Do not forget the internal hold check
The internal path must also meet R2's hold time. The earliest R2's input can change after a clock edge is tCD(R1) + tCD(CL2) = 1 + 1 = 2, and R2 needs tH(R2) = 2. Since 2 ≥ 2, the hold constraint is met, with zero margin. If CL2 had a contamination delay of 0, the design would fail at any clock frequency, and the fix would be to add delay (for example a buffer) in the path, not to slow the clock.
Common mistakes
- Using CL1's propagation delay for hold. Hold is about the fastest path, so it always uses contamination delays.
- Adding R1's delays to the system output delay. OUT is driven by R2 alone; anything before R2 is covered by tCLK.
- Including the IN path in tCLK. The external path is the job of whoever drives IN; the system tells them what it needs through tS and tH.
- Skipping the internal hold check because the question did not ask for it. An interviewer will often ask next whether the system works at all.
Follow-up questions to practice
- What happens to tCLK if CL2 is split and a third register added in the middle? (Each new stage needs its own path check.)
- If the clock reaches R2 1 unit later than R1 (positive skew), how do the internal setup and hold checks change? Setup gains 1 unit of slack; hold loses 1 unit and now fails.
- What is the system latency from IN to OUT? Two clock edges: one to capture into R1, one into R2.
For more on the hold side of this problem, see Contamination Delay and Hold Time in Sequential Circuits and Max Frequency Calculation on this blog.

