CHAPTER 11 LATCHES AND FLIP-FLOPS

Similar documents
Unit 9 Latches and Flip-Flops. Dept. of Electrical and Computer Eng., NCTU 1

Unit 11. Latches and Flip-Flops

Switching Circuits & Logic Design

DIGITAL CIRCUIT LOGIC UNIT 11: SEQUENTIAL CIRCUITS (LATCHES AND FLIP-FLOPS)

CH 11 Latches and Flip-Flops

Latches, Flip-Flops, and Registers. Dr. Ouiem Bchir

Switching Circuits & Logic Design

Flip-Flops and Sequential Circuit Design

UNIT 11 LATCHES AND FLIP-FLOPS

Logic Design. Flip Flops, Registers and Counters

ELE2120 Digital Circuits and Systems. Tutorial Note 7

12/31/2010. Overview. 12-Latches and Flip Flops Text: Unit 11. Sequential Circuits. Sequential Circuits. Feedback. Feedback

LAB 7. Latches & Flip Flops

INTRODUCTION TO SEQUENTIAL CIRCUITS

Flip-Flops. Because of this the state of the latch may keep changing in circuits with feedback as long as the clock pulse remains active.

Digital Logic Design Sequential Circuits. Dr. Basem ElHalawany

Sequential Circuits. Output depends only and immediately on the inputs Have no memory (dependence on past values of the inputs)

cascading flip-flops for proper operation clock skew Hardware description languages and sequential logic

Flip-Flops and Registers

CHAPTER 1 LATCHES & FLIP-FLOPS

Clocks. Sequential Logic. A clock is a free-running signal with a cycle time.

Chapter 6. Flip-Flops and Simple Flip-Flop Applications

Lecture 8: Sequential Logic

(CSC-3501) Lecture 7 (07 Feb 2008) Seung-Jong Park (Jay) CSC S.J. Park. Announcement

Engr354: Digital Logic Circuits

Other Flip-Flops. Lecture 27 1

ELCT201: DIGITAL LOGIC DESIGN

Chapter. Synchronous Sequential Circuits

LATCHES & FLIP-FLOP. Chapter 7

A clock is a free-running signal with a cycle time. A clock may be either high or low, and alternates between the two states.

Last time, we saw how latches can be used as memory in a circuit

Introduction to Sequential Circuits

Sequential Logic. E&CE 223 Digital Circuits and Systems (A. Kennings) Page 1

Sequential Circuits: Latches & Flip-Flops

EMT 125 Digital Electronic Principles I CHAPTER 6 : FLIP-FLOP

D Latch (Transparent Latch)

Chapter 11 Latches and Flip-Flops

Introduction. NAND Gate Latch. Digital Logic Design 1 FLIP-FLOP. Digital Logic Design 1

SEQUENTIAL CIRCUITS THE RELAY CIRCUIT

Experiment 8 Introduction to Latches and Flip-Flops and registers

Sequential Design Basics

Digital Fundamentals

ELCT201: DIGITAL LOGIC DESIGN

CHAPTER 4: Logic Circuits

Chapter 5: Synchronous Sequential Logic

Digital Design, Kyung Hee Univ. Chapter 5. Synchronous Sequential Logic

CHAPTER 4: Logic Circuits

COE 202: Digital Logic Design Sequential Circuits Part 1. Dr. Ahmad Almulhem ahmadsm AT kfupm Phone: Office:

LAB #4 SEQUENTIAL LOGIC CIRCUIT

L4: Sequential Building Blocks (Flip-flops, Latches and Registers)

Figure 1 shows a simple implementation of a clock switch, using an AND-OR type multiplexer logic.

PRE J. Figure 25.1a J-K flip-flop with Asynchronous Preset and Clear inputs

Sequential logic. Circuits with feedback. How to control feedback? Sequential circuits. Timing methodologies. Basic registers

Synchronous Sequential Logic

DIGITAL SYSTEM FUNDAMENTALS (ECE421) DIGITAL ELECTRONICS FUNDAMENTAL (ECE422) LATCHES and FLIP-FLOPS

Fundamentals of Computer Systems

YEDITEPE UNIVERSITY DEPARTMENT OF COMPUTER ENGINEERING. EXPERIMENT VIII: FLIP-FLOPS, COUNTERS 2014 Fall

Combinational / Sequential Logic

Multiplexor (aka MUX) An example, yet VERY useful circuit!

Advanced Digital Logic Design EECS 303

Department of Electrical and Computer Engineering Mid-Term Examination Winter 2012

Topics of Discussion

Synchronous Sequential Logic. Chapter 5

Latches and Flip-Flops UNIT 11 LATCHES AND FLIP-FLOPS. How to Remember the Past? Recap: Two Types of Switching Circuits. Iris Hui-Ru Jiang Spring 2010

MUX AND FLIPFLOPS/LATCHES

Sequential circuits. Same input can produce different output. Logic circuit. William Sandqvist

Chapter 5 Synchronous Sequential Logic

RS flip-flop using NOR gate

The outputs are formed by a combinational logic function of the inputs to the circuit or the values stored in the flip-flops (or both).

MC9211 Computer Organization

Sequential Logic Circuits

Asynchronous (Ripple) Counters

Part II. Chapter2: Synchronous Sequential Logic

RS flip-flop using NOR gate

Sequential Logic and Clocked Circuits

Vignana Bharathi Institute of Technology UNIT 4 DLD

CSE115: Digital Design Lecture 23: Latches & Flip-Flops

Lecture 7: Sequential Networks

6. Sequential Logic Flip-Flops

Module -5 Sequential Logic Design

