You are on page 1of 21

Digital

Fundamentals
Tenth Edition

Floyd

Chapter 8
Asynchronous
Counters
Floyd, Digital Fundamentals, 10th ed © 2009 Pearson Education,©Upper
2008 Pearson Education
Saddle River, NJ 07458. All Rights Reserved
Summary
Counting in Binary
As you know, the binary count sequence follows a
familiar pattern of 0’s and 1’s as described in
Section 2-2 of the text.
000 LSB changes on every
001 number.
010
The next bit changes
011 on every other number.
100
The next bit changes on
101
every fourth number.
110
111

Floyd, Digital Fundamentals, 10th ed © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights Reserved
Summary
Counting in Binary
A counter can form the same pattern of 0’s and 1’s with
logic levels. The first stage in the counter represents the
least significant bit – notice that these waveforms follow
the same pattern as counting in binary.

LSB 0 1 0 1 0 1 0 1 0

0 0 1 1 0 0 1 1 0

MSB 0 0 0 0 1 1 1 1 0

Floyd, Digital Fundamentals, 10th ed © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights Reserved
Summary
Three bit Asynchronous Counter
In an asynchronous counter, the clock is applied only to
the first stage. Subsequent stages derive the clock from
the previous stage.
The three-bit asynchronous counter shown is typical. It uses J-K
flip-flops in the toggle mode.

HIGH

J0 Q0 J1 Q1 J2 Q2

CLK C C C
Q0 Q1
K0 K1 K2

Waveforms are on the following slide…

Floyd, Digital Fundamentals, 10th ed © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights Reserved
Summary
Three bit Asynchronous Counter
Notice that the Q0 output is triggered on the leading edge of
the clock signal. The following stage is triggered from Q0.
The leading edge of Q0 is equivalent to the trailing edge of
Q0. The resulting sequence is that of an 3-bit binary up
counter.
1 2 3 4 5 6 7 8
CLK

Q0 0 1 0 1 0 1 0 1 0

Q1 0 0 1 1 0 0 1 1 0

Q2 0 0 0 0 1 1 1 1 0

Floyd, Digital Fundamentals, 10th ed © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights Reserved
Summary
Propagation Delay
Asynchronous counters are sometimes called ripple
counters, because the stages do not all change together.
For certain applications requiring high clock rates, this is
a major disadvantage.
CLK 1 2 3 4
Notice how delays
are cumulative as Q0
each stage in a Q1
counter is clocked
later than the Q2
previous stage.

Q0 is delayed by 1 propagation delay, Q2 by 2 delays and Q3 by 3 delays.

Floyd, Digital Fundamentals, 10th ed © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights Reserved
Propagation delays in a 3-bit asynchronous (ripple-clocked) binary counter.

Floyd, Digital Fundamentals, 10th ed © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights Reserved
Summary
Asynchronous Decade Counter
This counter uses partial decoding to recycle the count
sequence to zero after the 1001 state. The flip-flops are
trailing-edge triggered, so clocks are derived from the
Q outputs. Other truncated sequences can be obtained
using a similar technique.
CLR
HIGH

Q0 Q1 Q2 Q3
J0 J1 J2 J3

CLK C C C C

K0 K1 K2 K3

Waveforms are on the following slide…


Floyd, Digital Fundamentals, 10th ed © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights Reserved
Summary
Asynchronous Decade Counter
When Q1 and Q3 are HIGH together, the counter is
cleared by a “glitch” on the CLR line.

CLK 1 2 3 4 5 6 7 8 9 10

Q0

Q1 Glitch
Glitch

Q2

Q3

CLR
Glitch
Glitch

Floyd, Digital Fundamentals, 10th ed © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights Reserved
Summary
Asynchronous Counter Using D Flip-flops
D flip-flops can be set to toggle and used as asynchronous counters by
connecting Q back to D. The counter in this slide is a Multisim
simulation of one described in the lab manual. Can you figure out the
sequence?
LSB MSB

Q to D puts D
flip-flop in
toggle mode

The next slide shows the scope…


Floyd, Digital Fundamentals, 10th ed © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights Reserved
Summary

CLK
LSB

MSB

CLR
Note that it is momentarily in state 3 which causes it to clear.

The sequence is 0 – 2 – 1 – (CLR) (repeat)…

Floyd, Digital Fundamentals, 10th ed © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights Reserved
Summary
The 74LS93A Asynchronous Counter
The 74LS93A has one independent toggle J-K flip-flop
driven by CLK A and three toggle J-K flip-flops that form
an asynchronous counter driven by CLK B.
The counter can be extended to form a 4-bit counter by connecting
Q0 to the CLK B input. Two inputs are provided that clear the count.
(1)
CLK B

J J1 J2 J3
0
(14)
CLK A C C C C

K0 K1 K2 K3

(2)
All J and K inputs RO (1)
(3)
are connected RO (2)
(12) (9) (8) (11)
internally HIGH
Q0 Q1 Q2 Q3

Floyd, Digital Fundamentals, 10th ed © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights Reserved
Two configurations of the 74LS93A asynchronous counter.
(The qualifying label, CTR DIV n, indicates a counter with n states.)

Floyd, Digital Fundamentals, 10th ed © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights Reserved
74LS93A connected as a modulus-12 counter.

Floyd, Digital Fundamentals, 10th ed © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights Reserved
Decoding of state 6 (110).

Floyd, Digital Fundamentals, 10th ed © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights Reserved
A 3-bit counter with active-HIGH decoding of count 2 and count 7.

Floyd, Digital Fundamentals, 10th ed © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights Reserved
A basic decade (BCD) counter and decoder.

Floyd, Digital Fundamentals, 10th ed © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights Reserved
Outputs with glitches from the decoder in Figure 9-47. Glitch widths are
exaggerated for illustration and are usually only a few nanoseconds wide.

Floyd, Digital Fundamentals, 10th ed © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights Reserved
A 2-bit synchronous binary counter.

Floyd,
Thomas L. Digital
Floyd Fundamentals, 10th ed © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights Reserved
Digital Fundamentals, 8e
Timing details for the 2-bit synchronous counter operation (the propagation delays of both flip-
flops are assumed to be equal).

Floyd,
Thomas L. Digital
Floyd Fundamentals, 10th ed © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights Reserved
Digital Fundamentals, 8e
Selected Key Terms

Asynchronous Not occurring at the same time.


Modulus The number of unique states through which a
counter will sequence.
Synchronous Occurring at the same time.
Terminal count The final state in a counter’s sequence.
State machine A logic system exhibiting a sequence of states or
values.
Cascade To connect “end-to-end” as when several counters
are connected from the terminal count output of
one to the enable input of the next counter.
Floyd, Digital Fundamentals, 10th ed © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights Reserved

You might also like