ETE 204 - Digital Electronics Latches and Flip-Flops [Lecture:12] Instructor: Sajib Roy Lecturer, ETE, ULAB.

Slides:



Advertisements
Similar presentations
Chapter 6 -- Introduction to Sequential Devices. The Sequential Circuit Model Figure 6.1.
Advertisements

Introduction to Sequential Logic Design Latches. 2 Terminology A bistable memory device is the generic term for the elements we are studying. Latches.
Sequential Digital Circuits Dr. Costas Kyriacou and Dr. Konstantinos Tatas.
1 Lecture 14 Memory storage elements  Latches  Flip-flops State Diagrams.
ECE C03 Lecture 81 Lecture 8 Memory Elements and Clocking Hai Zhou ECE 303 Advanced Digital Design Spring 2002.
1 Sequential Ckts, Latches and Timing Issues Today: Sequential Circuits, LatchesFirst Hour: Sequential Circuits, Latches –Section of Katz’s Textbook.
Latches CS370 –Spring 2003 Section 4-2 Mano & Kime.
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.
ECE 331 – Digital System Design Latches and Flip-Flops (Lecture #17) The slides included herein were taken from the materials accompanying Fundamentals.
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.
1 SEQUENTIAL CIRCUITS DEFINITION OF SEQUENTIAL CIRCUIT SYNCHRONOUS SEQUENTIAL CIRCUIT ASYNCHRONOUS SEQUENTIAL CIRCUIT MEMORY ELEMENTS CLASSIFICATION: LATCHES.
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.
Sequential logic circuits. 2 Outline Sequential Circuit Models –Asynchronous –Synchronous Latches Flip-Flops.
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.
Digital Logic Design Lecture 22. Announcements Homework 7 due today Homework 8 on course webpage, due 11/20. Recitation quiz on Monday on material from.
1 © 2014 B. Wilkinson Modification date: Dec Sequential Logic Circuits – I Flip-Flops A sequential circuit is a logic components whose outputs.
Digital Logic Design Brief introduction to Sequential Circuits and Latches.
EKT 124 / 3 DIGITAL ELEKTRONIC 1
INTRODUCTION TO SEQUENCIAL CIRCUIT
Unit 11 Latches and Flip-Flops Ku-Yaw Chang Assistant Professor, Department of Computer Science and Information Engineering Da-Yeh.
Sequential Logic Flip-Flops and Related Devices Dr. Rebhi S. Baraka Logic Design (CSCI 2301) Department of Computer Science Faculty.
Latches Module M10.1 Section 7.1. Sequential Logic Combinational Logic –Output depends only on current input Sequential Logic –Output depends not only.
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.
Latches and Flip-Flops Discussion D4.1 Appendix J.
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.
ETE Digital Electronics
Digital Electronics and Computer Interfacing Tim Mewes 3. Digital Electronics.
Objectives: Given input logice levels, state the output of an RS NAND and RS NOR. Given a clock signal, determine the PGT and NGT. Define “Edge Triggered”
COE 202: Digital Logic Design Sequential Circuits Part 1
Flip Flop
EE2174: Digital Logic and Lab Professor Shiyan Hu Department of Electrical and Computer Engineering Michigan Technological University CHAPTER 9 Sequential.
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.
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.
Instructor: Alexander Stoytchev CprE 281: Digital Logic.
© 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
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
Synchronous Sequential Logic Part I
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.
Instructor: Alexander Stoytchev CprE 281: Digital Logic.
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.
CENG 241 Digital Design 1 Lecture 7 Amirali Baniasadi
ECE 301 – Digital Electronics Brief introduction to Sequential Circuits and Latches (Lecture #14)
ECE 331 – Digital System Design Introduction to Sequential Circuits and Latches (Lecture #16)
Dept. of Electrical Engineering
Instructor: Alexander Stoytchev CprE 281: Digital Logic.
7. Latches and Flip-Flops Digital Computer Logic.
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.
©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.
LATCHES AND FLIP-FLOPS
Digital Design Lecture 9
Presentation transcript:

ETE Digital Electronics Latches and Flip-Flops [Lecture:12] Instructor: Sajib Roy Lecturer, ETE, ULAB

Brief introduction to Sequential Logic Circuits Summer 2012ETE Digital Electronics2

Sequential Logic Circuits ● The output of a sequential logic circuit is dependent not only on the present inputs, but also on the past sequence of the inputs. ● A sequential logic circuit must “remember” the past history of the inputs. ● It does this using basic memory elements. - Latches - Flip-Flops 3Summer 2012ETE Digital Electronics

Sequential Logic Circuits inputs Combinational Logic Circuit outputs Memory 4Summer 2012ETE Digital Electronics

Basic Memory Elements 5Summer 2012ETE Digital Electronics

Basic Memory Elements ● Latch - Clock input is level sensitive. - Output can change multiple times during a clock cycle. - Output changes while clock is active. ● Flip-Flop - Clock input is edge sensitive. - Output can change only once during a clock cycle. - Output changes on clock transition. 6Summer 2012ETE Digital Electronics

Basic Memory Elements Both latches and flip-flops use feedback to achieve “memory”. 7Summer 2012ETE Digital Electronics

Feedback Circuit with 2 Stable States What is the problem with this circuit? 8Summer 2012ETE Digital Electronics

Latches 9Summer 2012ETE Digital Electronics

Set-Reset (SR) Latch ● A Set-Reset Latch has two inputs - Set (S) input - Reset (R) input ● It can be constructed from two cross-coupled NOR gates or two cross-coupled NAND gates. ● It has three modes of operation - Set:Latch output set to 1 (Q + = 1) – Reset: Latch output reset to 0 (Q + = 0) - Store: Latch output does not change (Q + = Q) 10Summer 2012ETE Digital Electronics

SR Latch: using NOR gates ABNOR 0XX' 1X0 FeedbackNOR gates 11Summer 2012ETE Digital Electronics

SR Latch: Set (S = 1, R = 0) ABNOR 0XX' 1X0 1 0 P = Q' Summer 2012ETE Digital Electronics

SR Latch: Reset (S = 0, R = 1) ABNOR 0XX' 1X0 0 1 P = Q' Summer 2012ETE Digital Electronics

SR Latch: Store (S = 0, R = 0) Initial Condition: P = 0, Q = 1 ABNOR 0XX' 1X0 0 0 P = Q' Summer 2012ETE Digital Electronics

SR Latch: Store (S = 0, R = 0) Initial Condition: P = 1, Q = 0 ABNOR 0XX' 1X0 0 1 P = Q' Summer 2012ETE Digital Electronics

SR Latch: Behavior PresentNext value SRQQ+Q If S = 1 (Set), Q + = 1 If R = 1 (Reset), Q + = If S = R = 0, Q + = Q (no change) not S = R = 1 is not allowed. 111allowed 16Summer 2012ETE Digital Electronics

SR Latch: Improper Operation P ≠ Q ′ 17Summer 2012ETE Digital Electronics

SR Latch: Symbol always complementary Q' Q SQSQ SR Latch RQ' 18Summer 2012ETE Digital Electronics

SR Latch: Timing Diagram storesetstorereset Q' Q  = propagation delay of the latch 19Summer 2012ETE Digital Electronics

SR Latch: Characteristic Equation Q = present state Q + = next state Characteristic Equation: Q + = S + R'.Q(S.R = 0) 20Summer 2012ETE Digital Electronics

SR Latch: using NAND gates ABNAND 0X1 1XX' S'R'Q Q+Q not 001allowed 21Summer 2012ETE Digital Electronics

Gated D Latch ● A Gated D Latch has two inputs - Gate (G) input - Data (D) input ● It can be constructed from an SR Latch and additional logic gates. ● It has the following behavior - G = 1: D is passed to Q (Q + = D) - G = 0: Q remains unchanged (Q + = Q) ● Also referred to as a transparent latch. 22Summer 2012ETE Digital Electronics

Gated D Latch: Circuit and Timing NOR gates 23 Summer 2012ETE Digital Electronics

Gated D Latch: Symbol and Truth Table No invalid inputs! 24Summer 2012ETE Digital Electronics

Gated D Latch: Characteristic Equation Characteristic Equation: Q + = G'.Q + G.D Spring 2011ECE 30 - Digital Electronics25Summer 2012ETE Digital Electronics

Gated D Latch: using NAND gates S' R' NAND gates 26Summer 2012ETE Digital Electronics

Flip-Flops 27Summer 2012ETE Digital Electronics

D Flip-Flop ● A D Flip-Flop has two inputs - Clock (Ck) --- denoted by the small arrowhead - Data (D) ● The output of the D Flip-Flop changes in response to the clock input only. - not in response to a change in the D input ● The D Flip-Flop is edge-triggered not level-sensitive - Positive (or rising) edge-triggered: 0 → 1 – Negative (or falling) edge-triggered: 1 → 0 28Summer 2012ETE Digital Electronics

D Flip-Flop Characteristic Equation: Q + = D 29 Summer 2012ETE Digital Electronics

D Flip-Flop: Timing Diagram Which clock edge is the D flip-flop triggered on? 30Summer 2012ETE Digital Electronics

D Flip-Flop (master-slave) Gated D Latches Enabled on opposite levels of the clock 31Summer 2012ETE Digital Electronics

D Flip-Flop: Timing Diagram Which clock edge is the D flip-flop triggered on? 32Summer 2012ETE Digital Electronics

D Flip-Flop: Setup and Hold Times Setup time Hold time Propagation delay 33Summer 2012ETE Digital Electronics

D Flip-Flop: Minimum Clock Period 34 Summer 2012ETE Digital Electronics

Questions? 35Summer 2012ETE Digital Electronics