The NOR latch is similar to the NAND latch

Digital System Design

EEE2135 Digital Logic Design Chapter 6. Latches/Flip-Flops and Registers/Counters 서강대학교 전자공학과

Software Engineering 2DA4. Slides 9: Asynchronous Sequential Circuits

CPS311 Lecture: Sequential Circuits

Synchronous Sequential Logic

Chapter 1: Switching Algebra Chapter 2: Logical Levels, Timing & Delays. Introduction to latches Chapter 9: Binary Arithmetic

`COEN 312 DIGITAL SYSTEMS DESIGN - LECTURE NOTES Concordia University

Sequential Digital Design. Laboratory Manual. Experiment #3. Flip Flop Storage Elements

CSE140: Components and Design Techniques for Digital Systems. More D-Flip-Flops. Tajana Simunic Rosing. Sources: TSR, Katz, Boriello & Vahid

Combinational vs Sequential

Review of digital electronics. Storage units Sequential circuits Counters Shifters

2 Sequential Circuits

Chapter 4. Logic Design

Chapter 5 Sequential Circuits

Chapter 5 Synchronous Sequential Logic

Digital Logic Design ENEE x. Lecture 19

Fundamentals of Computer Systems

CSE Latches and Flip-flops Dr. Izadi. NOR gate property: A B Z Cross coupled NOR gates: S M S R Q M

Digital Fundamentals: A Systems Approach

Transcription:

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

Objectives 2/25 Topics introduced in this chapter: 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

11.1 Introduction 3/25 Fig 11-1. Fig 11-2. Stable state To construct a switching circuit has a memory, must introduce feedback to circuit Unstable state

11.2 Set-Reset Latch 4/25 Fig 11-3. Fig 11-4. S=R=0 (Q=0) S=1, R=0 S=R=0 (Q=1) S=0, R=1

11.2 Set-Reset Latch 5/25 Fig 11-5. S-R Latch (cross-coupled structure) Fig 11-6. Improper S-R Latch Operation (S=R=1; prohibited)

11.2 Set-Reset Latch 6/25 Fig 11-7. Timing Diagram for S-R Latch Table 11-1. S-R Latch Next State and Output

11.2 Set-Reset Latch 7/25 Fig 11-8. Derivation of Q + for an S-R Latch Q( t ε ) R( t)' S( t) R( t)' Q( t) R( t)'[ S( t) Q( t)] Q S RQ SR 0

11.2 Set-Reset Latch 8/25 Fig 11-9. Switch Debouncing with an S-R Latch

11.2 Set-Reset Latch 9/25 Fig 11-10. S R Latch (c)

11.3 Gated D Latch 10/25 Figure 11-11. Gated D Latch

11.3 Gated D Latch 11/25 Figure 11-12. Symbol and Truth Table for Gated Latch

11.4 Edge-Triggered D Flip-Flop 12/25 Figure 11-13. D Flip-Flops + Q = D

11.4 Edge-Triggered D Flip-Flop 13/25 Figure 11-14. Timing for D Flip-Flop (Falling-Edge Trigger)

11.4 Edge-Triggered D Flip-Flop 14/25 Figure 11-15. D Flip-Flop (Rising-Edge Trigger)

11.4 Edge-Triggered D Flip-Flop 15/25 Figure 11-16. Setup and Hold Times for an Edge-Triggered D Flip-Flop t t t su h p : the setup time : the hold time : the propagation delay

11.4 Edge-Triggered D Flip-Flop 16/25 Figure 11-17. Determination of Minimum Clock Period Flip flop delay 5ns Inverter delay 2ns Setup time 3 ns Q 가 1 -> 0 -> 1 으로변함

11.5 S-R Flip-Flop 17/25 Figure 11-18. S-R Flip-Flop Operation summary: S = R = 0 no state change S = 1, R = 0 set Q to 1 (after active Ck edge) S = 0, R = 1 reset Q to 0 (after active Ck edge) S = R = 1 not allowed

11.5 S-R Flip-Flop 18/25 Figure 11-19. S-R Flip-Flop Implementation and Timing

11.6 J-K Flip-Flop JKQ Q + 000 0 001 1 010 0 011 0 100 1 Q + = JQ' + K'Q 101 1 b Truth table and characteristic equation 110 1 111 0 Figure 11-20. J-K Flip-Flop (Q Changes on the Rising Edge) 19/25

11.6 J-K Flip-Flop 20/25 Figure 11-21. Master-Slave J-K Flip-Flop (Q Changes on Rising Edge)

11.7 T Flip-Flop 21/25 Figure 11-22. T Flip-Flop Q + = T'Q + TQ' = Q T Figure 11-23. Timing Diagram for T Flip-Flop (Falling-Edge Trigger)

11.7 T Flip-Flop 22/25 Figure 11-24. Implementation of T Flip-Flop Q JQ KQ TQ TQ

11.8 Flip-Flops with Additional Inputs 23/25 Figure 11-25. D Flip-Flop with Clear and Preset b Figure 11-26. Timing Diagram for D Flip-Flop with Asynchronous Clear and Preset

11.8 Flip-Flops with Additional Inputs 24/25 Figure 11-27. D Flip-Flop with Clock Enable The characteristic equation : Q QCE DCE The MUX output : Q D QCE D in CE

11.9 Summary 25/25 Q S RQ SR 0 (S-R latch or flip-flop) Q GD GQ (gated D latch) Q D (D flip-flop) Q DCE QCE (D-CE flip-flop) Q JQ KQ (J-K flip-flop) Q T Q TQ TQ (T flip-flop)