ASYNCHRONOUS COUNTER CIRCUITS

Similar documents
Asynchronous (Ripple) Counters

Counter dan Register

Digital Fundamentals: A Systems Approach

Counters

2. Counter Stages or Bits output bits least significant bit (LSB) most significant bit (MSB) 3. Frequency Division 4. Asynchronous Counters

Experiment 8 Introduction to Latches and Flip-Flops and registers

EKT 121/4 ELEKTRONIK DIGIT 1

RS flip-flop using NOR gate

Chapter 6. Flip-Flops and Simple Flip-Flop Applications

RS flip-flop using NOR gate

YEDITEPE UNIVERSITY DEPARTMENT OF COMPUTER ENGINEERING. EXPERIMENT VIII: FLIP-FLOPS, COUNTERS 2014 Fall

Review of digital electronics. Storage units Sequential circuits Counters Shifters

Digital Logic Design ENEE x. Lecture 19

Asynchronous counters

Name: Date: Suggested Reading Chapter 7, Digital Systems, Principals and Applications; Tocci

Sequential Logic Counters and Registers

UNIT-3: SEQUENTIAL LOGIC CIRCUITS

Lecture 8: Sequential Logic

Computer Organization & Architecture Lecture #5

CHAPTER 6 COUNTERS & REGISTERS

LATCHES & FLIP-FLOP. Chapter 7

SEMESTER ONE EXAMINATIONS 2002

Flip-Flops. Because of this the state of the latch may keep changing in circuits with feedback as long as the clock pulse remains active.

Asynchronous Counter

SEQUENTIAL LOGIC. Satish Chandra Assistant Professor Department of Physics P P N College, Kanpur

Digital Systems Laboratory 3 Counters & Registers Time 4 hours

Sequential Logic and Clocked Circuits

Chapter 7 Counters and Registers

UNIVERSITI TEKNOLOGI MALAYSIA

Chapter 9 Counters. Clock Edge Output Q 2 Q 1 Q

BISHOP ANSTEY HIGH SCHOOL & TRINITY COLLEGE EAST SIXTH FORM CXC CAPE PHYSICS, UNIT 2 Ms. S. S. CALBIO NOTES lesson #39

Slide 1. Flip-Flops. Cross-NOR SR flip-flop S R Q Q. hold reset set not used. Cross-NAND SR flip-flop S R Q Q. not used reset set hold 1 Q.

CHAPTER 4: Logic Circuits

Advanced Devices. Registers Counters Multiplexers Decoders Adders. CSC258 Lecture Slides Steve Engels, 2006 Slide 1 of 20

Chapter 4. Logic Design

Sri Vidya College of Engineering And Technology. Virudhunagar Department of Electrical and Electronics Engineering

CHAPTER 4: Logic Circuits

Logic and Computer Design Fundamentals. Chapter 7. Registers and Counters

Counters. ENT 263 Digital Electronics

Flip Flop. S-R Flip Flop. Sequential Circuits. Block diagram. Prepared by:- Anwar Bari

Name Of The Experiment: Sequential circuit design Latch, Flip-flop and Registers

Registers and Counters

Dr. Shahram Shirani COE2DI4 Midterm Test #2 Nov 19, 2008

IT T35 Digital system desigm y - ii /s - iii

Decade Counters Mod-5 counter: Decade Counter:

Scanned by CamScanner

Analysis of Sequential Circuits

EE 109 Homework 6 State Machine Design Name: Score:

Logic Gates, Timers, Flip-Flops & Counters. Subhasish Chandra Assistant Professor Department of Physics Institute of Forensic Science, Nagpur

EMT 125 Digital Electronic Principles I CHAPTER 6 : FLIP-FLOP

LSN 12 Shift Registers

VTU NOTES QUESTION PAPERS NEWS RESULTS FORUMS Registers

Digital Fundamentals

Other Flip-Flops. Lecture 27 1

NH 67, Karur Trichy Highways, Puliyur C.F, Karur District UNIT-III SEQUENTIAL CIRCUITS

Introduction. NAND Gate Latch. Digital Logic Design 1 FLIP-FLOP. Digital Logic Design 1

Synchronous Sequential Logic

Vignana Bharathi Institute of Technology UNIT 4 DLD

Module -5 Sequential Logic Design

