ECEN 248: INTRODUCTION TO DIGITAL SYSTEMS DESIGN Lecture 17 Dr. Shi Dept. of Electrical and Computer Engineering.

Slides:



Advertisements
Similar presentations
Synchronous Counters with SSI Gates
Advertisements

COUNTERS Counters with Inputs Kinds of Counters Asynchronous vs
Lecture 23: Registers and Counters (2)
Registers and Counters
Digital Logic Chapter 5 Presented by Prof Tim Johnson
Practice Problems 2 Latch and Flip Flop ©Paul Godin Created September 2007 Last edit Aug 2013.
ECE 331 – Digital System Design Flip-Flops and Registers (Lecture #18) The slides included herein were taken from the materials accompanying Fundamentals.
Homework Reading Machine Projects Labs Tokheim Chapter 9.1 – 9.6
ENGIN112 L20: Sequential Circuits: Flip flops October 20, 2003 ENGIN 112 Intro to Electrical and Computer Engineering Lecture 20 Sequential Circuits: Flip.
Contemporary Logic Design Sequential Case Studies © R.H. Katz Transparency No Chapter #7: Sequential Logic Case Studies 7.1, 7.2 Counters.
11/16/2004EE 42 fall 2004 lecture 331 Lecture #33: Some example circuits Last lecture: –Edge triggers –Registers This lecture: –Example circuits –shift.
CS 151 Digital Systems Design Lecture 20 Sequential Circuits: Flip flops.
ENGIN112 L27: Counters November 5, 2003 ENGIN 112 Intro to Electrical and Computer Engineering Lecture 27 Counters.
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
ENGIN112 L26: Shift Registers November 3, 2003 ENGIN 112 Intro to Electrical and Computer Engineering Lecture 26 Shift Registers.
Sequential Circuit Introduction to Counter
A.Abhari CPS2131 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:
What is shift register? A shift register is a digital memory circuit found in calculators, computers, and data-processing systems. Bits (binary digits)
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.
A presentation on Counters
Electronics Technology
Counters.
SEQUENTIAL CIRCUITS USING TTL 74XX ICS
Chapter 1_4 Part II Counters
Counter Section 6.3.
1 Sequential Circuits Registers and Counters. 2 Master Slave Flip Flops.
EE345: Introduction to Microcontrollers Register and Counters Prof. Ahmad Abu-El-Haija.
Lecture 27 Counters Give qualifications of instructors: DAP
Sequential Circuits Chapter 4 S. Dandamudi To be used with S. Dandamudi, “Fundamentals of Computer Organization and Design,” Springer,  S.
Registers and Counters
ECE2030 Introduction to Computer Engineering Lecture 15: Registers, Toggle Cells, Counters Prof. Hsien-Hsin Sean Lee School of Electrical and Computer.
Registers and Counters
Electronics Technology
© The McGraw-Hill Companies, Inc McGraw-Hill 1 PRINCIPLES AND APPLICATIONS OF ELECTRICAL ENGINEERING THIRD EDITION G I O R G I O R I Z Z O N I 14.
Rabie A. Ramadan Lecture 3
Digital Design: Principles and Practices
SEQUENTIAL CIRCUITS Component Design and Use. Register with Parallel Load  Register: Group of Flip-Flops  Ex: D Flip-Flops  Holds a Word of Data 
2017/4/24 CHAPTER 6 Counters Chapter 5 (Sections )
Registers and Counters by Dr. Amin Danial Asham. References  Digital Design 5 th Edition, Morris Mano.
Digital Design Lectures 11 & 12 Shift Registers and Counters.
7-6 단일 레지스터에서 Microoperation Multiplexer-Based Transfer  Register 가 서로 다른 시간에 둘 이상의 source 에서 data 를 받을 경우 If (K1=1) then (R0 ←R1) else if (K2=1) then.
ENG241 Digital Design Week #8 Registers and Counters.
Computer Organization & Programming Chapter 5 Synchronous Components.
Abdullah Said Alkalbani University of Buraimi
Registers and Counters
Counters and Registers Synchronous Counters. 7-7 Synchronous Down and Up/Down Counters  In the previous lecture, we’ve learned how synchronous counters.
Digital Electronics.
Unit 1 – Counters and Registers Mr. Grimming. Introduction FFs and logic gates are combined to form various counters and registers. Unit Goals Goals:
ECEN 248: INTRODUCTION TO DIGITAL SYSTEMS DESIGN Dr. Shi Dept. of Electrical and Computer Engineering.
ECEN 248: INTRODUCTION TO DIGITAL SYSTEMS DESIGN Dr. Shi Dept. of Electrical and Computer Engineering.
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 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.
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.
FLIP FLOPS Binary unit capable of storing one bit – 0 or 1
Homework Reading Machine Projects Labs Tokheim Chapter 9.1 – 9.6
Sequential Logic.
Prof. Hsien-Hsin Sean Lee
Sequential Logic Counters and Registers
Sequential Circuit: Counter
D Flip-Flop.
Digital System Design Review.
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.
29-Nov-18 Counters Chapter 5 (Sections ).
ECEN 248: INTRODUCTION TO DIGITAL SYSTEMS DESIGN
Computer Architecture and Organization: L02: Logic design Review
Flip Flops Unit-4.
14 Digital Systems.
Presentation transcript:

ECEN 248: INTRODUCTION TO DIGITAL SYSTEMS DESIGN Lecture 17 Dr. Shi Dept. of Electrical and Computer Engineering

Counters

Overview  Counters are important components in computers  The increment or decrement by one in response to input  Two main types of counters  Ripple (asynchronous) counters  Synchronous counters  Ripple counters  Flip flop output serves as a source for triggering other flip flops  Synchronous counters  All flip flops triggered by a clock signal  Synchronous counters are more widely used in industry.

Shift Register  Cascade chain of Flip-Flops  Bits travel on Clock edges  Serial in – Serial out, can also have parallel load / read

Binary Ripple Counter  Reset signal sets all outputs to 0  Count signal toggles output of low-order flip flop  Low-order flip flop provides trigger for adjacent flip flop  Not all flip flops change value simultaneously  Lower-order flops change first  Focus on D flip flop implementation

Another Asynchronous Ripple Counter °Similar to T flip-flop example on previous slide

Asynchronous Counters  Each FF output drives the CLK input of the next FF.  FFs do not change states in exact synchronism with the applied clock pulses.  There is delay between the responses of successive FFs.  Ripple counter due to the way the FFs respond one after another in a kind of rippling effect. A3A3 A2A A1A A0A

Synchronous Counters

Synchronous counters  Synchronous(parallel) counters  All of the FFs are triggered simultaneously by the clock input pulses.  All FFs change at same time  Remember  If J=K=0, flop maintains value  If J=K=1, flop toggles  Most counters are synchronous in computer systems.  Can also be made from D flops  Value increments on positive edge  Note that low-order bit (A 0 ) toggles on each clock cycle

Synchronous UP/Down counters  Up/Down Counter can either count up or down on each clock cycle  Up counter counts from 0000 to 1111 and then changes back to 0000  Down counter counts from 1111 to 0000 and then back to 1111  Counter counts up or down each clock cycle  Output changes occur on clock rising edge

Counters with Parallel Load  Counters with parallel load can have a preset value  Load signal indicates that data (I 3 …I 0 ) should be loaded into the counter  Clear resets counter to all zeros  Carry output could be used for higher-order bits

Counters with Parallel Load Clear Clk Load Count Function 0 X X X Clear to 0 1 ↑ 1 X Load inputs 1 ↑ 0 1 Count 1 ↑ 0 0 No Change Function Table  If Clear is asserted (0), the counter is cleared  If Load is asserted data inputs are loaded  If Count asserted counter value is incremented

Binary Counter with Parallel Load and Asynchronous Preset If PL’ = 0, load P into flops

Binary Counter with Parallel Load and Preset Commercial version of binary counter