304 DIGITAL BUILDING BLOCKS AND COMPUTER SYSTEMS
Clock
Clear
Data in
(b)
T 1 T 2 T 3 T 4 T 5 T 6 T 7 T (^8) Figure E6.2.3Continued
(c)
Clock
Clear
Data in
Q 0
Q 1
Q 2
Q 3
Data out
T 1 T 2 T 3 T 4 T 5 T 6 T 7 T 8
Solution
The output is shown in Figure E6.2.3(c).
EXAMPLE 6.2.4
The block diagram for a 3-bit ripple counter is shown in Figure E6.2.4(a). Obtain astate tablefor
the number of pulsesN=0 to 8, and draw astate diagramto explain its operation.
FF1
LSB MSB
D
(a)
Ck
Q 1
Q 1
FF2
D
Ck
Q 2
Q 2
FF3
D
Ck
Q 3
Q 3
Figure E6.2.4(a)Block diagram.(b)State table.(c)State diagram.