Registers and Counters

The basic logic gates are the inverter (or NOT gate), the AND gate, the OR gate and the exclusive-or gate (XOR). If you put an inverter in front of

Sequential Digital Design. Laboratory Manual. Experiment #7. Counters

REPEAT EXAMINATIONS 2004 SOLUTIONS

COSC 243. Sequential Logic. COSC 243 (Computer Architecture) Lecture 5 - Sequential Logic 1

Final Exam review: chapter 4 and 5. Supplement 3 and 4

UNIT III. Combinational Circuit- Block Diagram. Sequential Circuit- Block Diagram

INC 253 Digital and electronics laboratory I

Experiment # 9. Clock generator circuits & Counters. Digital Design LAB

Digital Logic Design Sequential Circuits. Dr. Basem ElHalawany

DALHOUSIE UNIVERSITY Department of Electrical & Computer Engineering Digital Circuits - ECED 220. Experiment 4 - Latches and Flip-Flops

1. Convert the decimal number to binary, octal, and hexadecimal.

Long and Fast Up/Down Counters Pushpinder Kaur CHOUHAN 6 th Jan, 2003

EET2411 DIGITAL ELECTRONICS

Chapter 9. Design of Counters

Figure 1 shows a simple implementation of a clock switch, using an AND-OR type multiplexer logic.

CSE 352 Laboratory Assignment 3

Chapter. Synchronous Sequential Circuits

Logic Design Viva Question Bank Compiled By Channveer Patil

DIGITAL TECHNICS. Dr. Bálint Pődör. Óbuda University, Microelectronics and Technology Institute

Digital Design, Kyung Hee Univ. Chapter 5. Synchronous Sequential Logic

Electrical & Computer Engineering ECE 491. Introduction to VLSI. Report 1

Logic Design. Flip Flops, Registers and Counters

Digital Circuit And Logic Design I. Lecture 8

Digital Circuit And Logic Design I

Introduction. Serial In - Serial Out Shift Registers (SISO)

DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING

ELE2120 Digital Circuits and Systems. Tutorial Note 8

DIGITAL SYSTEM FUNDAMENTALS (ECE421) DIGITAL ELECTRONICS FUNDAMENTAL (ECE422) COUNTERS

MC9211 Computer Organization

Timing Pulses. Important element of laboratory electronics. Pulses can control logical sequences with precise timing.

Switching Theory And Logic Design UNIT-IV SEQUENTIAL LOGIC CIRCUITS

Exercise 2: D-Type Flip-Flop

Universal Asynchronous Receiver- Transmitter (UART)

Registers & Counters. Logic and Digital System Design - CS 303 Erkay Savaş Sabanci University

D Latch (Transparent Latch)

More on Flip-Flops Digital Design and Computer Architecture: ARM Edition 2015 Chapter 3 <98> 98

Chapter 8 Sequential Circuits

ELCT201: DIGITAL LOGIC DESIGN

The outputs are formed by a combinational logic function of the inputs to the circuit or the values stored in the flip-flops (or both).

Logic Design II (17.342) Spring Lecture Outline

Transcription:

ASYNCHRONOUS COUNTER CIRCUITS Asynchronous counters do not have a common clock that controls all the Hipflop stages. The control clock is input into the first stage, or the LSB stage of the counter. The clock for each subsequent stage is obtained from the output from the prior flip-flop stage. Toggle flip-flops are used almost exclusively in the design of asynchronous counters. With the toggle flip-flop, the output state toggles between a logic HIGH and a logic LOW on each clock pulse. The external clock that controls the flip-flop output state is input into the LSB stage. Either the true or inverted output from the flip-flop can serve as the output bit value to form the count state or as the clock to the next stage in the counter circuit. For any given asynchronous counter circuit, the count direction for counting serially up or down is dependent on the triggering of the flip-flops. An asynchronous counter designed for positive edge-triggered flip-flops will not generate the desired count sequence if negative edge-triggered flip-flops are substituted in the circuit design. Analyzing waveforms into and out of the flip-flops is crucial to obtaining a properly functioning circuit. Asynchronous counters often experience many timing and glitch problems due to the cumulative propagation delays resulting from the clock ripple action through the flip-flop stages. The effects of the delays worsen with increased counter size and limit the input clock rate. The design procedures for asynchronous serial counters are relatively simple. Techniques for analyzing the operation and designing asynchronous counters are the subject of the next sections. Asynchronous Counter Analysis Asynchronous counter analysis is carried out according to the procedures specified in above. A detailed procedure to follow for analyzing asynchronous counters is demonstrated in Examples (8 and 9). EXAMPLE (8): Asynchronous Counter Analysis Problem: Analyze the operation of the counter in Figure (4). Solution: By observing the circuit in Figure (4), it can be seen that it is a 4-bit positive edge-triggered asynchronous counter. Begin the waveform analysis by drawing an input clock waveform Assume a 50% duty cycle unless otherwise known. Then graph the output waveforms from each flip-flop stage of the counter. Note that only the LSB stage is triggered by the input clock; all other stages are triggered by an output from the previous stage. The waveforms are shown in Figure (8). The state transition diagram, derived from the waveforms, is shown in Figure (9). The counter classification is completed by summarizing the characteristics displayed in the state transition diagram: MOD 16. Divide by 16. 1

