CHAPTER 8 - COUNTER -.

Slides:



Advertisements
Similar presentations
A presentation on Counters (second)
Advertisements

EKT 124 / 3 DIGITAL ELEKTRONIC 1
Figure 8–1 A 2-bit asynchronous binary counter
Counters Chapter 17 Subject: Digital System Year: 2009.
Sequential Digital Circuits Dr. Costas Kyriacou and Dr. Konstantinos Tatas.
Digital Logic Chapter 5 Presented by Prof Tim Johnson
EKT 124 / 3 DIGITAL ELEKTRONIC 1
Sequential Circuit - Counter -
Counters and Registers
CS370 Counters. Overview °Counter: A register that goes through a prescribed series of states °Counters are important components in computers. °Counters.
M.S.P.V.L. Polytechnic College, Pavoorchatram
Asynchronous and Synchronous Counters
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)
Chapter 9 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.
Design of Counters ..
CHAPTER 3 Counters.  One of the common requirement in digital circuits/system is counting, both direction (forward and backward)  Digital clocks and.
Digital Fundamentals with PLD Programming Floyd Chapter 10
A presentation on Counters
Asynchronous Counters
Chapter 7 Counters and Registers
Asynchronous Counter © 2014 Project Lead The Way, Inc.Digital Electronics.
Counter Section 6.3.
Sequential Circuit - Counter -
Mid3 Revision Prof. Sin-Min Lee. 2 Counters 3 Figure 9--1 A 2-bit asynchronous binary counter. Asynchronous Counter Operation.
Registers and Counters
Asynchronous Counters with SSI Gates
CS1104 – Computer Organization Aaron Tan Tuck Choy School of Computing National University.
Rabie A. Ramadan Lecture 3
Digital Design: Principles and Practices
Counter Application (Part B) By : Pn Siti Nor Diana Ismail CHAPTER 3.
© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed Digital Fundamentals Tenth Edition Floyd.
Counters Dr. Rebhi S. Baraka Logic Design (CSCI 2301) Department of Computer Science Faculty of Information Technology The Islamic University.
2017/4/24 CHAPTER 6 Counters Chapter 5 (Sections )
Synch 1.1 Synchronous Counters 1 ©Paul Godin Created January 2008.
Counters By Taweesak Reungpeerakul
Counter Classification Count modulus (MOD) – total number of states in the counter sequence Counter triggering technique – positive edge or negative edge.
CYU / CSIE / Yu-Hua Lee / E- 1 數位邏輯 Digital Fundamentals Chapter 9 Counters.
BZUPAGES.COM1 Chapter 9 Counters. BZUPAGES.COM2 BzuPages.COM Please share your assignments/lectures & Presentation Slides on bzupages which can help your.
Counters. November 5, 2003 Introduction: Counters  Counters are circuits that cycle through a specified number of states.  Two types of counters: 
Counters - I. Outline  Introduction: Counters  Asynchronous (Ripple) Counters  Asynchronous Counters with MOD number < 2 n  Asynchronous Down Counters.
CHAPTER 3 Counters.  One of the common requirement in digital circuits/system is counting, both direction (forward and backward)  Digital clocks and.
 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.
© 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 1_4 Part III more on … Counters Chapter 1_4 Part III more on … Counters.
JK Flip-Flop. JK Flip-flop The most versatile of the flip-flops Has two data inputs (J and K) Do not have an undefined state like SR flip-flops – When.
Chapter 1 Counters. Counters Counters are sequential circuits which "count” through a specific state sequence. They can count up, count down, or count.
Sequential logic circuits
Decade Counter (BCD Counter). Introduction A counter which is reset at the 10 th clock pulse is called decade counter. The decade counter is otherwise.
COUNTERS Why do we need counters?
Counters.
Basic terminology associated with counters Technician Series
1 Registers A register is a group of n flip-flops each of them capable of storing one bit of information There are two types of registers: parallel and.
Sequential logic circuits First Class 1Dr. AMMAR ABDUL-HAMED KHADER.
FLIP FLOPS Binary unit capable of storing one bit – 0 or 1
LATCHED, FLIP-FLOPS,AND TIMERS
EET 1131 Unit 11 Counter Circuits
EKT 124 / 3 DIGITAL ELEKTRONIC 1
EKT 221 – Counters.
EKT 221 : Digital 2 COUNTERS.
Sequential Logic Counters and Registers
Sequential Circuit - Counter -
Digital Fundamentals with PLD Programming Floyd Chapter 10
Counters and Registers
EET107/3 DIGITAL ELECTRONICS 1
Chapter 8 Counters Changjiang Zhang
Counters.
Presentation transcript:

