Asynchronous Counters with SSI Gates

Slides:



Advertisements
Similar presentations
Synchronous Counters with SSI Gates
Advertisements

Registers and Counters. Register Register is built with gates, but has memory. The only type of flip-flop required in this class – the D flip-flop – Has.
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.
CS370 Counters. Overview °Counter: A register that goes through a prescribed series of states °Counters are important components in computers. °Counters.
Sequential Circuit Introduction to Counter
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.
A presentation on Counters
Asynchronous Counters
Asynchronous Counter © 2014 Project Lead The Way, Inc.Digital Electronics.
Counter Section 6.3.
Synchronous Counters.
Registers and Counters
Asynchronous Counters with SSI Gates
Synchronous Counters with SSI Gates
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.
 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.
ECA1212 Introduction to Electrical & Electronics Engineering Chapter 9: Digital Electronics – Sequential Logic by Muhazam Mustapha, November 2011.
CHAPTER 8 - COUNTER -.
Sequential logic circuits
Basic terminology associated with counters Technician Series
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.
1 Homework Reading –Tokheim Chapter 9.1 – 9.6 Machine Projects –Continue on mp3 Labs –Continue in labs with your assigned section.
Sequential logic circuits First Class 1Dr. AMMAR ABDUL-HAMED KHADER.
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.
Sequential Logic An Overview
FLIP FLOPS Binary unit capable of storing one bit – 0 or 1
Homework Reading Machine Projects Labs Tokheim Chapter 9.1 – 9.6
Registers and Counters
EET 1131 Unit 11 Counter Circuits
Synchronous Counter with MSI Gates
Introduction to Advanced Digital Design (14 Marks)
Asynchronous Counters with SSI Gates
Asynchronous Counters
EKT 221 : Digital 2 COUNTERS.
Sequential Logic Counters and Registers
Flip-FLops and Latches
Sequential Circuit: Counter
Principles & Applications
Asynchronous Counters
D Flip-Flop.
Flip-FLops and Latches
Flip-FLops and Latches
Digital Fundamentals with PLD Programming Floyd Chapter 10
Flip-Flop Applications
Flip-FLops and Latches
Flip-Flop Applications
Counters and Registers
Asynchronous Counter with MSI Gates
Synchronous Counters with MSI Gates
Flip-FLops and Latches
Synchronous Counters with MSI Gates
ECEN 248: INTRODUCTION TO DIGITAL SYSTEMS DESIGN
Instructor: Alexander Stoytchev
EET107/3 DIGITAL ELECTRONICS 1
Chapter 8 Counters Changjiang Zhang
CHAPTER 4 COUNTER.
Instructor: Alexander Stoytchev
MTE 202, Summer 2016 Digital Circuits Dr.-Ing. Saleh Hussin
Instructor: Alexander Stoytchev
Flip Flops Unit-4.
Flip-FLops and Latches
Instructor: Alexander Stoytchev
Counters.
Sequential Digital Circuits
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. Introductory Slide / Overview of Presentation 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. This slide provides the definition of asynchronous counters. 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) Defines states and modulus. 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 1 Bit Asynchronous Counter with a D flip-flop 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” 2 Bit Asynchronous Up-Counter with D flip/flops 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” 3 Bit Asynchronous Up-Counter with D flip-flops 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 Explanation of the ripple effect. 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” 3 Bit Asynchronous Down-Counter with D flip-flops 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 Clock/Queue connections for up and down counters. 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” 3 Bit Asynchronous Up-Counter with J/K flip-flops 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” 3 Bit Asynchronous Down-Counter with J/K flip-flops 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” 3 Bit Asynchronous Modulus-6 Up-Counter with D flip/flops 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) Summary of Asynchronous Design Steps Project Lead The Way, Inc. Copyright 2009