CH 11 Latches and Flip-Flops

Similar documents
Switching Circuits & Logic Design

CHAPTER 11 LATCHES AND FLIP-FLOPS

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

UNIT 11 LATCHES AND FLIP-FLOPS

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

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

Sequential Circuits: Latches & Flip-Flops

Switching Circuits & Logic Design

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

Other Flip-Flops. Lecture 27 1

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.

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

LAB #4 SEQUENTIAL LOGIC CIRCUIT

Introduction to Sequential Circuits

ELCT201: DIGITAL LOGIC DESIGN

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

ELCT201: DIGITAL LOGIC DESIGN

The NOR latch is similar to the NAND latch

Flip-Flops and Registers

ECE 341. Lecture # 2

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

Sequential Logic Circuits

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

CMSC 313 Preview Slides

Spring 2017 EE 3613: Computer Organization Chapter 5: The Processor: Datapath & Control - 1

Engr354: Digital Logic Circuits

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

Sequential Design Basics

Logic Design. Flip Flops, Registers and Counters

Chapter. Synchronous Sequential Circuits

Chapter 6 Digital Circuit 6-5 Department of Mechanical Engineering

LATCHES & FLIP-FLOP. Chapter 7

ELE2120 Digital Circuits and Systems. Tutorial Note 7

INTRODUCTION TO SEQUENTIAL CIRCUITS

Lecture 7: Sequential Networks

Module 4:FLIP-FLOP. Quote of the day. Never think you are nothing, never think you are everything, but think you are something and achieve anything.

Digital Logic Design Sequential Circuits. Dr. Basem ElHalawany

Experiment 8 Introduction to Latches and Flip-Flops and registers

Unit 11. Latches and Flip-Flops

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

Flip-Flops and Sequential Circuit Design

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

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

Introduction to Microprocessor & Digital Logic

EE292: Fundamentals of ECE

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

Asynchronous (Ripple) Counters

RS flip-flop using NOR gate

BISHOP ANSTEY HIGH SCHOOL & TRINITY COLLEGE EAST SIXTH FORM CXC CAPE PHYSICS, UNIT 2 Ms. S. S. CALBIO NOTES lesson #39

LAB 7. Latches & Flip Flops

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

Physics 323. Experiment # 10 - Digital Circuits

To design a sequential logic circuit using D-Flip-flop. To implement the designed circuit.

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

UNIVERSITI TEKNOLOGI MALAYSIA

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 CIRCUIT COMBINATORIAL LOGIC

CPS311 Lecture: Sequential Circuits

Lecture 8: Sequential Logic

1. a) For the circuit shown in figure 1.1, draw a truth table showing the output Q for all combinations of inputs A, B and C. [4] Figure 1.

6. Sequential Logic Flip-Flops

ELE2120 Digital Circuits and Systems. Tutorial Note 8

AIM: To study and verify the truth table of logic gates

Sequential Logic and Clocked Circuits

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

Chapter 5 Synchronous Sequential Logic

Synchronous Sequential Logic

Digital Circuit And Logic Design I. Lecture 8

Name Of The Experiment: Sequential circuit design Latch, Flip-flop and Registers

Digital Circuit And Logic Design I

Advanced Digital Logic Design EECS 303

NEW MEXICO STATE UNIVERSITY Electrical and Computer Engineering Department. EE162 Digital Circuit Design Fall Lab 5: Latches & Flip-Flops

Digital Logic Design I

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

CPE 200L LABORATORY 3: SEQUENTIAL LOGIC CIRCUITS UNIVERSITY OF NEVADA, LAS VEGAS GOALS: BACKGROUND: SR FLIP-FLOP/LATCH

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

EEC 118 Lecture #9: Sequential Logic. Rajeevan Amirtharajah University of California, Davis Jeff Parkhurst Intel Corporation

ESE 570 STATIC SEQUENTIAL CMOS LOGIC CELLS. Kenneth R. Laker, University of Pennsylvania, updated 25Mar15

SEQUENTIAL CIRCUITS THE RELAY CIRCUIT

CHW 261: Logic Design

B. Sc. III Semester (Electronics) - ( ) Digital Electronics-II) BE-301 MODEL ANSWER (AS-2791)

Chapter 4. Logic Design

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

Course Administration

Analysis of Clocked Sequential Circuits

ECE 301 Digital Electronics

CHAPTER1: Digital Logic Circuits

Slide 1. Flip-Flops. Cross-NOR SR flip-flop S R Q Q. hold reset set not used. Cross-NAND SR flip-flop S R Q Q. not used reset set hold 1 Q.

Logic Design II (17.342) Spring Lecture Outline

Digital Circuits ECS 371

Chapter 11 Latches and Flip-Flops

Exercise 2: D-Type Flip-Flop

Switching Circuits & Logic Design, Fall Final Examination (1/13/2012, 3:30pm~5:20pm)

Chapter 5 Sequential Circuits

Rangkaian Sekuensial. Flip-flop

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

Chapter 5: Synchronous Sequential Logic

Final Exam review: chapter 4 and 5. Supplement 3 and 4

Experiment # 9. Clock generator circuits & Counters. Digital Design LAB

Counters

Transcription:

CH Latches and Flip-Flops Flops Lecturer : 吳安宇 Date : 25.2.2 Ver.. ACCESS IC LAB

