© 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights ReservedFloyd, Digital Fundamentals, 10 th ed Digital Logic Design Dr. Oliver Faust.

Slides:



Advertisements
Similar presentations
Changes in input values are reflected immediately (subject to the speed of light and electrical delays) on the outputs Each gate has an associated “electrical.
Advertisements

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.
EE2420 – Digital Logic Summer II 2013
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.
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.
Dr. ClincyLecture1 Appendix A – Part 2: Logic Circuits Current State or output of the device is affected by the previous states Circuit Flip Flops New.
EET 1131 Unit 10 Flip-Flops and Registers
© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed Digital Fundamentals Tenth Edition Floyd.
EKT 124 / 3 DIGITAL ELEKTRONIC 1
Figure 7–1 Two versions of SET-RESET (S-R) latches
Chapter 10 Flip-Flops and Registers Copyright ©2006 by Pearson Education, Inc. Upper Saddle River, New Jersey All rights reserved. William Kleitz.
Sequential circuit Digital electronics is classified into combinational logic and sequential logic. In combinational circuit outpus depends only on present.
Sequential Logic Flip-Flops and Related Devices Dr. Rebhi S. Baraka Logic Design (CSCI 2301) Department of Computer Science Faculty.
© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed Digital Fundamentals Tenth Edition Floyd.
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.
Chapter 3: Sequential Logic Circuit EKT 121 / 4 ELEKTRONIK DIGIT 1.
Flip Flops. Clock Signal Sequential logic circuits have memory Output is a function of input and present state Sequential circuits are synchronized by.
ECE 301 – Digital Electronics Flip-Flops and Registers (Lecture #15)
ETE Digital Electronics Latches and Flip-Flops [Lecture:12] Instructor: Sajib Roy Lecturer, ETE, ULAB.
Instructor: Alexander Stoytchev CprE 281: Digital Logic.
Figure 7.1. Control of an alarm system. Memory element Alarm Sensor Reset Set OnOff 
COE 202: Digital Logic Design Sequential Circuits Part 1
Instructor: Alexander Stoytchev CprE 281: Digital Logic.
Chap 4. Sequential Circuits
Unit 11 Latches and Flip-Flops Fundamentals of Logic Design By Roth and Kinney.
Instructor: Alexander Stoytchev CprE 281: Digital Logic.
Instructor: Alexander Stoytchev CprE 281: Digital Logic.
Synchronous Sequential Circuits by Dr. Amin Danial Asham.
Instructor: Alexander Stoytchev CprE 281: Digital Logic.
1 COMP541 Sequential Circuits Montek Singh Feb 1, 2012.
CS 352 : Computer Organization and Design University of Wisconsin-Eau Claire Dan Ernst Latches & Flip-Flops.
Sequential logic circuits
1 Synchronous Sequential Logic Sequential Circuits Every digital system is likely to have combinational circuits, most systems encountered in practice.
CEC 220 Digital Circuit Design Latches and Flip-Flops Monday, March 03 CEC 220 Digital Circuit Design Slide 1 of 19.
© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed Digital Logic Design Dr. Oliver Faust.
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
5 Chapter Synchronous Sequential Circuits 1. Logic Circuits- Review 2 Logic Circuits Sequential Circuits Combinational Circuits Consists of logic gates.
Sahar Mosleh PageCalifornia State University San Marcos 1 More on Flip Flop State Table and State Diagram.
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.
© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed Digital Logic Design Dr. Oliver Faust.
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.
Synchronous Sequential Circuits by Dr. Amin Danial Asham.
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.
© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed Digital Logic Design Dr. Oliver Faust.
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.
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.
LATCHES AND FLIP-FLOPS
Dr. Clincy Professor of CS
Instructor: Alexander Stoytchev
CISE204: Design of Digital Systems Lecture 18 : Sequential Circuits
ECE Digital logic Lecture 16: Synchronous Sequential Logic
Digital Logic Design Sequential Circuits (Chapter 6)
Instructor: Alexander Stoytchev
Instructor: Alexander Stoytchev
Instructor: Alexander Stoytchev
Flip Flops Unit-4.
Presentation transcript:

© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed Digital Logic Design Dr. Oliver Faust © 2008 Pearson Education Chapter 7

© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed In this lecture we cover: 7-1 Latches 7-2 Edge Triggered Flip-Flops 7-3 Flip-Flop Operating Characteristics 7-4 Flip-Flop Applications

Chapter Objectives  In this chapter you will learn about:  Logic circuits that can store information  Flip-flops, which store a single bit  Registers, which store multiple bits  Shift registers, which shift the contents of a register  Counters of various types  VHDL constructs used to implement storage elements  Design of small subsystems  Timing considerations

Memory element Alarm Sensor Reset Set OnOff  Motivation: Control of an Alarm System  Alarm turned on when On/Off = 1  Alarm turned off when On/Off = 0  Once triggered, alarm stays on until manually reset  The circuit requires a memory element

The Basic Latch  Basic latch is a feedback connection of two NOR gates or two NAND gates  It can store one bit of information  It can be set to 1 using the S input and reset to 0 using the R input.

AB A Simple Memory Element  A feedback loop with even number of inverters  If A = 0, B = 1 or when A = 1, B = 0  This circuit is not useful due to the lack of a mechanism for changing its state

Reset SetQ A Memory Element with NOR Gates

The Gated Latch  Gated latch is a basic latch that includes input gating and a control signal  The latch retains its existing state when the control input is equal to 0  Its state may be changed when the control signal is equal to 1. In our discussion we referred to the control input as the clock  We consider two types of gated latches:  Gated SR latch uses the S and R inputs to set the latch to 1 or reset it to 0, respectively.  Gated D latch uses the D input to force the latch into a state that has the same logic value as the D input.

Gated S/R Latch

Gated D Latch

t su t h Clk D Q Setup and Hold Times  Setup Time t su  The minimum time that the input signal must be stable prior to the edge of the clock signal.  Hold Time t h  The minimum time that the input signal must be stable after the edge of the clock signal.

Flip-Flops  A flip-flop is a storage element based on the gated latch principle  It can have its output state changed only on the edge of the controlling clock signal

Flip-Flops  We consider two types:  Edge-triggered flip-flop is affected only by the input values present when the active edge of the clock occurs  Master-slave flip-flop is built with two gated latches  The master stage is active during half of the clock cycle, and the slave stage is active during the other half.  The output value of the flip-flop changes on the edge of the clock that activates the transfer into the slave stage.

D Q Q MasterSlave D Clock Q Q D Q Q Q m Q s D Q m QQ s = D Q Q (a) Circuit (b) Timing diagram (c) Graphical symbol Clk Master-Slave D Flip-Flop

D Q Q Graphical symbol Clock A Positive-Edge-Triggered D Flip-Flop

Comparison of Level-Sensitive and Edge- Triggered D Storage Elements

D Q Q Clear Preset Master-Slave D Flip-Flop with Clear and Preset

T Flip-Flop

JK Flip-Flop

© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed Next lecture covers: 9-1 Basic Shift Register Operation 9-2 Serial -In / Serial--Out Shift Registers 9-3 Serial -In / Parallel--Out Shift Registers 9-4 Parallel -In / Serial--Out Shift Registers 9-5 Parallel -In / Parallel--Out Shift Registers