CHAPTER 8 - COUNTER -

Counter A counter – a group of flip-flops connected together to perform counting operations. The number of flip-flops used and the way in which they are connected determine the number of states (modulus). Two broad categories according to the way they are clocked: Asynchronous counter Synchronous counter

Asynchronous Counter Operation The term asynchronous refers to events that do not have a fixed time relationship with each other and, generally, do not occur at the same time. An asynchronous counter is one in which the flip flops (FF) within the counter do not change states at exactly the same time because they do not have a common clock pulse.

Asynchronous Counter Operation Asynchronous binary counter 2-bit asynchronous binary counter 3-bit asynchronous binary counter 4-bit asynchronous binary counter Asynchronous decade counter

A 2-bit asynchronous binary counter The clock (CLK) is applied to the clock input (C) of only the first flip flop which is always the least significant bit (LSB). The second flip flop is triggered by the output of the first flip flop. Because of the inherent propagation delay time through a flip flop, a transition of the input clock pulse (CLK) and a transition of the output of FF0 can never occur at the exactly the same time. Therefore, the two flip flop are never simultaneously triggered, so the counter operation is asynchronous.

A 2-bit asynchronous binary counter

The Binary State Sequence CLOCK PULSE Q1 Q0 Initially 1 2 3 4 (recycles)

Three-bit asynchronous binary counter and its timing diagram for one cycle

The Binary State Sequence for a 3-bit Binary Counter CLOCK PULSE Q2 Q1 Q0 Initially 1 2 3 4 5 6 7 8 (recycles)

Propagation delays in a 3-bit asynchronous (ripple-clocked) binary counter.

Example A 4 bit asynchronous binary counter is shown in figure below. Each flip flop is negative edge triggered and has a propagation delay for 10 nanoseconds (ns). Develop a timing diagram showing the Q output of each flip flop.

Asynchronous Decade Counters The modulus of a counter is the number of unique states through which the counter will sequence. The maximum possible number of states (max modulus) is 2n . Where n is the number of flip-flops. Counter can also be designed to have a number of states in their sequence that is less than the maximum of 2n. The resulting sequence is called truncated sequence. Counter with ten states are called decade counter. To obtain a truncated sequence it is necessary to force the counter to recycle before going through all of its possible states.

An Asynchronously Clocked Decade Counter with Asynchronous recycling

Example Show how an asynchronous counter can be implemented having a modulus of twelve with a straight binary sequence from 0000 through 1011.

The 74LS93 4 bit asynchronous binary counter The 74LS93 is an example of a specific integrated circuit asynchronous counter. It consists of a single flip flop and a 3 bit asynchronous counter. It can be used as divide by 2 device if only the single flip flop is used, or it can be used as a modulus 8 counter if only the 3 bit counter portion is used. This device also provide gated reset inputs, (RO(1) and RO(2)). When both of these inputs are HIGH, the counter is reset to 0000 state .

Configurations of the 74LS93 asynchronous counter The qualifying label, CTR DIV n indicates a counter with n states

Example Show how the 74LS93 can be used as a modulus 12 counter

Synchronous Counter Operation Synchronous refers to events that have a fixed time relationship with each other. A synchronous counter is one in which all the flip flops in the counter are clocked at the same time by a common clock pulse. Synchronous binary counters 2-bit counter 3-bit counter 4-bit counter Synchronous BCD decade counter

A 2 bit Synchronous Binary Counter

Operation First, assume both flip-flop are reset. When the positive triggered edge of the first clock is applied, FF0 will toggle and Q0 go to high. Input J1 and K1 are both LOW because Q0, to which they connected are connected, has not yet gone HIGH, has not yet gone HIGH (because a propagation delay from the triggered edge of the clock pulse until the Q output actually makes a transition). So, J1= 0 and K1 = 0 when the leading edge of the first clock pulse is applied. This a no change condition, and therefore FF1 does not change state. After CLK1, Q0 = 1 and Q1 = 0. When the leading edge of CLK2 occurs, FF0 toggle and Q0 will go LOW

Timing details for the 2-bit synchronous counter operation (the propagation delays of both flip-flops are assumed to be equal)

A 3 bit Synchronous Binary Counter

Binary State Sequence for a 3 Bit Binary Counter

A 4 bit Synchronous Binary Counter Points where the AND gate outputs are HIGH are indicated by the shaded areas.

A 4 bit Synchronous Decade Counter

States of a 4 bit Synchronous Decade Counter