v. Introduction v.2 Set-Reset Latch v.3 Gated D Latch Outline v.4 Edge-Triggered D Flip-Flop v.5 S-R Flip-Flop v.6 J-K Flip-Flop v.7 T Flip-Flop v.8 Flip-Flops with Additional Inputs v.9 Summary pp. 2

Introduction vcombinational Circuits (without memory) A B C F(A,B,C) F(A,B,C) vsequential Circuit (with memory) A B C D(n-) f MEM f(n) D(n) pp. 3

Latch: Basic memory unit (store bit) v Fundamentals : pp. 4

v. Introduction v.2 Set-Reset Latch v.3 Gated D Latch Outline v.4 Edge-Triggered D Flip-Flop v.5 S-R Flip-Flop v.6 J-K Flip-Flop v.7 T Flip-Flop v.8 Flip-Flops with Additional Inputs v.9 Summary pp. 5

Set-Reset Latch (SR-latch)(/2) (stable) ( ) (set) (stable) ( ) (Reset) pp. 6

Set-Reset Latch (SR-latch)(2/2) v Cross-Couple Form R : Reset S : Set v S-R-(Unstable Net allowed) S P R pp. 7

Representation Format (a) Timing diagram (b) Truth Table S(t) R(t) (t) (t-e) - - unchanged Reset to Set to Inputs not allowed (c) Next-state Equation or characteristic Equations R(t) (t) S(t) X (tε) S(t) R (t)(t) SR Under SR (S,R not allowed) x pp. 8

Applications- Debouncing scheme Note : work with a double throw switch that switch between two contacts. pp. 9

SR Latch (NAND gate based) S (t) R (t) (t) (t) - - unchanged Reset to Set to Inputs not allowed Active-low inputs for S & R pp.

v. Introduction v.2 Set-Reset Latch v.3 Gated D Latch Outline v.4 Edge-Triggered D Flip-Flop v.5 S-R Flip-Flop v.6 J-K Flip-Flop v.7 T Flip-Flop v.8 Flip-Flops with Additional Inputs v.9 Summary pp.

Gated D Latch Figure - Gated D Latch Figure -2 Symbol and Truth Table for Gated Latch G D unchanged D GD G GD pp. 2

v. Introduction v.2 Set-Reset Latch v.3 Gated D Latch Outline v.4 Edge-Triggered D Flip-Flop v.5 S-R Flip-Flop v.6 J-K Flip-Flop v.7 T Flip-Flop v.8 Flip-Flops with Additional Inputs v.9 Summary pp. 3

Edge-triggered D Flip-Flop Flop Positive (Rising edge) trigger Negative (Falling edge) trigger to align with clock edges D D Figure -4 Timing for D Flip-Flop (Falling-Edge Trigger) pp. 4

D F/F (Rising-edge trigger) pp. 5

v. Introduction v.2 Set-Reset Latch v.3 Gated D Latch Outline v.4 Edge-Triggered D Flip-Flop v.5 S-R Flip-Flop v.6 J-K Flip-Flop v.7 T Flip-Flop v.8 Flip-Flops with Additional Inputs v.9 Summary pp. 6

S-R R Flip-Flop Flop with clock input changes at clock edges S R change no state SR P Half clock cycle S, R set to (after active Ck edge) S, R reset to (after active Ck edge) S R not allowed pp. 7

v. Introduction v.2 Set-Reset Latch v.3 Gated D Latch Outline v.4 Edge-Triggered D Flip-Flop v.5 S-R Flip-Flop v.6 J-K Flip-Flop v.7 T Flip-Flop v.8 Flip-Flops with Additional Inputs v.9 Summary pp. 8

J-K K Flip-Flop Flop (extension of SR F/F) J S (Jump to ) K R (clear to ) J K, Toggle J K J K unchanged clear to Jump to Toggle pp. 9

v. Introduction v.2 Set-Reset Latch v.3 Gated D Latch Outline v.4 Edge-Triggered D Flip-Flop v.5 S-R Flip-Flop v.6 J-K Flip-Flop v.7 T Flip-Flop v.8 Flip-Flops with Additional Inputs v.9 Summary pp. 2

T Flip-Flop Flop T T T T,,, Toggle, unchange T Unchanged Toggle T' T' T pp. 2

Implementation (A) JK F/F Based: ( J K T ) (B) D F/F Based D input T J' K' T' T' ' T T' T' pp. 22

v. Introduction v.2 Set-Reset Latch v.3 Gated D Latch Outline v.4 Edge-Triggered D Flip-Flop v.5 S-R Flip-Flop v.6 J-K Flip-Flop v.7 T Flip-Flop v.8 Flip-Flops with Additional Inputs v.9 Summary pp. 23

F/F with additional inputs Ck D PreN ClrN x x x x x x, x (not allowed) (no change) Keep whole cycle pp. 24

D Flip-Flop Flop with Clock Enable (CE) CE for Fig.-27(c): D ( CE)' Din( CE) pp. 25

v. Introduction v.2 Set-Reset Latch v.3 Gated D Latch Outline v.4 Edge-Triggered D Flip-Flop v.5 S-R Flip-Flop v.6 J-K Flip-Flop v.7 T Flip-Flop v.8 Flip-Flops with Additional Inputs v.9 Summary pp. 26

Summary Characteristic Equations of flip-flops (Eq.): S R' ( SR ) (S-R latch or flip-flop) GD G' (gated D latch) D (D flip-flop) D CE CE' (D-CE flip-flop) J' K' (J-K flip-flop) T T' T ' (T flip-flop) pp. 27