CHAPTER 11 LATCHES AND FLIP-FLOPS This chapter in the book includes: Objectives Study Guide 11.1Introduction 11.2Set-Reset Latch 11.3Gated D Latch 11.4Edge-Triggered.

Slides:



Advertisements
Similar presentations
©2004 Brooks/Cole FIGURES 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 chapter.
Advertisements

Sequential Logic ENEL 111. Sequential Logic Circuits So far we have only considered circuits where the output is purely a function of the inputs With.
Chapter 6 -- Introduction to Sequential Devices. The Sequential Circuit Model Figure 6.1.
1 Lecture 14 Memory storage elements  Latches  Flip-flops State Diagrams.
Flip-Flops Basic concepts. 1/50A. Yaicharoen2 Flip-Flops A flip-flop is a bi-stable device: a circuit having 2 stable conditions (0 or 1) 3 classes of.
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.
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.
Sequential Circuits1 DIGITAL LOGIC DESIGN by Dr. Fenghui Yao Tennessee State University Department of Computer Science Nashville, TN.
Flip-Flops and Related Devices Wen-Hung Liao, Ph.D.
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.
ReturnNext  Latch : a sequential device that watches all of its inputs continuously and changes its outputs at any time, independent of a clocking signal.
1 Chapter 8 Flip-Flops and Related Devices. 2 Figure 8--1 Two versions of SET-RESET (S-R) latches S-R (Set-Reset) Latch.
1 Sequential Circuits –Digital circuits that use memory elements as part of their operation –Characterized by feedback path –Outputs depend not only on.
Nonlinear & Neural Networks LAB. CHAPTER 11 LATCHES AND FLIP-FLOPS 11.1Introduction 11.2Set-Reset Latch 11.3Gated D Latch 11.4Edge-Triggered D Flip-Flop.
Sequential Circuits : Part I Read Sections 5-1, 5-2, 5-3.
EKT 124 / 3 DIGITAL ELEKTRONIC 1
Unit 11 Latches and Flip-Flops Ku-Yaw Chang Assistant Professor, Department of Computer Science and Information Engineering Da-Yeh.
1. 2 Logic Circuits Sequential Circuits Combinational Circuits Consists of logic gates whose outputs are determined from the current combination of inputs.
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.
Contemporary Logic Design Sequential Logic © R.H. Katz Transparency No Chapter #6: Sequential Logic Design Sequential Switching Networks.
Chapter 3: Sequential Logic Circuit EKT 121 / 4 ELEKTRONIK DIGIT 1.
1 CSE370, Lecture 14 Lecture 14 u Logistics n Midterm 1: Average 90/100. Well done! n Midterm solutions online n HW5 due date delayed until this Friday.
Flip Flops. Clock Signal Sequential logic circuits have memory Output is a function of input and present state Sequential circuits are synchronized by.
ETE Digital Electronics Latches and Flip-Flops [Lecture:12] Instructor: Sajib Roy Lecturer, ETE, ULAB.
Digital Computer Design Fundamental
Astable: Having no stable state. An astable multivibrator oscillates between two quasistable states. Asynchronous Having no fixed time relationship Bistable.
Latches and Flip-Flops ELEC 311 Digital Logic and Circuits Dr. Ron Hayne Images Courtesy of Cengage Learning.
COE 202: Digital Logic Design Sequential Circuits Part 1
Introduction to Sequential Logic Design Flip-flops.
Flip Flop
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.
Instructor: Alexander Stoytchev CprE 281: Digital Logic.
Sequential Design Basics. Lecture 2 topics  A review of devices that hold state A review of Latches A review of Flip-Flops 8/22/2012 – ECE 3561 Lect.
Topic: Sequential Circuit Course: Logic Design Slide no. 1 Chapter #6: Sequential Logic Design.
Instructor: Alexander Stoytchev CprE 281: Digital 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.
© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed Digital Logic Design Dr. Oliver Faust.
CEC 220 Digital Circuit Design Latches and Flip-Flops Monday, March 03 CEC 220 Digital Circuit Design Slide 1 of 19.
Sequential logic circuits
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
CS151 Introduction to Digital Design Chapter 5: Sequential Circuits 5-1 : Sequential Circuit Definition 5-2: Latches 1Created by: Ms.Amany AlSaleh.
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.
Dept. of Electrical Engineering
Instructor: Alexander Stoytchev CprE 281: Digital Logic.
7. Latches and Flip-Flops Digital Computer Logic.
1 CS 352 Introduction to Logic Design Lecture 6 Ahmed Ezzat Latches, Flip/Flops, Registers, and Counters Ch-11 + Ch-12.
1 CHAPTER 12 REGISTERS AND COUNTERS This chapter in the book includes: Objectives Study Guide 12.1Registers and Register Transfers 12.2Shift Registers.
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.
©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.
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.
Digital Design: With an Introduction to the Verilog HDL, 5e M. Morris Mano Michael D. Ciletti Copyright ©2013 by Pearson Education, Inc. All rights reserved.
Lecture 10 Flip-Flops/Latches
LATCHES AND FLIP-FLOPS
FIGURE 5.1 Block diagram of sequential circuit
Digital Design Lecture 9
Flip-Flop.
FLIP-FLOPS.
Presentation transcript:

