Asynchronous Counter

Similar documents
Asynchronous (Ripple) Counters

Counter dan Register

Sequential Logic Counters and Registers

Counters

ASYNCHRONOUS COUNTER CIRCUITS

CHAPTER 6 COUNTERS & REGISTERS

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

EKT 121/4 ELEKTRONIK DIGIT 1

Chapter 7 Counters and Registers

Digital Fundamentals: A Systems Approach

Experiment 8 Introduction to Latches and Flip-Flops and registers

Analysis of Sequential Circuits

Lecture 8: Sequential Logic

RS flip-flop using NOR gate

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

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

Module -5 Sequential Logic Design

Figure 30.1a Timing diagram of the divide by 60 minutes/seconds counter

RS flip-flop using NOR gate

Decade Counters Mod-5 counter: Decade Counter:

Review of digital electronics. Storage units Sequential circuits Counters Shifters

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.

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

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

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

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

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

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

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

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

UNIT-3: SEQUENTIAL LOGIC CIRCUITS

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

ELE2120 Digital Circuits and Systems. Tutorial Note 8

ECE 263 Digital Systems, Fall 2015

PRE J. Figure 25.1a J-K flip-flop with Asynchronous Preset and Clear inputs

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

Digital Fundamentals

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

Universal Asynchronous Receiver- Transmitter (UART)

Registers and Counters

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

Digital Logic Design ENEE x. Lecture 19

Digital Fundamentals: A Systems Approach

MODULE 3. Combinational & Sequential logic

Chapter 4. Logic Design

Other Flip-Flops. Lecture 27 1

Unit 11. Latches and Flip-Flops

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

Digital Systems Based on Principles and Applications of Electrical Engineering/Rizzoni (McGraw Hill

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

INC 253 Digital and electronics laboratory I

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.

Vignana Bharathi Institute of Technology UNIT 4 DLD

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

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

Scanned by CamScanner

EET2411 DIGITAL ELECTRONICS

Report on 4-bit Counter design Report- 1, 2. Report on D- Flipflop. Course project for ECE533

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

TMEL53, DIGITALTEKNIK. INTRODUCTION TO SYNCHRONOUS CIRCUITS, FLIP-FLOPS and COUNTERS

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

Switching Theory And Logic Design UNIT-IV SEQUENTIAL LOGIC CIRCUITS

Chapter 3 Unit Combinational

VTU NOTES QUESTION PAPERS NEWS RESULTS FORUMS Registers

LATCHES & FLIP-FLOP. Chapter 7

Chapter 9. Design of Counters

Logic Design Viva Question Bank Compiled By Channveer Patil

DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING

Chapter 3: Sequential Logic Systems

Logic Design. Flip Flops, Registers and Counters

Chapter 6 Registers and Counters

Introduction to Sequential Circuits

Registers and Counters

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

PGT104 Digital Electronics. PGT104 Digital Electronics

Chapter 5 Flip-Flops and Related Devices

Today 3/8/11 Lecture 8 Sequential Logic, Clocks, and Displays

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

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

3 Flip-Flops. The latch is a logic block that has 2 stable states (0) or (1). The RS latch can be forced to hold a 1 when the Set line is asserted.

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

Asynchronous counters

VU Mobile Powered by S NO Group

Flip-Flops and Related Devices. Wen-Hung Liao, Ph.D. 4/11/2001

MODEL QUESTIONS WITH ANSWERS THIRD SEMESTER B.TECH DEGREE EXAMINATION DECEMBER CS 203: Switching Theory and Logic Design. Time: 3 Hrs Marks: 100

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).

(CSC-3501) Lecture 7 (07 Feb 2008) Seung-Jong Park (Jay) CSC S.J. Park. Announcement

Digital Circuit And Logic Design I. Lecture 8

Digital Circuit And Logic Design I

problem maximum score 1 28pts 2 10pts 3 10pts 4 15pts 5 14pts 6 12pts 7 11pts total 100pts

UNIVERSITI TEKNOLOGI MALAYSIA

CSE Latches and Flip-flops Dr. Izadi. NOR gate property: A B Z Cross coupled NOR gates: S M S R Q M

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

Digital Fundamentals. Lab 5 Latches & Flip-Flops CETT Name: Date:

Synchronous Sequential Logic

Agenda. EE 260: Introduction to Digital Design Counters and Registers. Asynchronous (Ripple) Counters. Asynchronous (Ripple) Counters

Digital Circuits ECS 371

Digital Fundamentals 11/2/2017. Summary. Summary. Floyd. Chapter 7. Latches

MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION (Autonomous) (ISO/IEC Certified)

Fig1-1 2-bit asynchronous counter

Transcription:

