BR 8/991 Sequential Systems A combinational system is a system whose outputs depends only upon its current inputs. A sequential system is a system whose.

Slides:



Advertisements
Similar presentations
Introduction to Sequential Logic Design Latches. 2 Terminology A bistable memory device is the generic term for the elements we are studying. Latches.
Advertisements

1 Lecture 14 Memory storage elements  Latches  Flip-flops State Diagrams.
Edge Triggered Flip Flops (extended slides). Level-Sensitive Flip-Flop Level-sensitive flip-flop (also called a latch) Q changes whenever clock is high.
Sequential MOS Logic Circuits
Computer Science 210 Computer Organization Clocks and Memory Elements.
Chapter 6 -- Introduction to Sequential Devices
Latches CS370 –Spring 2003 Section 4-2 Mano & Kime.
A. Abhari CPS2131 Sequential Circuits Most digital systems like digital watches, digital phones, digital computers, digital traffic light controllers and.
Flip-Flops Computer Organization I 1 June 2010 © McQuain, Feng & Ribbens A clock is a free-running signal with a cycle time. A clock may be.
CHAPTER 3 Sequential Logic/ Circuits.  Concept of Sequential Logic  Latch and Flip-flops (FFs)  Shift Registers and Application  Counters (Types,
ECE 331 – Digital System Design Latches and Flip-Flops (Lecture #17) The slides included herein were taken from the materials accompanying Fundamentals.
Digital Logic Chapter 5 Presented by Prof Tim Johnson
Sequential Logic Latches and Flip-Flops. Sequential Logic Circuits The output of sequential logic circuits depends on the past history of the state of.
Multiplexors Sequential Circuits and Finite State Machines Prof. Sin-Min Lee Department of Computer Science.
Fall 2004EE 3563 Digital Systems Design EE 3563 Sequential Logic Design Principles  A sequential logic circuit is one whose outputs depend not only on.
Introduction to Sequential Logic Design Bistable elements Latches.
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.
1 Sequential Systems A combinational system is a system whose outputs depend only upon its current inputs. A sequential system is a system whose outputs.
1 Sequential Circuits –Digital circuits that use memory elements as part of their operation –Characterized by feedback path –Outputs depend not only on.
ECE 3130 – Digital Electronics and Design Lab 5 Latches and Flip-Flops Fall 2012 Allan Guan.
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.
Sequential Logic Flip-Flops and Related Devices Dr. Rebhi S. Baraka Logic Design (CSCI 2301) Department of Computer Science Faculty.
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.
ELEC 256 / Saif Zahir UBC / 2000 Sequential Logic Design Sequential Networks Simple Circuits with Feedback R-S Latch J-K Flipflop Edge -Triggered Flip-Flops.
Chapter 3: Sequential Logic Circuit EKT 121 / 4 ELEKTRONIK DIGIT 1.
Flip Flops. Clock Signal Sequential logic circuits have memory Output is a function of input and present state Sequential circuits are synchronized by.
Astable: Having no stable state. An astable multivibrator oscillates between two quasistable states. Asynchronous Having no fixed time relationship Bistable.
COE 202: Digital Logic Design Sequential Circuits Part 1
CHAPTER 3 Sequential Logic/ Circuits.  Concept of Sequential Logic  Latch and Flip-flops (FFs)  Shift Registers and Application  Counters (Types,
D Latch Delay (D) latch:a) logic symbolb) NAND implementationc) NOR implementation.
Unit 11 Latches and Flip-Flops Fundamentals of Logic Design By Roth and Kinney.
FLIP FLOP By : Pn Siti Nor Diana Ismail CHAPTER 1.
Company LOGO DKT 122/3 DIGITAL SYSTEM 1 WEEK #12 LATCHES & FLIP-FLOPS.
Sequential Logic Combinatorial components: the output values are computed only from their present input values. Sequential components: their output values.
Topic: Sequential Circuit Course: Logic Design Slide no. 1 Chapter #6: Sequential Logic Design.
Synchronous Sequential Circuits by Dr. Amin Danial Asham.
BR 8/991 DFFs are most common Most programmable logic families only have DFFs DFF is fastest, simplest (fewest transistors) of FFs Other FF types (T, JK)
1 COMP541 Sequential Circuits Montek Singh Feb 1, 2007.
© BYU 11b MSFF Page 1 ECEn 224 MSFF Master/Slave Flip Flops.
CEC 220 Digital Circuit Design Latches and Flip-Flops Monday, March 03 CEC 220 Digital Circuit Design Slide 1 of 19.
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.
Sahar Mosleh PageCalifornia State University San Marcos 1 More on Flip Flop State Table and State Diagram.
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.
Synchronous Sequential Circuits by Dr. Amin Danial Asham.
A latch is a temporary storage device that has two stable states (bistable). It is a basic form of memory. The S-R (Set-Reset) latch is the most basic.
Synchronous Sequential Circuits by Dr. Amin Danial Asham.
7. Latches and Flip-Flops Digital Computer Logic.
©2010 Cengage Learning SLIDES FOR CHAPTER 11 LATCHES AND FLIP-FLOPS Click the mouse to move to the next page. Use the ESC key to exit this chapter. This.
UNIT 11 LATCHES AND FLIP-FLOPS Click the mouse to move to the next page. Use the ESC key to exit this chapter. This chapter in the book includes: Objectives.
The George Washington University School of Engineering and Applied Science Department of Electrical and Computer Engineering ECE122 – Lab 7 Latches & Flip-flops.
Sequential logic circuits First Class 1Dr. AMMAR ABDUL-HAMED KHADER.
Lecture 10 Flip-Flops/Latches
LATCHED, FLIP-FLOPS,AND TIMERS
Flip Flops.
Digital Design Lecture 9
Flip Flop.
ECE Digital logic Lecture 16: Synchronous Sequential Logic
Sequential logic circuits
FLIP-FLOPS.
Synchronous sequential
Synchronous Sequential
Flip-Flops.
Presentation transcript:

