2080 9

CSC116 ยท 2080 ยท 5 marks

Design an asynchronous Mod 11 up counter using T flip flop.

Design an asynchronous Mod 11 up counter using T flip flop. [5]

Digital LogicChapter 7: Registers and CountersRipple CountersNumerical: Mod 11 counter design

Asynchronous Mod-11 Up Counter Using T Flip-Flop

Given

  • Counter type: Asynchronous (ripple)
  • Modulus: 11 (counts 0 to 10, i.e. 11 distinct states)
  • Flip-flop type: T flip-flop
  • Direction: Up counter

No numeric values are missing. The design is fully specified.


Solution

Step 1: Number of Flip-Flops

We need enough flip-flops to represent 11 states:

$$2^n \geq 11 \implies 2^4 = 16 \geq 11$$

So $n = 4$ flip-flops are needed: FF0, FF1, FF2, FF3 with outputs $Q_0, Q_1, Q_2, Q_3$.

Step 2: Count Sequence (0 to 10)

Count$Q_3$$Q_2$$Q_1$$Q_0$
00000
10001
20010
30011
40100
50101
60110
70111
81000
91001
101010
11 (transient)1011

The counter counts 0000 through 1010, then on the next clock it momentarily enters 1011 (decimal 11), which is detected and used to force an immediate asynchronous reset to 0000.

Step 3: Reset (Detection) Logic

The unwanted state to detect is 1011:

$$Q_3 = 1,\ Q_2 = 0,\ Q_1 = 1,\ Q_0 = 1$$

The minimal detection term (using only the bits that are 1 and unique to state 11 among reachable states) is:

$$\text{CLR} = Q_3 \cdot Q_1 \cdot Q_0$$

Verification: Among the valid stable states (0-10), is $Q_3 Q_1 Q_0 = 1$ true anywhere else?

  • State 10 (1010): $Q_3=1, Q_1=1, Q_0=0 \Rightarrow$ product $=0$. Safe.
  • No other reachable state has $Q_3=1$ and $Q_1=1$ simultaneously with $Q_0=1$.

Hence $\text{CLR}=Q_3 Q_1 Q_0$ uniquely fires at state 1011. Confirmed correct.

Step 4: T Flip-Flop Connections (Ripple Configuration)

For a ripple up counter with negative-edge (falling-edge) triggered flip-flops, each Q drives the clock of the next stage, and all T inputs are held at logic 1 to toggle:

Flip-FlopT InputClock Source
FF01External Clock (CLK)
FF11$Q_0$
FF21$Q_1$
FF31$Q_2$

(With $T=1$, each flip-flop toggles on every triggering edge, giving frequency division by 2 down the chain, the standard ripple count-up behaviour.)

Step 5: Circuit Diagram

        +---------+     +---------+     +---------+     +---------+
CLK --->|CLK  FF0 |     |CLK  FF1 |     |CLK  FF2 |     |CLK  FF3 |
        |T=1   Q0 |--+->|T=1   Q1 |--+->|T=1   Q2 |--+->|T=1   Q3 |--+
        |    CLR  |  |  |    CLR  |  |  |    CLR  |  |  |    CLR  |  |
        +----^----+  |  +----^----+  |  +----^----+  |  +----^----+  |
             |       |       |       |       |       |       |       |
             +-------+-------+-------+-------+-------+-------+       |
                     |               |                             |
             CLR<----+-----[ 3-input AND: Q3.Q1.Q0 ]<--------------+
                     Q0            Q1              Q3

Reset logic:

Q3 ---+
Q1 ---+---> [ 3-input AND ] ---> CLR ---> (active-HIGH asynchronous CLEAR of all FFs)
Q0 ---+

Step 6: Summary

ParameterValue
Modulus11
Flip-flops4 (T type)
TypeAsynchronous / ripple
T inputsall tied to logic 1
Reset term$Q_3 \cdot Q_1 \cdot Q_0$ (state 1011)
Count range0000 โ†’ 1010 (0 to 10)

Conclusion: A Mod-11 asynchronous up counter uses 4 T flip-flops in ripple cascade with all $T=1$. A 3-input AND gate decoding $Q_3 Q_1 Q_0$ detects the transient state 1011 and asynchronously clears all flip-flops back to 0000, giving a repeating cycle of 11 states.

Short on time? The 1, 5 and 10 mark versions of this answer, flashcards and practice sets come with a program pass.