Sequential Logic Counters and Registers

Slides:



Advertisements
Similar presentations
Tutorial 2 Sequential Logic. Registers A register is basically a D Flip-Flop A D Flip Flop has 3 basic ports. D, Q, and Clock.
Advertisements

D Flip-Flop.
Synchronous Counters with SSI Gates
A presentation on Counters (second)
Registers and Counters
Homework Reading Machine Projects Labs Tokheim Chapter 9.1 – 9.6
Shift Registers and Shift Register Counters
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.
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.
CS 140L Lecture 4 Professor CK Cheng 10/22/02. 1)F-F 2)Shift register 3)Counter (Asynchronous) 4)Counter (Synchronous)
Sequential Circuit Introduction to Counter
What is shift register? A shift register is a digital memory circuit found in calculators, computers, and data-processing systems. Bits (binary digits)
Design of Counters ..
Counters.
SEQUENTIAL CIRCUITS USING TTL 74XX ICS
CS1104 – Computer Organization Aaron Tan Tuck Choy School of Computing National University.
Rabie A. Ramadan Lecture 3
Digital Design: Principles and Practices
2017/4/24 CHAPTER 6 Counters Chapter 5 (Sections )
ECEN 248: INTRODUCTION TO DIGITAL SYSTEMS DESIGN Lecture 17 Dr. Shi Dept. of Electrical and Computer Engineering.
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.
ECA1212 Introduction to Electrical & Electronics Engineering Chapter 9: Digital Electronics – Sequential Logic by Muhazam Mustapha, November 2011.
Sequential logic circuits
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.
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.
Shift Register Counters
Synchronous Counters, ripple counter & other counters Lecture 2
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.
CS1104 – Computer Organization Aaron Tan Tuck Choy School of Computing National University.
Dr. Clincy Professor of CS
Homework Reading Machine Projects Labs Tokheim Chapter 9.1 – 9.6
Electronics Technology
Digital Fundamentals Abdul Hameed
Asynchronous Counters with SSI Gates
EKT 124 / 3 DIGITAL ELEKTRONIC 1
Prof. Hsien-Hsin Sean Lee
Asynchronous Counters
Sequential Circuit: Counter
INTRODUCTION Overview of Shift Registers
Dr. Clincy Professor of CS
DR S. & S.S. GHANDHY ENGINEENRING COLLEGE
Asynchronous Counters
Sequential Circuit - Counter -
D Flip-Flop.
Shift Registers.
Asynchronous Counters with SSI Gates
COE 202: Digital Logic Design Sequential Circuits Part 4
Digital Logic & Design Dr. Waseem Ikram Lecture No. 34.
Counters and Registers
Lecture No. 24 Sequential Logic.
Digital Logic & Design Dr. Waseem Ikram Lecture No. 31.
ECEN 248: INTRODUCTION TO DIGITAL SYSTEMS DESIGN
Dr. Clincy Professor of CS
CSE 370 – Winter Sequential Logic-2 - 1
EET107/3 DIGITAL ELECTRONICS 1
Principles & Applications
CHAPTER 4 COUNTER.
Switching Theory and Logic Design Chapter 5:
Digital Logic Department of CNET Chapter-6
Digital Logic Department of CNET Chapter-6
Flip Flops Unit-4.
14 Digital Systems.
Outline Registers Counters 5/11/2019.
Instructor: Alexander Stoytchev
Counters.
Presentation transcript:

Sequential Logic Counters and Registers Introduction: Counters Asynchronous (Ripple) Counters Synchronous (Parallel) Counters CS1104-13 Lecture 13: Sequential Logic: Counters and Registers

Sequential Logic Counters and Registers Introduction: Registers Simple Registers Registers with Parallel Load Using Registers to implement Sequential Circuits Shift Registers Serial In/Serial Out Shift Registers Serial In/Parallel Out Shift Registers Parallel In/Serial Out Shift Registers Parallel In/Parallel Out Shift Registers CS1104-13 Lecture 13: Sequential Logic: Counters and Registers

Introduction: Counters Counters are circuits that cycle through a specified number of states. Two types of counters: synchronous (parallel) counters asynchronous (ripple) counters Ripple counters allow some flip-flop outputs to be used as a source of clock for other flip-flops. Synchronous counters apply the same clock to all flip-flops. CS1104-13 Introduction: Counters

CS1103

CS1103

Asynchronous (Ripple) Counters Asynchronous counters: the flip-flops do not change states at exactly the same time as they do not have a common clock pulse. Also known as ripple counters, as the input clock pulse “ripples” through the counter – cumulative delay is a drawback. n flip-flops  a MOD (modulus) 2n counter. (Note: A MOD-x counter cycles through x states.) Output of the last flip-flop (MSB) divides the input clock frequency by the MOD number of the counter, hence a counter is also a frequency divider. CS1104-13 Asynchronous (Ripple) Counters

Asynchronous (Ripple) Counters Example: 2-bit ripple binary counter. Output of one flip-flop is connected to the clock input of the next more-significant flip-flop. K J HIGH Q0 Q1 FF1 FF0 CLK C 4 3 2 1 CLK Q0 Q1 Timing diagram 00  01  10  11  00 ... CS1104-13 Asynchronous (Ripple) Counters

Asynchronous (Ripple) Counters Example: 3-bit ripple binary counter. K J Q0 Q1 FF1 FF0 C FF2 Q2 CLK HIGH 4 3 2 1 CLK Q0 Q1 8 7 6 5 Q2 Recycles back to 0 CS1104-13 Asynchronous (Ripple) Counters

Asynchronous (Ripple) Counters Example: 4-bit ripple binary counter (negative-edge triggered). K J Q1 Q0 FF1 FF0 C FF2 Q2 CLK HIGH FF3 Q3 CLK 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 Q0 Q1 Q2 Q3 CS1104-13 Asynchronous (Ripple) Counters

Synchronous (Parallel) Counters Synchronous (parallel) counters: the flip-flops are clocked at the same time by a common clock pulse. We can design these counters using the sequential logic design process. CS1104-13 Synchronous (Parallel) Counters

CS1103

CS1103

CS1103

CS1103

CS1103

CS1103

End of segment