Asynchronous Counters with SSI Gates

Slides:



Advertisements
Similar presentations
Synchronous Counters with SSI Gates
Advertisements

Lecture 23: Registers and Counters (2)
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.
A presentation on Counters
Asynchronous Counters
Asynchronous Counter © 2014 Project Lead The Way, Inc.Digital Electronics.
Synchronous Counters.
Principles & Applications
Asynchronous Counters with SSI Gates
 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.
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.
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
EET 1131 Unit 11 Counter Circuits
Synchronous Counter with MSI Gates
SR Flip-Flop Negative Edge Triggered Flip-Flops The SR Flip-Flop
Clocks A clock is a free-running signal with a cycle time.
Asynchronous Counters
Sequential Logic Counters and Registers
Flip-FLops and Latches
Flip Flops.
FIGURE 5.1 Block diagram of sequential circuit
Sequential Circuit: Counter
Counters - Electronics for scientists course -Birzeit university
Principles & Applications
Flip-Flop.
DR S. & S.S. GHANDHY ENGINEENRING COLLEGE
Asynchronous Counters
CISE204: Design of Digital Systems Lecture 18 : Sequential Circuits
Sequential Circuit - Counter -
D Flip-Flop.
Flip-FLops and Latches
Flip-FLops and Latches
Registers and Counters
Digital Fundamentals with PLD Programming Floyd Chapter 10
Flip-Flop Applications
Asynchronous Counters with SSI Gates
Flip-FLops and Latches
Flip-Flop Applications
COE 202: Digital Logic Design Sequential Circuits Part 4
Counters and Registers
Asynchronous Counter with MSI Gates
Synchronous Counters with MSI Gates
Flip-FLops and Latches
Counters and Registers
Asynchronous Counters 2
Synchronous Counters with MSI Gates
ECEN 248: INTRODUCTION TO DIGITAL SYSTEMS DESIGN
Instructor: Alexander Stoytchev
EET 1131 Unit 11 Counter Circuits
Chapter 8 Counters Changjiang Zhang
CHAPTER 4 COUNTER.
Instructor: Alexander Stoytchev
Instructor: Alexander Stoytchev
FLIP-FLOPS.
Flip Flops Unit-4.
Flip-FLops and Latches
Registers and Counters
Instructor: Alexander Stoytchev
Counters.
Sequential Digital Circuits
Presentation transcript:

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

Asynchronous Counters Asynchronous Counters with SSI Gates Digital Electronics TM 3.2 Asynchronous Counters 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 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 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 1Bit: D Flip-Flop - Positive Edge Trigger Asynchronous Counters with SSI Gates Digital Electronics TM 3.2 Asynchronous Counters Q0 1 Repeats → CLK Project Lead The Way, Inc. Copyright 2009

Asynchronous Counters with SSI Gates Asynchronous Counter 2 Bit Up Counter: D Flip-Flops - Positive Edge Trigger Digital Electronics TM 3.2 Asynchronous Counters 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 Counters with SSI Gates Asynchronous Counter 3 Bit Up Counter: D Flip-Flops - Positive Edge Trigger Asynchronous Counters with SSI Gates Digital Electronics TM 3.2 Asynchronous Counters 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 The Ripple Effect Digital Electronics TM 3.2 Asynchronous Counters 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 Counters with SSI Gates Asynchronous Counter 3 Bit Down Counter: D Flip-Flops - Positive Edge Trigger Asynchronous Counters with SSI Gates Digital Electronics TM 3.2 Asynchronous Counters Note: The CLKs are connected to the Q of the previous flip-flop. “7” “6” “5” “4” “3” “2” “1” “0” 1 Q2 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 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 Counters with SSI Gates Asynchronous Counter 3 Bit Up Counter: JK Flip-Flops – Negative Edge Trigger Asynchronous Counters with SSI Gates Digital Electronics TM 3.2 Asynchronous Counters 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 Counters with SSI Gates Asynchronous Counter 3 Bit Down Counter: JK Flip-Flops - Negative Edge Trigger Asynchronous Counters with SSI Gates Digital Electronics TM 3.2 Asynchronous Counters 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 Modulus Asynchronous Counter 3 Bit Mod-6 (0-5) Up Counter: D Flip-Flops Asynchronous Counters with SSI Gates Digital Electronics TM 3.2 Asynchronous Counters 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” The reset (clear) is low activation (a LOW triggers the CLEAR). If you watch carefully, you should see the number 110 display for just a fraction of a second before the NAND resets the count. You can also see the NAND gate flash low for a fraction of a second. You may wish to lower the frequency even further to see this (5 Hz) 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 Select Counter Type Up or Down Modulus Select Flip-Flop Type D (74LS74) J/K (74LS76) Determine Number of Flip-Flops 2 # Flip-Flops  Modulus 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