GATE Computer ScienceVery hardGATE CSE

A 4-bit Johnson (twisted-ring) counter is built with D1 = NOT Q4, D2 = Q1, D3 = Q2, D4 = Q3, with no self-correction logic. Considering all 16 possible initial states, how many distinct cycles exist in total, and what are their lengths?

  1. A. 1 cycles of lengths 8, NaN
  2. B. 2 cycles of lengths 8, 8
  3. C. 2 cycles of lengths 8, 9, NaN
  4. D. 3 cycles of lengths 8, 8, 1

Correct answer: B. 2 cycles of lengths 8, 8

The valid sequence 0000→1000→1100→1110→1111→0111→0011→0001 has length 8; the 8 unused states fall into the other cycle(s); the cycle lengths found by following every state are 8, 8 (16 states in all).

More Digital Logic questions

Exams that ask this topic