Digital Circuits 1 mark Counters Multiple choice

State of a 4-bit synchronous up-counter after 13 clock pulses

BlinkNBuild practice problem · GATE standard, authored and verified in-house

A 4-bit synchronous binary up-counter is built from T flip-flops, all clocked by the same edge. The initial state is $Q_3Q_2Q_1Q_0 = 0000$. Determine the state after 13 clock pulses.

Show the step-by-step derivation
Answer (A) 1101

Step-by-step derivation

  1. An $n$-bit binary counter has $2^n$ distinct states. Here $n = 4$, so the counter is modulo $2^4 = 16$ and its states run $0, 1, 2, \ldots, 15$ before wrapping back to $0$.
  2. Each clock pulse advances the count by exactly one. Starting from state $S_0$, the state after $N$ pulses is therefore $$S_N = (S_0 + N) \bmod 16.$$
  3. Substituting $S_0 = 0$ and $N = 13$: $$S_{13} = (0 + 13) \bmod 16 = 13.$$ Since $13 < 16$ there is no wrap-around.
  4. Convert $13_{10}$ to 4-bit binary by repeated division by 2: $13 \div 2 = 6$ r $1$; $\;6 \div 2 = 3$ r $0$; $\;3 \div 2 = 1$ r $1$; $\;1 \div 2 = 0$ r $1$. Reading the remainders bottom-to-top gives $1101_2$.
  5. Check by place value: $1101_2 = 8 + 4 + 0 + 1 = 13$. ✓ Hence $Q_3Q_2Q_1Q_0 = \mathbf{1101}$.
The trap this question is built around The word "synchronous" is doing no work here beyond telling you all flip-flops share a clock, so the count is exact. In a ripple counter the answer after settling is the same, but the intermediate states are not - and a question that asks what a decoder sees during the ripple has a different answer entirely.