GATE Computer ScienceVery hardGATE CSE

A 3-bit synchronous circuit of D flip-flops has D2 = Q1, D1 = Q0 ⊕ Q2, D0 = NOT(Q2 · Q1). Starting from Q2Q1Q0 = 010, how many distinct states are visited before the state sequence first repeats a state (counting the initial state), and what is the length of the eventual cycle?

  1. A. 6 states, cycle length 6
  2. B. 7 states, cycle length 3
  3. C. 5 states, cycle length 4
  4. D. 6 states, cycle length 3

Correct answer: D. 6 states, cycle length 3

Sequence: 010 → 101 → 001 → 011 → 111 → 100 → 011 (repeat); 6 distinct states, cycle of length 3.

More Digital Logic questions

Exams that ask this topic