August
1999 QUESTION 5 Total Marks: 20 Marks |
Click here to access other
questions
SUGGESTED SOLUTIONS |
(a) | Show how to construct an SR-latch from two NAND gates. | [1] |
![]()
|
||
(b) | Distinguish between synchronous and asynchronous counters. | [2] |
In a synchronous
counter, all the flip-flops are connected to a single clock; in an synchronous counter,
each flip-flop is triggered by the previous one.
|
||
(c) | Design a 3-bit synchronous ring counter, using D flip-flops. | [4] |
![]()
|
||
(d) | Design a 3-bit synchronous up counter, using T flip-flops. | [6] |
![]()
|
||
(e) | Redesign your answer to part (d) as an asynchronous circuit. | [5] |
![]()
|
||
(f) | If you has an up counter and a collection of ordinary logic gates, how would you construct a down counter? | [2] |
It suffices to negate all the outputs. Therefore, one can send output through an inverter, or alternatively take Q' rather than the Q outputs from the flip-flops. |