BR 8/991 Sequential Systems A combinational system is a system whose outputs depends only upon its current inputs. A sequential system is a system whose outputs depends on the current inputs and the system’s current state. All systems we have looked at to date have been combinational systems.

BR 8/992 Flip-Flops/ Latches Latches and Flip-Flops are devices that can have two internal states (0,1) The output of a latch or a Flip-Flop (FF) is dependent upon its CURRENT STATE and CURRENT INPUTS. Latches and FFs are the simplest examples of sequential systems.

BR 8/993 Set/ Reset Nor Latch (SR Nor Latch) S R Ps Ns L L Q Q L H X L H L X H H H X - Present State Next State SQ RQ’ R S Q Implementation Symbol inputs,outputs high true. S R Ps Ns 0 0 Q Q 0 1 X X X -

BR 8/994 SR latch Operation R=0 S=0  1 Q Q’ SET operation 1  0 0  1R=0  1 S=0 Q Q’ RESET operation 1  0 0  1 1  0

BR 8/995 SR latch Operation (cont) R=0 S=0 Q Q’ Stable when S=R=0, Q= R=0 S=0 Stable when S=R=0, Q’= Q Q’

BR 8/996 What about S=R=1? (Set,Reset both true?) R=0  1 Q Q’  0 S=0  1 Assume that S, R both transition to 1 simultaneously. Q becomes ‘0’, but Q’ remains ‘0’! Outputs are no longer complements of each other.

BR 8/997 What happens when S,R return to 0? R=1  0 Q Q’ 0  1  0  1  0  1 S=1  0 0  1  0  1  0  1 Oscillation occurs is S,R return to 0 simultaneously! At some point the system will settle into a stable condition. The bottom line is that S=R=1 is an illegal input condition (or design the SR latch such that one input is DOMINANT).

BR 8/998 SR Latch, R dominant R Q’ S S R Ps Ns 0 0 Q Q 0 1 X X X 0 Q When S=R=1, then acts as a RESET (R is dominant)

BR 8/999 Set/ Reset Nand Latch (SR Nand Latch) S R Ps Ns H H Q Q H L X L L H X H L L X - Present State Next State SQ RQ’ R S Q Implementation Symbol inputs low true, outputs high true S R Ps Ns 0 0 Q Q 0 1 X X X -

BR 8/9910 Switch Bounce When switch opens, clean transistion from Low to High L H When switch closes, mechanical bounces can causes pulses on output for several milliseconds before finally stabilizing at LOW. H L

