2079 10

BIT103 ยท 2079 ยท 5 marks

Design Mod-5 synchronous counter using T- flip flop.

Design Mod-5 synchronous counter using T- flip flop. [5]

Digital LogicChapter 9: Sequential Circuits and CountersCounter design using flip-flops

Quick answer

A Mod-5 counter counts from 0 to 4 (5 states: 000 โ†’ 001 โ†’ 010 โ†’ 011 โ†’ 100 โ†’ 000) and then resets. We need 3 T flip-flops (Q2, Q1, Q0) to represent 5 states.

Mod-5 Synchronous Counter Using T Flip-Flop

Overview


Step 1: State Transition Table

StateQ2Q1Q0Next Q2Next Q1Next Q0
0000001
1001010
2010011
3011100
4100000
5 (invalid)101XXX
6 (invalid)110XXX
7 (invalid)111XXX

Step 2: Find T Inputs

For a T flip-flop: T = Q โŠ• Q(next)
(T = 1 means the flip-flop toggles; T = 0 means it holds)

Q2Q1Q0Next Q2Next Q1Next Q0T2T1T0
000001001
001010011
010011001
011100111
100000100
101XXXXXX
110XXXXXX
111XXXXXX

Step 3: K-Map Simplification

For T0:

Q2\Q1Q000011110
01111
10XXX

$$\boxed{T0 = \overline{Q2}}$$

For T1:

Q2\Q1Q000011110
00110
10XXX

$$\boxed{T1 = \overline{Q2} \cdot Q0}$$

For T2:

Q2\Q1Q000011110
00010
11XXX

$$\boxed{T2 = Q1 \cdot Q0 + Q2}$$


Step 4: Boolean Expressions Summary

$$T0 = \overline{Q2}$$

$$T1 = \overline{Q2} \cdot Q0$$

$$T2 = Q1 \cdot Q0 + Q2$$


Step 5: Logic Circuit Diagram

CLK ----+--------+--------+
        |        |        |
      [TFF]    [TFF]    [TFF]
      T=T2     T=T1     T=T0
       Q2       Q1       Q0
        |        |        |
        |        +---AND--+----> T1
        |        |  (Q1ยทQ0)
        +--OR----|-----------> T2
           (Q2 + Q1ยทQ0)
        |
        NOT Q2 -----------> T0

Counting Sequence

$$000 \rightarrow 001 \rightarrow 010 \rightarrow 011 \rightarrow 100 \rightarrow 000 , (\text{repeats})$$

This completes the Mod-5 Synchronous Counter design using T flip-flops.

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