Asynchronous Counters with SSI Gates

Slides:



Advertisements
Similar presentations
Synchronous Counters with SSI Gates
Advertisements

A presentation on Counters (second)
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.
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.
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.
A presentation on Counters
Asynchronous Counters
Counters.
SEQUENTIAL CIRCUITS USING TTL 74XX ICS
Asynchronous Counter © 2014 Project Lead The Way, Inc.Digital Electronics.
Counter Section 6.3.
Registers and Counters
Synchronous Counters.
Registers and Counters
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.
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.
Digital Design Lectures 11 & 12 Shift Registers and Counters.
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.
ENG241 Digital Design Week #8 Registers and Counters.
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,
Introduction to Sequential Logic
Counter Circuits and VHDL State Machines
Sequential logic circuits
Flip Flop Chapter 15 Subject: Digital System Year: 2009.
COUNTERS Why do we need counters?
Counters.
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.
3 BIT DOWN COUNTER SUBJECT: DIGITAL ELECTONICS CODE: COLLEGE: BVM ENGINEERING COLLEGE COLLEGE CODE:008 ELECTRONICS & TELECOMMUNICATION DEPT.
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.
Sequential Logic Circuit Design Eng.Maha Alqubali.
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
Homework Reading Machine Projects Labs Tokheim Chapter 9.1 – 9.6
Synchronous Counter with MSI Gates
Asynchronous Counters with SSI Gates
Asynchronous Counters
EKT 221 : Digital 2 COUNTERS.
Sequential Logic Counters and Registers
Sequential Circuit: Counter
DR S. & S.S. GHANDHY ENGINEENRING COLLEGE
Asynchronous Counters
D Flip-Flop.
Asynchronous Counters with SSI Gates
Synchronous Counters with MSI Gates
Synchronous Counters with MSI Gates
CHAPTER 4 COUNTER.
CMPE212 Discussion 11/21/2014 Patrick Sykes
Presentation transcript:

Asynchronous Counters with SSI Gates Digital Electronics TM 3.2 Asynchronous Counters Asynchronous Counter Project Lead The Way, Inc. Copyright 2009

Asynchronous Counters with SSI Gates Digital Electronics TM 3.2 Asynchronous Counters Asynchronous Counter 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. Project Lead The Way, Inc. Copyright 2009

Asynchronous Counters Asynchronous Counters with SSI Gates Digital Electronics TM 3.2 Asynchronous 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 (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. Project Lead The Way, Inc. Copyright 2009

States / Modulus / Flip-Flops Asynchronous Counters with SSI Gates Digital Electronics TM 3.2 Asynchronous Counters 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 (24 = 16 states; 12 are used) Project Lead The Way, Inc. Copyright 2009

Asynchronous Counter D-Flip Flop – 1 Bit Asynchronous Counters with SSI Gates Digital Electronics TM 3.2 Asynchronous Counters Asynchronous Counter D-Flip Flop – 1 Bit Q0 1 Repeats → CLK Project Lead The Way, Inc. Copyright 2009

Asynchronous Counter Up Counter – D-Flip Flops – 2 Bit Asynchronous Counters with SSI Gates Digital Electronics TM 3.2 Asynchronous Counters Asynchronous Counter Up Counter – D-Flip Flops – 2 Bit Note: Since we want Q1 to toggle on the falling edge of Q0, we must clock the second flip-flop from the of the first. “0” “1” “2” “3” Q1 1 1 Repeats → Q0 1 1 CLK Project Lead The Way, Inc. Copyright 2009

Asynchronous Counter Up Counter – D-Flip Flops – 3 Bit Asynchronous Counters with SSI Gates Digital Electronics TM 3.2 Asynchronous Counters Asynchronous Counter Up Counter – D-Flip Flops – 3 Bit Note: The CLKs are connected to the of the previous flip-flop. “0” “1” “2” “3” “4” “5” “6” “7” Q2 1 1 1 1 1 1 1 Q1 Repeats → Q0 CLK Project Lead The Way, Inc. Copyright 2009

Asynchronous Counters with SSI Gates Digital Electronics TM 3.2 Asynchronous Counters 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. 7 1 6 1 4 1 Q2 1 Q1 Q0 CLK 1 mSec 100 nSec Project Lead The Way, Inc. Copyright 2009

Asynchronous Counter Down Counter – D-Flip Flops – 3 Bit Asynchronous Counters with SSI Gates Digital Electronics TM 3.2 Asynchronous Counters Asynchronous Counter Down Counter – D-Flip Flops – 3 Bit Note: The CLKs are connected to the Q of the previous flip-flop. “7” “6” “5” “4” “3” “2” “1” “0” Q2 1 1 1 1 1 1 1 Q1 Repeats → Q0 CLK Project Lead The Way, Inc. Copyright 2009

Asynchronous Counter Summary Asynchronous Counters with SSI Gates Digital Electronics TM 3.2 Asynchronous Counters Asynchronous Counter Summary 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 Project Lead The Way, Inc. Copyright 2009

Asynchronous Counter Up Counter – JK-Flip Flops – 3 Bit Asynchronous Counters with SSI Gates Digital Electronics TM 3.2 Asynchronous Counters Asynchronous Counter Up Counter – JK-Flip Flops – 3 Bit Note: The active low CLKs are connected to the Q of the previous flip-flop. “0” “1” “2” “3” “4” “5” “6” “7” Q2 1 1 1 1 1 1 1 Q1 Repeats → Q0 CLK Project Lead The Way, Inc. Copyright 2009

Asynchronous Counter Down Counter – JK-Flip Flops – 3 Bit Asynchronous Counters with SSI Gates Digital Electronics TM 3.2 Asynchronous Counters Asynchronous Counter Down Counter – JK-Flip Flops – 3 Bit Note: The active low CLKs are connected to the of the previous flip-flop. “7” “6” “5” “4” “3” “2” “1” “0” Q2 1 1 1 1 1 1 1 Q1 Repeats → Q0 CLK Project Lead The Way, Inc. Copyright 2009

Asynchronous Counters with SSI Gates Digital Electronics TM 3.2 Asynchronous Counters Modulus Asynchronous Counter Up Counter – D Flip Flops – 3 Bit / Mod-6 (0-5) Note: The upper limit of the count is 5; therefore, the reset circuit must detect a 6 (count +1). “0” “1” “2” “3” “4” “5” “0” “1” Q2 1 1 1 1 1 1 Q1 Repeats → Q0 RESET Project Lead The Way, Inc. Copyright 2009

Asynchronous Counter Design Steps Asynchronous Counters with SSI Gates Digital Electronics TM 3.2 Asynchronous Counters Asynchronous Counter Design Steps Select Counter Type Up or Down Modules Select Flip-Flop Type D (74LS74) J/K (74LS76) Determine Number of Flip-Flops 2 # Flip-Flops  Modules Design Count Limit Logic Input to reset logic circuit is count limit plus one for up counters (minus one for down counters) Project Lead The Way, Inc. Copyright 2009