Asynchronous Counter Contents: Asynchronous/Ripple Counter Propagation Delay in Ripple Counter MOD Number Synchronous/Parallel Counter 10101010101010101010101010101010101010101010101010101010101010101010101010101010 Counters < 2^N MOD Number Presettable Counters Decade Counter and BCD Counter MOD 60 counter 101010101010101010101010101010101010101010101010101010101010101001010101010101010 Asynchronous Down Counter Prepared By Mohammed Abdul kader Assistant Professor, EEE, IIUC

Asynchronous Counter/Ripple Counter 110101 101010 In asynchronous counter each FF output drives the clock input of next FF. The types of arrangement is called an asynchronous counter because the FFs don t change state in exact synchronism with the applied clock pulses. Only 1 st FF responds to the input clock pulses, other FF gets clock from the output of previous FF. This type of counter is also often referred to as a ripple counter due to the way the FFs respond one after another in a kind of rippling effect. The term asynchronous counter and ripple counter used interchangeably. 2

4-bit asynchronous counter 110101 101010 3

MOD Number 110101 101010 MOD number of a counter as defined as the number of states that the counter goes through in each complete cycle before it recycles back to its starting state. The MOD number can be increased simply by adding more FFs to the counter. Where N is the number of flip-flop. Frequency Division In the basic counter each FF provides an output waveform that is exactly half the frequency of the waveform at its CLK input. In any counter, the signal at the output of the last FF (i.e. the MSB) will have a frequency equal to the input clock frequency divided by MOD number of the counter. 4

Counters with MOD Number<2 N 110101 101010 5

Decade Counters and BCD Counters 110101 101010 The MOD-10 counter is also referred to as a decade counter. In fact, a decade counter is any that has 10 distinct states, no matter what the sequence. A decade counter as shown in fig, which counts in sequence from 0000 (decimal 0) through 1001 (decimal 9), is also commonly called a BCD counter, because it uses only the 10 BCD code groups 0000, 0001,, 1000 and 1001. To reiterate, any MOD-10 counter is a decade counter and any decade counter that counts in binary from 0000 to 1001 is a BCD counter. 6

MOD-60 Counter 110101 101010 Example: A MOD-60 counter was needed to divide the 60 Hz line frequency down to 1 Hz. Construct an appropriate MOD-60 counter. Solution: 2 6 = 64, So we need six FFs to design a MOD-60 counter. The counter is to be cleared when it reaches the count of 60 (111100). Thus, the output of FFs Q5, Q4, Q3 and Q2 must be connected to the NAND fate. The output of flip-flop Q5 will have a frequency of 1Hz. 7

110101 101010 All of the counters we have looked at thus far have counted upward from zero, that is, they were up counters. Asynchronous Down Counter It is relatively simple matter to construct asynchronous (ripple) down counters, which will count downward from a maximum count to zero. The sequence of a 3-bit down counter is given below. 8

Asynchronous Down Counter 110101 101010 9

Propagation Delay in ripple counter 110101 101010 In a ripple counter, because of the inherent propagation delay (t pd ) of each FF, the second FF will not respond until a time t pd after the first FF receives an active clock transition. The third FF will not respond until a time equal to 2 X t pd after the clock transition and so on. In general, we can say that Nth FF cannot change states until a time equal to N X t pd after the clock transition occurs. Assuming, t pd =50 ns, input clock period T=1000ns Output of Flip-flop A toggles after 50 ns of the falling edge of clock, Similarly, output of flip-flop B toggles after 100 ns and output of flip-flop C toggles after 150 ns. In this situation the counter does operate properly in the sense that the FFs do eventually get to their correct states However situation worsens if the input pulses are applied at a much higher frequency. 10

Propagation Delay in ripple counter 110101 101010 The waveform in fig show what happens if the input pulses occur once every 100ns. The condition C=1, B=A=0 (count of 100) never appears, because the input frequency is too high. Problems such as this can be avoided if the period between input pulses is made longer than the total propagation delay of the counter. That for proper counter operation we need. Where N is the number of FFs. Stated in terms of input-clock frequency, the maximum frequency that can be used is given by- 11

Propagation Delay in ripple counter 110101 101010 Example: Suppose that a four-bit ripple counter is constructed using 74LS112 J-K flipflop. 74LS112 has low-to-high propagation delay t PLH = 16 ns and high-to-low propagation delay t PHL = 24 ns. Calculate f max. To calculate f max, we will assume the worst case, that is, we will use t pd = t PHL = 24 ns Clearly, as the number of FFs in the counter increases, the total propagation delay increases and f max decreases. Thus asynchronous counters are not useful at very high frequencies, especially for large number of bits. 12

Synchronous/Parallel Counter 110101 101010 Synchronous/Parallel Counter 13

Synchronous/Parallel Counter 110101 101010 14

Synchronous down and up/down Counter 110101 101010 15

Presettable Counters 110101 101010 16

110101 101010 Note: Read detail circuit operation from book. Ref. Book: Digital systems principle and application by Ronald J Tocci 17