CSC116 · 2081 · 10 marks
Differentiate between synchronous and asynchronous counter. Design a 3-bit synchronous binary counter using T Flip Flop. Draw its timing diagram.
Differentiate between synchronous and asynchronous counter. Design a 3-bit synchronous binary counter using T Flip Flop. Draw its timing diagram.[10]
Quick answer
A 3-bit binary counter counts from 000 to 111 (0 to 7) and resets back to 000.
Synchronous vs Asynchronous Counter and 3-bit Synchronous Binary Counter Design
Part 1: Difference Between Synchronous and Asynchronous Counter
| Feature | Synchronous Counter | Asynchronous Counter (Ripple Counter) |
|---|---|---|
| Clock | All flip-flops are triggered by the same common clock pulse simultaneously | Each flip-flop is triggered by the output of the previous flip-flop |
| Speed | Faster - no propagation delay accumulation | Slower - delay accumulates through each stage |
| Propagation Delay | Minimal (all FFs switch at same time) | Total delay = sum of individual FF delays |
| Complexity | More complex (requires combinational logic) | Simpler in design and construction |
| Glitches | Less prone to glitches | More prone to glitches due to ripple effect |
| Power | Consumes more power | Consumes less power |
| Construction | Uses T or JK FF with additional combinational gates | Simple series connection of complementing FFs |
| Synchronization | All outputs change simultaneously | Outputs change one after another (ripple effect) |
Part 2: Design of 3-bit Synchronous Binary Counter Using T Flip-Flop
Step 1: State Sequence
Let the three flip-flops be Q2 (MSB), Q1, Q0 (LSB).
Step 2: State Transition Table
| Count | Q2 | Q1 | Q0 | Q2(next) | Q1(next) | Q0(next) | T2 | T1 | T0 |
|---|---|---|---|---|---|---|---|---|---|
| 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 |
| 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 1 |
| 2 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 1 |
| 3 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 1 | 1 |
| 4 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 |
| 5 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 1 |
| 6 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 1 |
| 7 | 1 | 1 | 1 | 0 | 0 | 0 | 1 | 1 | 1 |
Note for T Flip-Flop: T = 0 means no change (Q(next) = Q), T = 1 means toggle (Q(next) = Q') Therefore: T = Q(next) XOR Q(present)
Step 3: Derive Boolean Expressions Using K-Map
For T0:
| Q2Q1 \ Q0 | 0 | 1 |
|---|---|---|
| 00 | 1 | 1 |
| 01 | 1 | 1 |
| 11 | 1 | 1 |
| 10 | 1 | 1 |
All cells = 1, therefore:
$$\boxed{T_0 = 1}$$
For T1:
| Q2Q1 \ Q0 | 0 | 1 |
|---|---|---|
| 00 | 0 | 1 |
| 01 | 0 | 1 |
| 11 | 0 | 1 |
| 10 | 0 | 1 |
T1 = 1 only when Q0 = 1, therefore:
$$\boxed{T_1 = Q_0}$$
For T2:
| Q2Q1 \ Q0 | 0 | 1 |
|---|---|---|
| 00 | 0 | 0 |
| 01 | 1 | 1 |
| 11 | 1 | 1 |
| 10 | 0 | 0 |
T2 = 1 when Q1 = 1 and Q0 = 1, therefore:
$$\boxed{T_2 = Q_1 \cdot Q_0}$$
Step 4: Summary of Excitation Equations
$$T_0 = 1$$ $$T_1 = Q_0$$ $$T_2 = Q_1 \cdot Q_0$$
Step 5: Logic Circuit Diagram
CLK ----+----------+----------+
| | |
[T FF] [T FF] [T FF]
T0=1 | T1=Q0| T2=Q1.Q0
| | |
Q0 Q1 Q2
| | |
+----------+ |
| AND --+----------+
+----------+
Detailed Circuit:
+-------+ +-------+ +-------+
CLK --------------->| T FF |-------->| T FF |-------->| T FF |
| | | | | |
T0 = 1 ----------->| T Q0 | +--->| T Q1 | +--->| T Q2 |
+-------+ | +-------+ | +-------+
| |
Q0 ----+ Q1 & Q0 (AND) --+
(T1 = Q0) (T2 = Q1.Q0)
Each T flip-flop shares the same clock line, so all three stages switch simultaneously (a true synchronous counter, unlike a ripple counter where each stage is clocked by the previous stage's output). Flip-flop Q0 toggles on every clock pulse since $T_0 = 1$, flip-flop Q1 toggles whenever Q0 is 1, and flip-flop Q2 toggles only when both Q1 and Q0 are 1, exactly reproducing the 3-bit binary counting sequence $000 \to 001 \to \cdots \to 111 \to 000$.
Short on time? The 1, 5 and 10 mark versions of this answer, flashcards and practice sets come with a program pass.