CEC 220 Digital Circuit Design Latches and Flip-Flops

Slides:



Advertisements
Similar presentations
Sequential Digital Circuits Dr. Costas Kyriacou and Dr. Konstantinos Tatas.
Advertisements

1 Lecture 14 Memory storage elements  Latches  Flip-flops State Diagrams.
Latches CS370 –Spring 2003 Section 4-2 Mano & Kime.
Digital Electronics Lecture 7 Sequential Logic Circuit Design.
CENG 241 Digital Design 1 Lecture 8 Amirali Baniasadi
ECE 331 – Digital System Design Latches and Flip-Flops (Lecture #17) The slides included herein were taken from the materials accompanying Fundamentals.
Digital Electronics Chapter 5 Synchronous Sequential Logic.
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.
1 Sequential Circuits Dr. Pang. 2 Outline Introduction to sequential circuits Basic latch Gated SR latch and gated D latch D flip-flop, T flip-flop, JK.
Chapter 10 Flip-Flops and Registers Copyright ©2006 by Pearson Education, Inc. Upper Saddle River, New Jersey All rights reserved. William Kleitz.
ECE 331 – Digital System Design Flip-Flops and Registers (Lecture #18) The slides included herein were taken from the materials accompanying Fundamentals.
EECC341 - Shaaban #1 Lec # 13 Winter Sequential Logic Circuits Unlike combinational logic circuits, the output of sequential logic circuits.
CSE 140 Lecture 8 Sequential Networks Professor CK Cheng CSE Dept. UC San Diego 1.
CS 140 Lecture 8 Sequential Networks Professor CK Cheng CSE Dept. UC San Diego.
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.
Flip-Flops Section 4.3 Mano & Kime. D Latch Q !Q CLK D !S !R S R X 0 Q 0 !Q 0 D CLK Q !Q Note that Q follows D when the clock in high, and.
Sequential logic and systems
Chapter 3: Sequential Logic Circuit EKT 121 / 4 ELEKTRONIK DIGIT 1.
A State Element “Zoo”.
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.
BY: TRAVIS HOOVER 2/22/2011 CS 147 DR. LEE JK flip-flops.
Unit 11 Latches and Flip-Flops Ku-Yaw Chang Assistant Professor, Department of Computer Science and Information Engineering Da-Yeh.
Registers and Counters
Test #2 Combinational Circuits – MUX Sequential Circuits – Latches – Flip-flops – Clocked Sequential Circuits – Registers/Shift Register – Counters – Memory.
ECE 301 – Digital Electronics Flip-Flops and Registers (Lecture #15)
Advanced FPGA Based System Design Lecture-9 & 10 VHDL Sequential Code By: Dr Imtiaz Hussain 1.
Lecture #23 Page 1 ECE 4110– Sequential Logic Design Lecture #23 Agenda 1.Latches and Flip-Flops Review Announcements 1.HW #11assigned.
Latches and Flip-Flops ELEC 311 Digital Logic and Circuits Dr. Ron Hayne Images Courtesy of Cengage Learning.
Latch Flip flop.
Eng. Mohammed Timraz Electronics & Communication Engineer University of Palestine Faculty of Engineering and Urban planning Software Engineering Department.
Introduction to Sequential Logic Design Flip-flops.
T Flip-Flop A T (toggle) flip-flop is a complementing flip-flop and can be obtained from a JK flip-flop when the two inputs are tied together. When T =
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 Flops 3.1 Latches and Flip-Flops 3 ©Paul Godin Created September 2007 Last Edit Aug 2013.
JK Flip-Flop. JK Flip-flop The most versatile of the flip-flops Has two data inputs (J and K) Do not have an undefined state like SR flip-flops – When.
Topic: Sequential Circuit Course: Logic Design Slide no. 1 Chapter #6: Sequential Logic Design.
Instructor: Alexander Stoytchev CprE 281: Digital Logic.
CEC 220 Digital Circuit Design Timing Analysis of State Machines
ECE C03 Lecture 81 Lecture 8 Memory Elements and Clocking Hai Zhou ECE 303 Advanced Digital Design Spring 2002.
© 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.
CEC 220 Digital Circuit Design VHDL in Sequential Logic Wednesday, March 25 CEC 220 Digital Circuit Design Slide 1 of 13.
CEC 220 Digital Circuit Design Counters Using S-R and J-K Flip-Flops Monday, November 2 CEC 220 Digital Circuit Design Slide 1 of 19.
CEC 220 Digital Circuit Design Mealy and Moore State Machines Friday, March 27 CEC 220 Digital Circuit Design Slide 1 of 16.
CSE 140: Components and Design Techniques for Digital Systems Lecture 7: Sequential Networks CK Cheng Dept. of Computer Science and Engineering University.
Flip-FLops and Latches
Lab 12 :JK Flip Flop Fundamentals: Slide 2 Slide 3 JK Flip-Flop. JK Flip-Flop and waveform diagrams.
Flip Flops 3.1 Latches and Flip-Flops 3 ©Paul Godin Created September 2007 Last Edit Aug 2013.
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.
Supplement on Verilog FF circuit examples
FIGURE 5.1 Block diagram of sequential circuit
Digital Design Lecture 9
ECE 4110–5110 Digital System Design
FLIP FLOPS.
Overview Introduction Logic Gates Flip Flops Registers Counters
CISE204: Design of Digital Systems Lecture 18 : Sequential Circuits
Sequential logic circuits
Chapter 6 -- Introduction to Sequential Devices
Flip Flops Unit-4.
Sequential Digital Circuits
FLIPFLOPS.
Presentation transcript:

CEC 220 Digital Circuit Design Latches and Flip-Flops Friday, March 07 CEC 220 Digital Circuit Design

CEC 220 Digital Circuit Design Lecture Outline D Flip-Flop review VHDL code for a D Flip-Flop S-R, J-K, T Flip-Flops Registers Friday, March 07 CEC 220 Digital Circuit Design

Latches and Flip-Flops Example with a Gated D-Latch Complete the timing diagram below for a gated D latch Assume that Q begins at 0 Friday, March 07 CEC 220 Digital Circuit Design

Latches and Flip-Flops An edge triggered D Flip-Flop from gated D Latches Master Slave P & Q are initially ‘0’  𝐶𝑘 P Q Friday, March 07 CEC 220 Digital Circuit Design

Latches and Flip-Flops VHDL Code for a D Flip-Flop VHDL architecture code is concurrent except for code inside a “PROCESS” statement Sensitivity list process (CLK) –- If clock changes begin if (CLK’event and CLK=‘1’) then –- Rising edge Q <= D; -- Q and QNot QN <= not D; end if; end process; Statements in here are “Sequential” Friday, March 07 CEC 220 Digital Circuit Design

Latches and Flip-Flops VHDL Code for a D Flip-Flop Friday, March 07 CEC 220 Digital Circuit Design

Latches and Flip-Flops The J-K Flip-Flop Inputs State Next State J(t) K(t) Q(t) Q(t+t) 1 Hold 1 Reset 1 Set 1 1 Toggle Friday, March 07 CEC 220 Digital Circuit Design

Latches and Flip-Flops The J-K Flip-Flop An example with the J-K Flip-Flop Assume initially Q=0 Q Set Reset Toggle Friday, March 07 CEC 220 Digital Circuit Design

Latches and Flip-Flops The Toggle Flip-Flop The T Flip-Flop Input State Next State T(t) Q(t) Q(t+t) 1 Hold 1 1 Toggle Friday, March 07 CEC 220 Digital Circuit Design

Latches and Flip-Flops The Toggle Flip-Flop An example with the T Flip-Flop Assume initially Q=0 Hold Toggle Hold Toggle Q Friday, March 07 CEC 220 Digital Circuit Design

Latches and Flip-Flops Flip-Flop Summary Hold Reset Set NA Hold Reset Set Toggle Reset Set Hold Toggle Friday, March 07 CEC 220 Digital Circuit Design

Latches and Flip-Flops Build a T Flip-Flop from a J-F Flip-Flop Excitation Table: Q Q+ S R J K T D 0 X 1 1 0 1 X 0 1 X 1 X 0 T Q Q+ 1 J K X 1 J K Friday, March 07 CEC 220 Digital Circuit Design

Latches and Flip-Flops Fill in the timing diagram for a falling-edge triggered S-R flip-flop. Assume Q begins at 0 Friday, March 07 CEC 220 Digital Circuit Design

CEC 220 Digital Circuit Design Next Lecture Shift registers Counters State Graphs Friday, March 07 CEC 220 Digital Circuit Design