GATE Computer ScienceHardGATE CS (PYQ pattern)

A 3-bit register Q2Q1Q0 is clocked synchronously with D2 = Q1, D1 = Q0 and D0 = (Q2 + Q1)' (NOR). Starting at 000 it follows a repeating cycle. Which statement is correct?

  1. A. It cycles through 5 states, and the unused states 101 and 111 are lock-up states
  2. B. It cycles through 6 states and is self-starting within 1 clock
  3. C. It cycles through 5 states, and every unused state reaches that cycle within 2 clocks
  4. D. It cycles through 5 states, and every unused state reaches that cycle within 1 clock

Correct answer: C. It cycles through 5 states, and every unused state reaches that cycle within 2 clocks

From 000 the cycle is 000 → 001 → 011 → 110 → 100 → 000. The unused states go 010 → 100, 111 → 110 and 101 → 010 → 100, so the worst case needs 2 clocks and none is a lock-up.

More Digital Logic questions

Exams that ask this topic