Asynchronous Counter © 2014 Project Lead The Way, Inc.Digital Electronics.

Slides:



Advertisements
Similar presentations
D Flip-Flop.
Advertisements

Synchronous Counters with SSI Gates
Latches CS370 –Spring 2003 Section 4-2 Mano & Kime.
Digital Logic Chapter 5 Presented by Prof Tim Johnson
Sequential circuit Digital electronics is classified into combinational logic and sequential logic. In combinational circuit outpus depends only on present.
Homework Reading Machine Projects Labs Tokheim Chapter 9.1 – 9.6
Counters Mano & Kime Sections 5-4, 5-5. Counters Ripple Counter Synchronous Binary Counters –Design with D Flip-Flops –Design with J-K Flip-Flops Counters.
ENGIN112 L20: Sequential Circuits: Flip flops October 20, 2003 ENGIN 112 Intro to Electrical and Computer Engineering Lecture 20 Sequential Circuits: Flip.
CS 151 Digital Systems Design Lecture 20 Sequential Circuits: Flip flops.
ENGIN112 L27: Counters November 5, 2003 ENGIN 112 Intro to Electrical and Computer Engineering Lecture 27 Counters.
CS370 Counters. Overview °Counter: A register that goes through a prescribed series of states °Counters are important components in computers. °Counters.
C.S. Choy1 SEQUENTIAL LOGIC A circuit’s output depends on its previous state (condition) in addition to its current inputs The state of the circuit is.
Sequential Circuit Introduction to Counter
EET 1131 Unit 11 Counter Circuits  Read Kleitz, Chapter 12, skipping Sections and  Homework #11 and Lab #11 due next week.  Quiz next week.
Lab 5 :JK Flip Flop and Counter Fundamentals:
What is shift register? A shift register is a digital memory circuit found in calculators, computers, and data-processing systems. Bits (binary digits)
Electronic Counters.
Counters  A counter is a device which stores (and sometimes displays) the number of times a particular event or process has occurred, often in relationship.
Design of Counters ..
A presentation on Counters
Asynchronous Counters
Counters.
SEQUENTIAL CIRCUITS USING TTL 74XX ICS
Counter Section 6.3.
Flip Flops. Clock Signal Sequential logic circuits have memory Output is a function of input and present state Sequential circuits are synchronized by.
Registers and Counters
Synchronous Counters.
Registers and Counters
Asynchronous Counters with SSI Gates
Flip Flop
CS1104 – Computer Organization Aaron Tan Tuck Choy School of Computing National University.
Digital Design: Principles and Practices
Synchronous Counters with SSI Gates
© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed Digital Fundamentals Tenth Edition Floyd.
Synch 1.1 Synchronous Counters 1 ©Paul Godin Created January 2008.
Counter Classification Count modulus (MOD) – total number of states in the counter sequence Counter triggering technique – positive edge or negative edge.
ECEN 248: INTRODUCTION TO DIGITAL SYSTEMS DESIGN Lecture 17 Dr. Shi Dept. of Electrical and Computer Engineering.
Registers and Counters by Dr. Amin Danial Asham. References  Digital Design 5 th Edition, Morris Mano.
Flip Flops 3.1 Latches and Flip-Flops 3 ©Paul Godin Created September 2007 Last Edit Aug 2013.
 Counters are sequential circuits which "count" through a specific state sequence. They can count up, count down, or count through other fixed sequences.
