1 / 28

Asynchronous Counters

Asynchronous Counters. Lecture Overview. Classifications of Counters Definitions Asynchronous Counter… J – K Flip Flops D Flip Flops Up Counters Down Counters Truncated Counters Design Example. Classifications of Counters. Asynchronous Counters

emmly
Download Presentation

Asynchronous Counters

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Asynchronous Counters

  2. Lecture Overview • Classifications of Counters • Definitions • Asynchronous Counter… • J – K Flip Flops • D Flip Flops • Up Counters • Down Counters • Truncated Counters • Design Example

  3. Classifications of Counters Asynchronous Counters • Only the first flip-flop is clocked by an external clock. All subsequent flip-flops are clocked by the output of the preceding flip-flop. • Asynchronous counters are slower than synchronous counters because of the delay in the transmission of the pulses from flip-flop to flip-flop. • Asynchronous counters are also called ripple-counters because of the way the clock pulse ripples it way through the flip-flops.

  4. Classifications of Counters Synchronous Counters • All flip-flops are clocked simultaneously by an external clock. • Synchronous counters are faster than asynchronous counters because of the simultaneous clocking. • Synchronous counters are an example of state machine design because they have a set of states and a set of transition rules for moving between those states after each clocked event.

  5. States / Modulus / Flip-Flops • The number of flip-flops determines the count limit or number of states. (STATES = 2 # of flip flops) • The number of states used is called the MODULUS. • For example, a Modulus-12 counter would count from 0 (0000) to 11 (1011) and requires four flip-flops (16 states - 12 used).

  6. 1 Bit Asynch-Counter / Modulus 2

  7. 1 Bit Asynch-Counter / Modulus 2 With Timing Diagram from Logic Analyzer

  8. 2 Bit Asynch-Counter / Modulus 4

  9. 2 Bit Asynch-Counter / Modulus 4 With Timing Diagram from Logic Analyzer 1 0 1 1 MSB 0 0 LSB 0 1 0 1 0 1 0 1 0 0 1 1 0 0

  10. 2 Bit Asynch-Counter / Modulus 4 With Timing Diagram from Logic Analyzer Tip for using the Logic Analyzer: Double click here to open the analyzer

  11. Leave on internal Set this clock to be at least 10 times faster than the circuit clock. Click Here to open Clock setup

  12. 2 Bit Asynch-Counter / Modulus 4 With Timing Diagram from Logic Analyzer

  13. 3 Bit Asynch-Counter / Modulus 8

  14. Q0 Q1 Q2 The Ripple Effect…

  15. Q0 Q1 Q2 3 4 2 0 Ripple Effect…The Problem

  16. D Flip-Flop… Nothing Special About J-K

  17. Six Examples • Modulus 4 Up Counter with Negative Edge Triggered Flip-Flops • Modulus 4 Down Counter with Negative Edge Triggered Flip-Flops • Modulus 4 Up Counter with Positive Edge Triggered Flip-Flops • Modulus 4 Down Counter with Positive Edge Triggered Flip-Flops • Truncated Counter • Counter Design

  18. Up Counter w/ Negative Edge Flip-Flops

  19. Down Counter w/ Negative Edge Flip-Flops

  20. Up Counter w/ Positive Edge Flip-Flops

  21. Down Counter w/ Positive Edge Flip-Flops

  22. Truncating the Count… Modulus 6

  23. Modulus-6 Counter

  24. Asynchronous Counter Design Steps • Select Type • Up or Down • Modules • Select Flip-Flop Type • J-K or D • Positive Edge Trigger (PET) or Negative Edge Trigger (NET) • Determine Number of Flip-Flops • (2# Flip-Flop Modules)

  25. Asynchronous Counter Design Steps • Design Basic Counters • Same polarity for down counters: • Opposite polarity for up counters: • Design Limits Logic • Input to logic is count that is one past the end of sequence.

  26. Design Example • Select Type • Up or Down • Modules • Select Flip-Flop Type • J-K or D • Positive Edge Trigger (PET) or Negative Edge Trigger (NET) • Determine Number of Flip-Flops • (2# Flip-Flop Modules) MOD – 14 (0..13) 24 Flip-Flop 16

  27. Design Example • Design Basic Counters • Same polarity for down counters: • Opposite polarity for up counters: • Design Limits Logic • Input to logic is count that is one past the end of sequence. Limit 13+1 = 14 (1110)

  28. Design Example…Solution

More Related