Asynchronous. Four-bit. Positive edge-triggered. Binary down counter. Figure (8): Example (8) Waveforms. Present State Figure (9): Example (8) State Transition Diagram. 2

EXAMPLE (9): Asynchronous Counter Analysis Problem: For the counter circuit shown in Figure (4), replace positive edge-triggered flip-flops with negative edge-triggered flip-flops and analyze the operation of the circuit. Solution: The output waveforms are graphed in Figure (10) to determine the operation of the counter. Figure (10): Example (9) Waveforms. By observing the output waveforms, it can be seen that the count direction has changed just by changing the triggering characteristic of the flip-flop forming the counter. The state transition diagram for this circuit is shown in Figure (11). Figure (11): Example (9) State Transition Diagram. The counter classification is summarized here: MOD 16. Divide by 16. Asynchronous. Four-bit. Negative edge-triggered. Binary up counter. 3

Asynchronous Counter Design Asynchronous counters that count in a serial count sequence of up or down can be designed by matching flip-flop circuit performance to the output wave form requirements. These procedures should be followed: 1. Specify the operational requirements of the counter, including the number of stages, modulus, and trigger characteristics. 2. Graph the required output waveforms. 3. Determine the necessary output to use as the clock input to the following stage. Either the true or complemented output could serve as the clock signal. 4. Verify the design through analysis and testing. EXAMPLE (10): Asynchronous Counter Design Problem: Design a 4-bit, MOD-16, asynchronous binary up counter using positive edge-triggered toggle flip-flops. Solution: By observing the output waveforms for a binary up counter, such as those shown in Figure (8), it can be seen that the proper count sequence for a 4-bit binary up counter could be achieved by using the inverted outputs from the flip-flops stages of the counter. Therefore, the counter circuit uses the inverted outputs to produce the output count states, while the true outputs provide the clock signal to the next stage of the counter. The desired counter output waveforms are shown in Figure (12), and the counter circuit is shown in Figure (13). Figure (12): Example (10) Waveforms. Figure (13): Example (10) Asynchronous 4-Bit Binary Up Counter. 4

EXAMPLE (11): Counter Decoding Problem: Design a MOD-10 asynchronous counter by shortening the count sequence of the counter circuit designed in Example (10). (Hint: Use the active-low asynchronous clear input on the flip-flops to reset the counter to zero). Solution: A decade or MOD-10 counter can be designed that counts only from 0 to 9. The MOD-16 counter of Example (10) can be redesigned to produce a MOD-10 count sequence by adding a decoding circuit. The decoding circuit resets the counter back to zero after the ten count states so that it only counts 0 to 9 repetitively. \ The counter will produce the output 1 0 1 0 as its eleventh count state, but this state is not desired. Therefore, decode the output state 1 0 1 0 and reset the counter back to zero using the asynchronous clear inputs to the flip-flops. Decoding the state 1 0 1 0 and clearing the counter to 0 0 0 0 results in a glitch in one of the waveforms. This glitch serves as the clear signal to reset the flip-flops. Figure (14) shows the modified counter circuit and Figure (15) shows the resulting output waveforms. Figure (14): Example (11) Asynchronous Decade Counter Circuit. Figure (15): Example (11) Waveforms. 5