Asynch 1.1 Asynchronous Counters 1 ©Paul Godin Last Edit Sept 2009.
© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed Digital Fundamentals Tenth Edition Floyd.
ECA1212 Introduction to Electrical & Electronics Engineering Chapter 9: Digital Electronics – Sequential Logic by Muhazam Mustapha, November 2011.
CHAPTER 8 - COUNTER -.
Synchronous Counters Synchronous digital counters have a common clock which results in all the flip-flops being triggered simultaneously. Consequently,
Counter Circuits and VHDL State Machines
Sequential logic circuits
Flip Flop Chapter 15 Subject: Digital System Year: 2009.
Chapter 10 Flip-Flops and Registers 1. Objectives You should be able to: Explain the internal circuit operation of S-R and gated S-R flip-flops. Explain.
COUNTERS Why do we need counters?
Basic terminology associated with counters Technician Series
Synchronous Sequential Circuits by Dr. Amin Danial Asham.
Flip Flops 3.1 Latches and Flip-Flops 3 ©Paul Godin Created September 2007 Last Edit Aug 2013.
Counters and registers Eng.Maha Alqubali. Registers Registers are groups of flip-flops, where each flip- flop is capable of storing one bit of information.
Digital Logic & Design Dr. Waseem Ikram Lecture No. 26.
Date: 01/12/2014 Asynchronous (Ripple) Counters Patel Siddhi P rd SEM Computer Science and Engneering B.M.C.E.T Subject Name: Digital Electronics.
FLIP FLOPS Binary unit capable of storing one bit – 0 or 1
Synchronous Counter with MSI Gates
Asynchronous Counters with SSI Gates
Asynchronous Counters
Sequential Logic Counters and Registers
Sequential Circuit: Counter
Asynchronous Counters
D Flip-Flop.
Asynchronous Counters with SSI Gates
Synchronous Counters with MSI Gates
Synchronous Counters with MSI Gates
CHAPTER 4 COUNTER.
Flip Flops Unit-4.
CMPE212 Discussion 11/21/2014 Patrick Sykes
Presentation transcript:

Asynchronous Counter © 2014 Project Lead The Way, Inc.Digital Electronics

Asynchronous Counters 2 This presentation will Define asynchronous counters. Define the terms states and modulus. Provide multiple examples of asynchronous counters designed with D & J/K flip-flops. Explain an asynchronous counter’s ripple effect. Summarize the asynchronous counter design steps.

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 (discussed later) 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 pulses, or ripples, its way through the flip-flops. 3

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 (Mod-12) would count from 0 (0000) to 11 (1011) and would require four flip-flops (2 4 = 16 states; 12 are used) 4

Asynchronous Counter 1Bit: D Flip-Flop - Positive Edge Trigger 5 CLK Q0 010 Repeats →

Asynchronous Counter 2 Bit Up Counter: D Flip-Flops - Positive Edge Trigger 6 CLK Q0 Q1 0 Repeats → “0”“1”“2”“3” Since we want Q1 to toggle on the falling edge of Q0, we must clock the second flip- flop from the of the first.

Asynchronous Counter 3 Bit Up Counter: D Flip-Flops - Positive Edge Trigger 7 CLK Q0 Q1 Repeats → Q2 “0”“2”“4”“6”“1”“3”“5”“7” The CLKs are connected to the of the previous flip-flop.

The Ripple Effect As the clock input “ripples” from the first flip-flop to the last, the propagation delays from the flip-flops accumulate. This causes the Q outputs to change at different times, resulting in the counter briefly producing incorrect counts. For example, as a 3 bit ripple counter counts from 7 to 0, it will briefly output the count 6 and 4. 8 CLK Q0 Q1 Q mSec 100 nSec

Asynchronous Counter 3 Bit Down Counter: D Flip-Flops - Positive Edge Trigger 9 CLK Q0 Q1 Repeats → Q2 “7”“5”“3”“1”“6”“4”“2”“0” Note: The CLKs are connected to the Q of the previous flip-flop.

Up Counters –Connect the CLK input to the Q output with the opposite polarity. Down Counters –Connect the CLK input to the Q output with the same polarity. Asynchronous Counter Summary 10

Asynchronous Counter 3 Bit Up Counter: JK Flip-Flops – Negative Edge Trigger 11 CLK Q0 Q1 Repeats → Q2 “0”“2”“4”“6”“1”“3”“5”“7” The active low CLKs are connected to the Q of the previous flip-flop.

Asynchronous Counter 3 Bit Down Counter: JK Flip-Flops - Negative Edge Trigger Q2 The active low CLKs are connected to the of the previous flip-flop. CLK Q0 Q1 Repeats → “7”“5”“3”“1”“6”“4”“2”“0”

Modulus Asynchronous Counter 3 Bit Mod-6 (0-5) Up Counter: D Flip-Flops Q2 RESET Q0 Q1 Repeats → “0”“2”“4”“0”“1”“3”“5”“1” The upper limit of the count is 5; therefore, the reset circuit must detect a 6 (count +1).

Asynchronous Counter Design Steps 1)Select Counter Type Up or Down Modulus 2)Select Flip-Flop Type D (74LS74) J/K (74LS76) 3)Determine Number of Flip-Flops 2 # Flip-Flops  Modulus 4)Design Count Limit Logic Input to reset logic circuit is count limit plus one for up counters (minus one for down counters) 14