BR 8/9911 A Debounced Switch S Q R When switch is in R position, Q is low. When switch is in S position, Q is high. When switch is flipped, mechanical bounce occurs on either the S or R terminal. SR Latch prevents bounce from being seen on Q output.

BR 8/9912 Debounced Switch Timing S Q R Switch flipped from R to S Mechanical bounce on S S settled Switch flipped from S to R Mechanical bounce on R R settled

BR 8/9913 Terminology A bistable memory device is the generic term for the elements we are studying Can use the term latch or flip-flop to refer to these devices –latch: bistable memory device with level sensitive triggering (no clock) –flip-flop: bistable memory device with edge- triggering (with clock) Warning: Your author (Roth) uses the terminology Flip-Flop and Clocked Flip-Flop instead of latch and Flip-Flop –latch, flip-flop more standard

BR 8/9914 D-Latch (Data Latch) G D Ps Ns 0 X Q Q 1 0 X X 1 1  0 D 1 D DQ GQ’ When G=1, Q follows D (transparent mode) When G=0, retain old value When G=1  0 (falling edge), latch D value D is the Data input G is the Gate input

BR 8/9915 D-Latch Operation D G Q G is low, D has no effect on Q G is high, Q follows D (transparent mode) G is low, Q retains D value when G went 1  0

BR 8/9916 D-Latch Implementation G D Q Q’ SQ R G D

BR 8/9917 Data Flip-Flop (DFF, falling edge triggered) C D Ps Ns 0 X Q Q 1 X Q Q 1  0 D X D Only time DFF changes state is on a CLOCK EDGE. This DFF is falling edge triggered. Changes state to whatever the D value is. DQ CQ’ C is the clock input. D input is only sampled at a clock edge.

BR 8/9918 DFF Operation D C Q On falling edge of C, D=1, so Q=1 On falling edge of C, D=0, so Q=0

BR 8/9919 DFF Implementation (falling edge triggered) DQ GQ’ DQ G D C Q DQ C Ds Cs Master D latch Slave D latch Master/Slave latch arrangement

BR 8/9920 DFF Internal Operation D C Q Ds Cs Master sampling Xfer to Slave Master sampling Xfer to Slave

BR 8/9921 DFF Implementation (rising edge triggered) DQ GQ’ DQ G D C Q DQ C Master D latch Slave D latch Master/Slave latch arrangement

BR 8/9922 A Clock Waveform time voltage f = 1/  PwPw rising edgefalling edge  - period (in seconds) P w - pulse width (in seconds) f - frequency pulse width (in Hertz) duty cycle - ratio of pulse width to period (in %) duty cycle = P w /  Slide by Prof Mitch Thorton

BR 8/9923 JK Flip-Flop (rising edge triggered) C J K Ps Ns 0 X X Q Q 1 X X Q Q 0  Q Q 0  X 0 0  X 1 0  Q Q’ JQ CQ’ C is the clock input. J,K inputs are only sampled at a clock edge. K Retain State Synchronous Reset Synchronous Set Synchronous Toggle

BR 8/9924 JKFF Operation J C Q K J=1, K=0 Set J=0, K=1 Reset J=1, K=1 Toggle

BR 8/9925 JKFF Implementation DQ CQ’C Q K J This is a rising edge triggered JK FF. Just substitute a falling edge triggered DFF to make a falling edge triggered JKFF. We will derive this implementation at a later date.

BR 8/9926 Togggle Flip-Flop (rising edge triggered) TQ CQ’ C is the clock input. T input only sampled at a clock edge. Retain State Synchronous Toggle C T Ps Ns 0 X Q Q 1 X Q Q 0  1 0 Q Q 0  1 1 Q Q’ TFF

BR 8/9927 TFF Operation T C Q T=1 Toggle T=0, Retain State T=1 Toggle

BR 8/9928 TFF Implementation DQ CQ’C T D xor We will derive this implementation at a later date.

BR 8/9929 What do you have to know? Definition of a sequential system SR Nand latch, SR Nor latch, D latch, DFF, JKFF, TFF –Operation all of the above Implementation of SR Nand, SR Nor, D latch, DFF Switch Debouncing Clock waveform characteristics