A presentation on Counters (second)

Slides:



Advertisements
Similar presentations
Synchronous Counters with SSI Gates
Advertisements

Registers and Counters
Shift Register Application Chapter 22 Subject: Digital System Year: 2009.
Sequential Circuit - Counter -
Shift Registers and Shift Register Counters
COE 202: Digital Logic Design Sequential Circuits Part 4 KFUPM Courtesy of Dr. Ahmad Almulhem.
C.S. Choy1 SEQUENTIAL LOGIC A circuit’s output depends on its previous state (condition) in addition to its current inputs The state of the circuit is.
M.S.P.V.L. Polytechnic College, Pavoorchatram
Sequential Circuit Introduction to Counter
Introduction Flip-flops are synchronous bistable devices. The term synchronous means the output changes state only when the clock input is triggered. That.
What is shift register? A shift register is a digital memory circuit found in calculators, computers, and data-processing systems. Bits (binary digits)
Sequential Circuit  It is a type of logic circuit whose output depends not only on the present value of its input signals but on the past history of its.
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.
CHAPTER 3 Counters.  One of the common requirement in digital circuits/system is counting, both direction (forward and backward)  Digital clocks and.
A presentation on Counters
Asynchronous Counters
Counters.
SEQUENTIAL CIRCUITS USING TTL 74XX ICS
Chapter 1_4 Part II Counters
Asynchronous Counter © 2014 Project Lead The Way, Inc.Digital Electronics.
1 Sequential Circuits Registers and Counters. 2 Master Slave Flip Flops.
Sequential Circuit - Counter -
Registers and Counters
Rabie A. Ramadan Lecture 3
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.
Counters By Taweesak Reungpeerakul
ECEN 248: INTRODUCTION TO DIGITAL SYSTEMS DESIGN Lecture 17 Dr. Shi Dept. of Electrical and Computer Engineering.
CHAPTER 3 Counters.  One of the common requirement in digital circuits/system is counting, both direction (forward and backward)  Digital clocks and.
7-6 단일 레지스터에서 Microoperation Multiplexer-Based Transfer  Register 가 서로 다른 시간에 둘 이상의 source 에서 data 를 받을 경우 If (K1=1) then (R0 ←R1) else if (K2=1) then.
 Counters are sequential circuits which "count" through a specific state sequence. They can count up, count down, or count through other fixed sequences.
ENG241 Digital Design Week #8 Registers and Counters.
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.
CHAPTER 8 - COUNTER -.
Counter Circuits and VHDL State Machines
Sequential logic circuits
COUNTERS Why do we need counters?
Counters.
Basic terminology associated with counters Technician Series
Unit 1 – Counters and Registers Mr. Grimming. Introduction FFs and logic gates are combined to form various counters and registers. Unit Goals Goals:
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.
Flip-Flop Flip-flops Objectives Upon completion of this chapter, you will be able to :  Construct and analyze the operation of a latch flip-flop made.
FLIP FLOPS Binary unit capable of storing one bit – 0 or 1
Homework Reading Machine Projects Labs Tokheim Chapter 9.1 – 9.6
EKT 124 / 3 DIGITAL ELEKTRONIC 1
EKT 221 – Counters.
EKT 221 : Digital 2 COUNTERS.
Sequential Logic Counters and Registers
Sequential Circuit: Counter
Flip-Flop.
Asynchronous Inputs of a Flip-Flop
Sequential Circuit - Counter -
Digital Fundamentals with PLD Programming Floyd Chapter 10
Registers and Counters Register : A Group of Flip-Flops. N-Bit Register has N flip-flops. Each flip-flop stores 1-Bit Information. So N-Bit Register Stores.
COE 202: Digital Logic Design Sequential Circuits Part 4
Counters and Registers
29-Nov-18 Counters Chapter 5 (Sections ).
Computer Architecture and Organization: L02: Logic design Review
EET107/3 DIGITAL ELECTRONICS 1
Chapter 8 Counters Changjiang Zhang
CHAPTER 4 COUNTER.
Digital Logic Department of CNET Chapter-6
Digital Logic Department of CNET Chapter-6
Outline Registers Counters 5/11/2019.
Counters.
Digital Electronics and Logic Design
Presentation transcript:

A presentation on Counters (second) Information obtained using educative resources from the WWW. http://www.eelab.usyd.edu.au/digital_tutorial/part2/counter02.html http://en.wikipedia.org/wiki/Counter

