GATE Computer ScienceVery hardGATE CS (PYQ pattern)

A 4-bit synchronous counter Q3Q2Q1Q0 (Q0 the LSB) built from T flip-flops must add 3 modulo 16 on every clock (0 → 3 → 6 → 9 → … → 13 → 0). Which minimal toggle equations work (T0 = 1 in every case)?

  1. A. T1 = Q0, T2 = Q1Q0, T3 = Q2Q1Q0
  2. B. T1 = Q0', T2 = Q1 + Q0, T3 = Q2Q1Q0
  3. C. T1 = Q0', T2 = Q1Q0, T3 = Q2(Q1 + Q0)
  4. D. T1 = Q0', T2 = Q1 + Q0, T3 = Q2(Q1 + Q0)

Correct answer: D. T1 = Q0', T2 = Q1 + Q0, T3 = Q2(Q1 + Q0)

Adding 011: bit 1 receives 1 + Q0 (the carry c1 = Q0), so it toggles when Q0 = 0: T1 = Q0'. The carry into bit 2 is c2 = Q1 + Q0 (majority of Q1, 1, Q0), so T2 = c2 = Q1 + Q0. The carry into bit 3 is c3 = Q2·c2, so T3 = Q2(Q1 + Q0). The plain binary-counter equations describe +1, not +3.

More Digital Logic questions

Exams that ask this topic