CHAPTER 11 LATCHES AND FLIP-FLOPS This chapter in the book includes: Objectives Study Guide 11.1Introduction 11.2Set-Reset Latch 11.3Gated D Latch 11.4Edge-Triggered D Flip-Flop 11.5S-R Flip-Flop 11.6J-K Flip-Flop 11.7T Flip-Flop 11.8Flip-Flop with Additional Inputs 11.9Summary Problems

Spring 2004Digital System2 Objectives 1.Explain in words the operation of S-R and gated D latches 2. Explain in words the operation of D, D-CE, S-R, J-K and T flip-flops 3. Make a table and derive the characteristic (next-state) equation for such latches and flip-flops. State any necessary restrictions on the input signals 4. Draw a timing diagram relating the input and output of such latches flip-flops 5. Show how latches and flip-flops can be constructed using gates. Analyze the operation of a flip-flop that is constructed of gates and latches

Spring 2004Digital System3 Flip-Flops (FF) Sequential switching networks output depends on both present inputs and past sequence of inputs Flip-Flops are most commonly used memory devices Flip-Flops assume one of two stable output states has one or more inputs which can cause the output state to change

Spring 2004Digital System4 Feedback output of one gate is connected back into the another gate's input so as to form a closed loop needed to construct a switching circuit which has a memory Inverter with feedback oscillate back and forth between 0 and 1 never reach a stable condition oscillation rate is determined by the inverter's propagation delay

Spring 2004Digital System5 11.1Introduction Fig  Stable state Two inverters with feedback two stable conditions – stable states

Spring 2004Digital System6 S-R(Set-Reset) Flip-Flop can make a simple F/F by using a feedback Operations : S=R=0, Q=0, P=1? stable? yes becomes S=1 S=1, R=0 P=0, Q=1 S=0 again. Then? P=0, Q=1 R=1 – Q=0, P=1 R=0 : go back to first Two different stable state for a given set of inputs R=S=1 을 허용하지 않으면 항상 P=Q’

Spring 2004Digital System7 SR F/F : cross-coupled structure To emphasize the symmetry, SR F/F is often drawn in cross-coupled form Q 가 R 이 입력인 NOR gate 의 출력이지만 기호는 Fig 11-5 처럼 사용 S-R latch

Spring 2004Digital System8 Improper Operation What if S=R=1? P=Q=0 violate basic F/F rules (F/F outputs to be complements) oscillate if the gate delays are exactly equal

Spring 2004Digital System Set-Reset Latch Fig Timing Diagram for S-R Latch Table S-R Latch Operation Inputs not allowed ε : response time or delay time of the latch S R Q Q 

Spring 2004Digital System Set-Reset Latch Fig Map for next-state equation or characteristic equation

Spring 2004Digital System11 Switch Debouncing with an S-R Latch

Spring 2004Digital System Set-Reset Latch Fig Latch Inputs not allowed

Spring 2004Digital System Gated D Latch Figure Gated D Latch Figure Symbol and Truth Table for Gated Latch

Spring 2004Digital System Edge-Triggered D Flip-Flop Figure D Flip-Flops Truth table Figure Timing for D Flip-Flop (Falling-Edge Trigger)

Spring 2004Digital System Edge-Triggered D Flip-Flop Given FunctionFigure D Flip-Flop (Rising-Edge Trigger) Figure Setup and Hold Times for an Edge-Triggered D Flip-Flop

Spring 2004Digital System Edge-Triggered D Flip-Flop Figure Determination of Minimum Clock Period

Spring 2004Digital System S-R Flip-Flop Figure S-R Flip-Flop Operation summary : S=R=0 S=1, R=0 S=0, R=1 S=R=1 No state change Set Q to 1 (after active Ck edge) Reset Q to 0 (after active Ck edge) Not allowed Figure S-R Flip-Flop Implementation and Timing

Spring 2004Digital System J-K Flip-Flop Figure J-K Flip-Flop (Q Changes on the Rising Edge) Truth table and characteristic equation

Spring 2004Digital System J-K Flip-Flop Figure Master-Slave J-K Flip-Flop (Q Changes on Rising Edge)

Spring 2004Digital System T Flip-Flop Figure T Flip-Flop Figure Timing Diagram for T Flip-Flop (Falling-Edge Trigger)

Spring 2004Digital System T Flip-Flop Figure Implementation of T Flip-Flop

Spring 2004Digital System Flip-Flops with Additional Inputs Figure D Flip-Flop with Clear and Preset x x 0 0 x x 0 1 x x ,1, x 1 1 (not allowed) Q(no change) Figure Timing Diagram for D Flip-Flop with Asynchronous Clear and Preset

Spring 2004Digital System Flip-Flops with Additional Inputs Figure D Flip-Flop with Clock Enable The MUX output : The characteristic equation :

Spring 2004Digital System Summary (S-R latch or flip-flop) (gated D latch) (D flip-flop) (D-CE flip-flop) (J-K flip-flop) (T flip-flop)