Spring 2002EECS150 - Lec14-seq1 Page 1 EECS150 - Digital Design Lecture 14 - Sequential Circuits I (State Elements) March 12, 2002 John Wawrzynek.

Slides:



Advertisements
Similar presentations
1 Lecture 14 Memory storage elements  Latches  Flip-flops State Diagrams.
Advertisements

Give qualifications of instructors: DAP
COE 202: Digital Logic Design Sequential Circuits Part 1 Dr. Ahmad Almulhem ahmadsm AT kfupm Phone: Office: Ahmad Almulhem, KFUPM.
A. Abhari CPS2131 Sequential Circuits Most digital systems like digital watches, digital phones, digital computers, digital traffic light controllers and.
1 Fundamentals of Computer Science Sequential Circuits.
CHAPTER 3 Sequential Logic/ Circuits.  Concept of Sequential Logic  Latch and Flip-flops (FFs)  Shift Registers and Application  Counters (Types,
CS 151 Digital Systems Design Lecture 19 Sequential Circuits: Latches.
Flip-Flops, Registers, Counters, and a Simple Processor
Classification of Digital Circuits  Combinational. Output depends only on current input values.  Sequential. Output depends on current input values and.
1 KU College of Engineering Elec 204: Digital Systems Design Lecture 12 Basic (NAND) S – R Latch “Cross-Coupling” two NAND gates gives the S -R Latch:
Sequential Logic Latches and Flip-Flops. Sequential Logic Circuits The output of sequential logic circuits depends on the past history of the state of.
Sequential Circuits1 DIGITAL LOGIC DESIGN by Dr. Fenghui Yao Tennessee State University Department of Computer Science Nashville, TN.
Module 12.  In Module 9, 10, 11, you have been introduced to examples of combinational logic circuits whereby the outputs are entirely dependent on the.
Sequential logic circuits. 2 Outline Sequential Circuit Models –Asynchronous –Synchronous Latches Flip-Flops.
Sequential Logic Latches & Flip-flops
Sequential Circuits : Part I Read Sections 5-1, 5-2, 5-3.
Circuits require memory to store intermediate data
1 © 2014 B. Wilkinson Modification date: Dec Sequential Logic Circuits – I Flip-Flops A sequential circuit is a logic components whose outputs.
EKT 124 / 3 DIGITAL ELEKTRONIC 1
Chapter 10 Flip-Flops and Registers Copyright ©2006 by Pearson Education, Inc. Upper Saddle River, New Jersey All rights reserved. William Kleitz.
1. 2 Logic Circuits Sequential Circuits Combinational Circuits Consists of logic gates whose outputs are determined from the current combination of inputs.
Sequential circuit Digital electronics is classified into combinational logic and sequential logic. In combinational circuit outpus depends only on present.
EECC341 - Shaaban #1 Lec # 13 Winter Sequential Logic Circuits Unlike combinational logic circuits, the output of sequential logic circuits.
ENGIN112 L20: Sequential Circuits: Flip flops October 20, 2003 ENGIN 112 Intro to Electrical and Computer Engineering Lecture 20 Sequential Circuits: Flip.
CS 151 Digital Systems Design Lecture 20 Sequential Circuits: Flip flops.
Sequential Circuits. 2 Sequential vs. Combinational Combinational Logic:  Output depends only on current input −TV channel selector (0-9) Sequential.
Fall 2007 L16: Memory Elements LECTURE 16: Clocks Sequential circuit design The basic memory element: a latch Flip Flops.
Sequential logic and systems
Chapter 3: Sequential Logic Circuit EKT 121 / 4 ELEKTRONIK DIGIT 1.
Digital Logic Design CHAPTER 5 Sequential Logic. 2 Sequential Circuits Combinational circuits – The outputs are entirely dependent on the current inputs.
Flip Flops. Clock Signal Sequential logic circuits have memory Output is a function of input and present state Sequential circuits are synchronized by.
ECE 301 – Digital Electronics Flip-Flops and Registers (Lecture #15)
ETE Digital Electronics Latches and Flip-Flops [Lecture:12] Instructor: Sajib Roy Lecturer, ETE, ULAB.
Some Useful Circuits Lecture for CPSC 5155 Edward Bosworth, Ph.D. Computer Science Department Columbus State University.
COE 202: Digital Logic Design Sequential Circuits Part 1
EE2174: Digital Logic and Lab Professor Shiyan Hu Department of Electrical and Computer Engineering Michigan Technological University CHAPTER 9 Sequential.
Synchronous Sequential Logic Chapter 5. Digital Circuits Sequential Circuits Combinational circuits contains no memory elements the outputs depends.
Chap 4. Sequential Circuits
Flip-Flops and Registers
Unit 11 Latches and Flip-Flops Fundamentals of Logic Design By Roth and Kinney.
Company LOGO DKT 122/3 DIGITAL SYSTEM 1 WEEK #12 LATCHES & FLIP-FLOPS.
Synchronous Sequential Circuits by Dr. Amin Danial Asham.
1 COMP541 Sequential Circuits Montek Singh Feb 1, 2012.
Introduction to Sequential Logic
Chapter 10 Flip-Flops and Registers 1. Objectives You should be able to: Explain the internal circuit operation of S-R and gated S-R flip-flops. Explain.
1 COMP541 Sequential Circuits Montek Singh Feb 1, 2007.
© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed Digital Logic Design Dr. Oliver Faust.
1 Synchronous Sequential Logic Sequential Circuits Every digital system is likely to have combinational circuits, most systems encountered in practice.
CEC 220 Digital Circuit Design Latches and Flip-Flops Monday, March 03 CEC 220 Digital Circuit Design Slide 1 of 19.
Sequential logic circuits
Sequential Logic Computer Organization II 1 © McQuain A clock is a free-running signal with a cycle time. A clock may be either high or.
Synchronous Sequential Logic A digital system has combinational logic as well as sequential logic. The latter includes storage elements. feedback path.
EKT 121 / 4 ELEKTRONIK DIGIT I
5 Chapter Synchronous Sequential Circuits 1. Logic Circuits- Review 2 Logic Circuits Sequential Circuits Combinational Circuits Consists of logic gates.
Chapter 6 – Digital Electronics – Part 1 1.D (Data) Flip Flops 2.RS (Set-Reset) Flip Flops 3.T Flip Flops 4.JK Flip Flops 5.JKMS Flip Flops Information.
Chapter5: Synchronous Sequential Logic – Part 1
Synchronous Sequential Circuits by Dr. Amin Danial Asham.
CS151 Introduction to Digital Design Chapter 5: Sequential Circuits 5-1 : Sequential Circuit Definition 5-2: Latches 1Created by: Ms.Amany AlSaleh.
Synchronous Sequential Circuits by Dr. Amin Danial Asham.
CENG 241 Digital Design 1 Lecture 7 Amirali Baniasadi
Dept. of Electrical Engineering
EEE 301 DIGITAL ELECTRONICS
1. 2 Logic Circuits Sequential Circuits Combinational Circuits Consists of logic gates whose outputs are determined from the current combination of inputs.
Sequential logic circuits First Class 1Dr. AMMAR ABDUL-HAMED KHADER.
FLIP FLOPS Binary unit capable of storing one bit – 0 or 1
Flip Flops.
Flip Flops.
ECE Digital logic Lecture 16: Synchronous Sequential Logic
FLIP-FLOPS.
Flip-Flops.
Presentation transcript:

Spring 2002EECS150 - Lec14-seq1 Page 1 EECS150 - Digital Design Lecture 14 - Sequential Circuits I (State Elements) March 12, 2002 John Wawrzynek

Spring 2002EECS150 - Lec14-seq1 Page 2 Sequential Circuits Circuit with feedback. Examples: FSM D-type latch How about CL logic with feedback but without register? Sequential circuits exhibit either synchronous or asynchronous behavior: –Synchronous: “state” of the circuit changes at regular intervals controlled by a clock. –Asynchronous: state changes with changing inputs. No clock present or circuit doesn’t wait for it.

Spring 2002EECS150 - Lec14-seq1 Page 3 Cross-coupled NOR gates If both R=0 & S=0, then cross-couped NORs equivalent to a stable latch: What happens if R or S or both become = 1? remember,

Spring 2002EECS150 - Lec14-seq1 Page 4 Asynchronous State Transition Diagram SR Latch:

Spring 2002EECS150 - Lec14-seq1 Page 5 Nand-gate based SR latch

Spring 2002EECS150 - Lec14-seq1 Page 6 Level-sensitive SR Latch The input “C” works as an “enable” signal, latch only changes output when C is high. usually connected to clock. Generally, it is not a good idea to use a clock as a logic signal (into gates etc.). This is a special case.

Spring 2002EECS150 - Lec14-seq1 Page 7 D-latch Compare to transistor version:

Spring 2002EECS150 - Lec14-seq1 Page 8 Flip-flops

Spring 2002EECS150 - Lec14-seq1 Page 9 J-K FF Add logic to eliminate “indeterminate” action of RS FF. New action is “toggle” J = “jam” K = “kill”

Spring 2002EECS150 - Lec14-seq1 Page 10 J-K Flip-flop from D-FF

Spring 2002EECS150 - Lec14-seq1 Page 11 Toggle Flip-flop from D-FF

Spring 2002EECS150 - Lec14-seq1 Page 12 Storage Element Taxonomy synchronous asynchronous level-sensitive edge-triggered D-type  n.a. JK-typen.a.  n.a. RS-type  “latch”“flip-flop” “latch”

Spring 2002EECS150 - Lec14-seq1 Page 13 Design Example with RS FF With D-type FF state elements, new state iscomputed based on inputs & present state bits - reloaded each cycle. With RS (or JK) FF state elements, inputs are used to determine conditions under which to set or reset state bits. Example: bit-serial adder (LSB first) With D-FF for carry

Spring 2002EECS150 - Lec14-seq1 Page 14 Bit-serial adder with RS FF RS FF stores the carry: a b c i c i+1 s Carry kill a’b’ Carry generate ab

Spring 2002EECS150 - Lec14-seq1 Page 15 Resets/presets

Spring 2002EECS150 - Lec14-seq1 Page 16 Adding Reset/Presets D-type flip-flop from latches: Asynchronous reset in Flip-flop: Either inverter (or both) can be replaced by either NOR gate or NAND gate in the second latch of the flip-flop. The second input to the gate is connected to reset or preset signal. The choice of NOR versus NAND defines the sense of the reset/preset (active-high versus active-low). The choice which inverter to replace defines reset versus preset. Synchronous reset: A similar procedure as above is applied to the first latch of the flip-flop. Additional logic is needed to synchronize the reset signal with the correct level of the clock. D-latch circuit