Review Counters: Two principal categories Counters are divided in two categories, these are: Asynchronous (Ripple) Counters - the first flip-flop is clocked by the external clock pulse, and then each successive flip-flop is clocked by the Q or Q' output of the previous flip-flop. Synchronous Counters - all memory elements are simultaneously triggered by the same clock.

Two-bit asynchronous counter A two-bit asynchronous counter is shown on the left. It uses two J-K flip flops.

Three-bit asynchronous counter

A Decade Counter (asynchronous counter)

SYNCHRONOUS COUNTER

Synchronous counters In synchronous counters, the clock inputs of all the flip-flops are connected together and are triggered by the input pulses.   Thus, all the flip-flops change state simultaneously (in parallel).   The circuit below is a 3-bit synchronous counter.  

3-bit Synchronous counter

Synchronous counters The J and K inputs of FF0 are connected to HIGH. FF1 has its J and K inputs connected to the output of FF0, and the J and K inputs of FF2 are connected to the output of an AND gate that is fed by the outputs of FF0 and FF1.

Synchronous counter

Synchronous counter Pay attention to what happens after the 3rd clock pulse.   Both outputs of FF0 and FF1 are HIGH.   The positive edge of the 4th clock pulse will cause FF2 to change its state due to the AND gate. Q0: FF0 Q1: FF1 Q2: FF2

Synchronous counter The count sequence for the 3-bit counter is shown on the right.

Synchronous counter The most important advantage of synchronous counters is that there is no cumulative time delay because all flip-flops are triggered in parallel.   Thus, the maximum operating frequency for this counter will be significantly higher than for the corresponding ripple counter.

Synchronous Decade Counters Similar to an asynchronous decade counter, a synchronous decade counter counts from 0 to 9 and then recycles to 0 again.   This is done by forcing the 1010 state back to the 0000 state.   This so called truncated sequence can be constructed by the following circuit.

Synchronous Decade Counters

Synchronous Decade Counters From the sequence on the left, we notice that: Q0 toggles on each clock pulse.

Synchronous Decade Counters Q1 changes on the next clock pulse each time Q0=1 and Q3=0.

Synchronous Decade Counters Q2 changes on the next clock pulse each time Q0=Q1=1. Q3 changes on the next clock pulse each time Q0=1, Q1=1 and Q2=1 (count 7), or when Q0=1 and Q3=1 (count 9).

Synchronous Up-Down Counters A circuit of a 3-bit synchronous up-down counter and a table of its sequence are shown below.   Similar to an asynchronous up-down counter, a synchronous up-down counter also has an up-down control input.   It is used to control the direction of the counter through a certain sequence.

Synchronous Up-Down Counters

Synchronous Up-Down Counters An examination of the sequence table shows: for both the UP and DOWN sequences, Q0 toggles on each clock pulse.

Synchronous Up-Down Counters for the UP sequence, Q1 changes state on the next clock pulse when Q0=1.

Synchronous Up-Down Counters for the DOWN sequence, Q1 changes state on the next clock pulse when Q0=0.

Synchronous Up-Down Counters for the UP sequence, Q2 changes state on the next clock pulse when Q0=Q1=1. for the DOWN sequence, Q2 changes state on the next clock pulse when Q0=Q1=0.

Applications Digital counters are very useful in many applications. They can be easily found in digital clocks and parallel-to-serial data conversion (multiplexing).

Applications A group of bits appearing simultaneously on parallel lines is called parallel data.   A group of bits appearing on a single line in a time sequence is called serial data.   Parallel-to-serial conversion is normally accomplished by the use of a counter to provide a binary sequence for the data-select inputs of a multiplexer, as illustrated in the circuit below.

Applications

Applications The Q outputs of the modulus-8 counter are connected to the data-select inputs of an eight-bit multiplexer.   The first byte (eight-bit group) of parallel data is applied to the multiplexer inputs.   As the counter goes through a binary sequence from 0 to 7, each bit beginning with D0, is sequentially selected and passed through the multiplexer to the output line.

Applications After eight clock pulses, the data byte has been converted to a serial format and sent out on the transmission line.   Then, the counter recycles back to 0 and converts another parallel byte sequentially again by the same process.

Merry Christmas, Happy New Year and Happy 3 Kings Day! STUDY!!!