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)?
- A. T1 = Q0, T2 = Q1Q0, T3 = Q2Q1Q0
- B. T1 = Q0', T2 = Q1 + Q0, T3 = Q2Q1Q0
- C. T1 = Q0', T2 = Q1Q0, T3 = Q2(Q1 + Q0)
- 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
- A 3-bit synchronous counter Q2Q1Q0 uses T flip-flops with T2 = Q1Q0, T1 = Q0 and T0 = Q2'. Starting from 000, what is the state after 10…
- How many Boolean functions f(a,b,c,d,e) are invariant under the cyclic shift of their inputs, f(a,b,c,d,e) = f(b,c,d,e,a), and are also…
- How many Boolean functions f(a,b,c,d) satisfy BOTH f(a,b,c,d) = f(b,a,c,d) and f(a,b,c,d) = f(c,d,a,b) for all inputs?
- A divide-by-50 circuit (one output pulse cycle per 50 clock cycles) is built as (i) a ring counter, (ii) a Johnson counter, (iii) a binary…
- A function is given as f(A,B,C,D) = Σm(0, 2, 5, 7, 8, 10, 13, 15). Its minimal sum-of-products expression is:
- A 5-bit Johnson (twisted-ring) counter is reset to 00000 and clocked continuously with the feedback Q4' → D0. How many of the 32 possible…