Logic circuits

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.

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

Related calculators

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.

More Logic circuits questions

  1. Which type of sequential circuit (state machine) has outputs determined only by the current state?
  2. Which represents decimal 59 in BCD (binary-coded decimal)?
  3. When is the output of a three-input majority circuit 1?
  4. Which correctly lists the inputs of a full adder?
  5. Which circuit activates exactly one of eight outputs according to a 3-bit input?

Comparisons in this topic