What is Hold time?

The minimum time after the active clock edge during which a flip-flop's data input must stay unchanged. Violations are not fixed by lowering the clock frequency, so delay is added to the path.

Field: Logic circuits

Japanese name: ホールド時間

Two-flip-flop synchronizer Source clock domain Destination clock domain Source FF FF1 FF2 Async Direct Synced output Source clock Dest. clock Metastable risk Dest. clock FF1 output Unsettled FF2 output ~1 cycle If FF1 settles before the next edge, FF2 gets the correct value
Two-flip-flop synchronizer · View in diagrams

What hold time protects

A flip-flop needs its data input to stay unchanged for a short window after the active clock edge while the internal latch closes; that minimum interval is the hold time. Setup time is the mirror requirement before the edge. The danger for hold comes from the same edge that captures data: it also launches new data from the upstream flip-flop, and if that new value races through a very short path, it can overwrite the value being captured. Either violation can produce a wrong value or drive the flip-flop into metastability.

Checking hold with minimum delays

Hold analysis uses the fastest case: minimum clock-to-output delay plus minimum logic and wire delay must exceed the hold time, adjusted for when the capture clock actually arrives. With 0.08 ns clock-to-output, 0.02 ns of logic, 0.05 ns hold time and a capture clock 0.1 ns late, arrival is 0.10 ns against a requirement of 0.15 ns, a −0.05 ns violation. Board-level interfaces follow the same logic, using the transmitter's minimum clock-to-output; if a datasheet omits it, assuming 0 ns is the safe choice.

Why slowing the clock does not help

For an ordinary path launched and captured by the same clock edge, the clock period does not appear in the hold equation, so lowering the frequency leaves the violation unchanged. A chip shipped with a real hold violation can be unusable at any speed. The standard fix is inserting buffers or delay cells on the short data path, usually after clock tree synthesis when actual skew is known. Paths with little or no logic, such as shift registers and scan chains, are the classic hold risks, and positive clock skew makes them worse.

Library values and negative hold

Hold time is a characterized property of each flip-flop design and depends on input slew, load and process corner. It can be very small, zero or even negative, meaning the data may change slightly before the clock edge without harm, because the internal delay from the data pin to the sampling point is larger than that on the clock side. A negative hold time makes hold easier to meet but does not eliminate the check, since clock skew and on-chip variation still shift the effective requirement at every endpoint.

Try it: questions about Hold time

What is the state called when a flip-flop receiving an asynchronous signal violates setup or hold time and its output is temporarily neither 0 nor 1?

  1. AMetastability
  2. BGlitch
  3. CLatch-up
Show answer and explanation

Answer: A. Metastability

In a metastable state the output lingers at an intermediate voltage or takes a long time to resolve. It cannot be fully prevented; the probability of remaining unresolved only falls exponentially with time. Asynchronous signals are therefore received with a synchronizer of two or more flip-flops, so that even if the first goes metastable, the second almost certainly sees a settled value. The number of stages is chosen to meet the required MTBF. Multi-bit data crosses clock domains via FIFOs or handshakes.

Which correctly describes the hold time of a flip-flop?

  1. AThe time the data input must be stable before the active clock edge
  2. BThe time from the clock edge until the output changes
  3. CThe time the data input must remain unchanged after the active clock edge
Show answer and explanation

Answer: C. The time the data input must remain unchanged after the active clock edge

Hold time is the minimum time data must stay stable after the clock edge. If the path from one flip-flop to the next is too short, new data launched by the same edge arrives too early and violates hold. Because it does not depend on the clock period, slowing the clock cannot fix it; the remedy is inserting buffers to add delay. A hold violation found after manufacturing may keep the chip from working correctly at any speed, so design-time verification is critical.

FAQ

What is the difference between setup time and hold time?

Setup time is how long data must be stable before the clock edge, and hold time is how long it must remain stable after the edge. Setup is violated by paths that are too slow and hold by paths that are too fast.

Can a flip-flop have a negative hold time?

Yes. Internal delays can mean the data is effectively sampled slightly before the external clock edge, so the data may change just before the edge without error; the library then reports a negative hold value.

How do you fix a hold time violation?

Add delay to the short data path with buffers or delay cells, or reduce the skew that makes the capture clock late. Changing the clock frequency has no effect on a same-edge hold check.

Questions that mention Hold time (3)

Hold time appears in 5 practice questions across 3 topics, including Logic circuits, Timing analysis and CDC, How to read datasheets.

  1. The launching flip-flop's minimum clock-to-output delay is 0.08 ns, the minimum combinational logic delay is 0.02 ns and the capturing flip-flop's hold time is 0.05 ns. If the clock arrives at the capturing flip-flop 0.1 ns later than at the launching flip-flop, what is the hold slack?
  2. When checking whether the receiver's hold time is met, which value of the transmitter's clock-to-output delay should be used?
  3. Which correctly describes the setup time of a flip-flop?

Books on Logic circuits Ad

Learn hands-on: parts and kits

Building real circuits is a good way to check what you learned in the questions.

As an Amazon Associate I earn from qualifying purchases.

Comparisons that include this term

Semiconductor, Electronics and Computing Calculators

This page was drafted with AI and fact-checked by a separate AI review before publication. Our Editorial policy explains how we write and check content. If you spot an error, please tell us on our Contact page.

Back to the glossary