1 Digital Fundamentals Chapter 8 Flip-Flops and Related Devices Resource: CYU / CSIE / Yu-Hua Lee / Not made by Engr. Umar Talha,

Slides:



Advertisements
Similar presentations
© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed Digital Fundamentals with PLD Programming.
Advertisements

Chapter 6 -- Introduction to Sequential Devices. The Sequential Circuit Model Figure 6.1.
Chapter 6 -- Introduction to Sequential Devices
Sequential Logic Building Blocks – Flip-flops
Latches CS370 –Spring 2003 Section 4-2 Mano & Kime.
Flip-Flops Basic concepts. 1/50A. Yaicharoen2 Flip-Flops A flip-flop is a bi-stable device: a circuit having 2 stable conditions (0 or 1) 3 classes of.
Digital Logic Design ESGD2201
Storey: Electrical & Electronic Systems © Pearson Education Limited 2004 OHT 10.1 Sequential Logic  Introduction  Bistables  Memory Registers  Shift.
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.
Digital Logic Chapter 5 Presented by Prof Tim Johnson
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:
EEE515J1_L3-1/55 EEE515J1 ASICs and DIGITAL DESIGN Ian McCrumRoom 5D03B Tel: voice mail on 6 th ring.
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.
Flip-Flops and Related Devices Wen-Hung Liao, Ph.D.
Sequential Logic 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.
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 Logic Flip-Flops and Related Devices Dr. Rebhi S. Baraka Logic Design (CSCI 2301) Department of Computer Science Faculty.
Flip-Flops and Related Devices Wen-Hung Liao, Ph.D. 4/10/2002.
© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed Digital Fundamentals Tenth Edition Floyd.
Flip-Flops and Related Devices
Introduction Flip-flops are synchronous bistable devices. The term synchronous means the output changes state only when the clock input is triggered. That.
Chapter 3: Sequential Logic Circuit EKT 121 / 4 ELEKTRONIK DIGIT 1.
Chapter 9 Counters.
Astable: Having no stable state. An astable multivibrator oscillates between two quasistable states. Asynchronous Having no fixed time relationship Bistable.
COE 202: Digital Logic Design Sequential Circuits Part 1
Eng. Mohammed Timraz Electronics & Communication Engineer University of Palestine Faculty of Engineering and Urban planning Software Engineering Department.
CENT-113 Digital Electronics 1 Flip Flops TI Type 502 Flip Flop: 1st production IC in 1960.
5-21 Schmitt-Trigger Devices
CHAPTER 3 Sequential Logic/ Circuits.  Concept of Sequential Logic  Latch and Flip-flops (FFs)  Shift Registers and Application  Counters (Types,
Flip-Flops and Registers
Introduction to Chapter 7
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.
CYU / CSIE / Yu-Hua Lee / E- 1 數位邏輯 Digital Fundamentals Chapter 9 Counters.
FLIP FLOP By : Pn Siti Nor Diana Ismail CHAPTER 1.
Company LOGO DKT 122/3 DIGITAL SYSTEM 1 WEEK #12 LATCHES & FLIP-FLOPS.
Introduction to Chapter 5  Logic circuits studied so far have outputs that respond immediately to inputs at some instant in time.  We now introduce the.
Introduction to Sequential Logic
Flip Flop Chapter 15 Subject: Digital System Year: 2009.
Chapter 10 Flip-Flops and Registers 1. Objectives You should be able to: Explain the internal circuit operation of S-R and gated S-R flip-flops. Explain.
1 COMP541 Sequential Circuits Montek Singh Feb 1, 2007.
Counters.
EKT 221 / 4 DIGITAL ELECTRONICS II
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
Chapter5: Synchronous Sequential Logic – Part 1
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.
Flip Flops Engr. Micaela Renee Bernardo. A latch is a temporary storage device that has two stable states (bistable). It is a basic form of memory. Latches.
Dept. of Electrical Engineering
Lecture No. 23 Sequential Logic. Digital Logic & Design Dr. Waseem Ikram Lecture No. 23.
© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed Digital Fundamentals Tenth Edition Floyd.
Ch.5 Flip Flops and Related Devices
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.
© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed Digital Fundamentals Tenth Edition Floyd.
Flip-Flop Flip-flops Objectives Upon completion of this chapter, you will be able to :  Construct and analyze the operation of a latch flip-flop made.
Copyright ©2009 by Pearson Higher Education, Inc. Upper Saddle River, New Jersey All rights reserved. Digital Fundamentals, Tenth Edition Thomas.
Digital Logic & Design Dr. Waseem Ikram Lecture No. 25.
LATCHED, FLIP-FLOPS,AND TIMERS
EI205 Lecture 8 Dianguang Ma Fall 2008.
Digital Fundamentals Floyd Chapter 7 Tenth Edition
Digital Fundamentals Floyd Chapter 7 Tenth Edition
Chapter 7 Latches, Flip-Flops, and Timers
Presentation transcript:

1 Digital Fundamentals Chapter 8 Flip-Flops and Related Devices Resource: CYU / CSIE / Yu-Hua Lee / Not made by Engr. Umar Talha, special thanks to E#ngr. Jahanzeb Ahmed

2 Chapter 8 Flip-Flops and Related Devices  8-1 Latches  8-2 Edge-Triggered Flip-Flops  8-3 Master-Slave Flip-Flops  8-4 Flip-Flop Operating Characteristics  8-5 Flip-Flop Applications  8-6 One-Shots  8-7 The 555 Timer  8-8 Troubleshooting  8-9 Programmable Logic

CYU / CSIE / Yu-Hua Lee / E- 3 Figure 8--1 Two versions of SET-RESET (S-R) latches. Open file F08-01 and verify the operation of both latches.

CYU / CSIE / Yu-Hua Lee / E- 4 Figure 8--2 Negative-OR equivalent of the NAND gate S-R latch in Figure 8-1(b).

CYU / CSIE / Yu-Hua Lee / E- 5 Figure 8--3 The three modes of basic S-R latch operation (SET, RESET, no-change) and the invalid condition.

CYU / CSIE / Yu-Hua Lee / E- 6 Figure 8--4 Logic symbols for the S-R and S-R latch.

CYU / CSIE / Yu-Hua Lee / E- 7 Figure 8--5

CYU / CSIE / Yu-Hua Lee / E- 8 Figure 8--6 The S-R latch used to eliminate switch contact bounce.

CYU / CSIE / Yu-Hua Lee / E- 9 Figure 8--7 The 74LS279 quad S-R latch.

CYU / CSIE / Yu-Hua Lee / E- 10 Figure 8--8 A gated S-R latch.

CYU / CSIE / Yu-Hua Lee / E- 11 Figure 8--9

CYU / CSIE / Yu-Hua Lee / E- 12 Figure A gated D latch.

CYU / CSIE / Yu-Hua Lee / E- 13 Figure 8--11

CYU / CSIE / Yu-Hua Lee / E- 14 Figure The 74LS75 quad gated D latches.

CYU / CSIE / Yu-Hua Lee / E- 15 Chapter 8 Flip-Flops and Related Devices  8-1 Latches  8-2 Edge-Triggered Flip-Flops  8-3 Master-Slave Flip-Flops  8-4 Flip-Flop Operating Characteristics  8-5 Flip-Flop Applications  8-6 One-Shots  8-7 The 555 Timer  8-8 Troubleshooting  8-9 Programmable Logic

CYU / CSIE / Yu-Hua Lee / E- 16 Figure Edge-triggered flip-flop logic symbols (top: positive edge-triggered; bottom: negative edge-triggered).

CYU / CSIE / Yu-Hua Lee / E- 17 Figure Operation of a positive edge-triggered S-R flip-flop.

CYU / CSIE / Yu-Hua Lee / E- 18 Figure 8--15

CYU / CSIE / Yu-Hua Lee / E- 19 Figure 8--16

CYU / CSIE / Yu-Hua Lee / E- 20 Figure Edge triggering.

CYU / CSIE / Yu-Hua Lee / E- 21 Figure Flip-flop making a transition from the RESET state to the SET state on the positive-going edge of the clock pulse.

CYU / CSIE / Yu-Hua Lee / E- 22 Figure Flip-flop making a transition from the SET state to the RESET state on the positive-going edge of the clock pulse.

CYU / CSIE / Yu-Hua Lee / E- 23 Figure A positive edge-triggered D flip-flop formed with an S-R flip-flop and an inverter.

CYU / CSIE / Yu-Hua Lee / E- 24 Figure 8--21

CYU / CSIE / Yu-Hua Lee / E- 25 Figure A simplified logic diagram for a positive edge-triggered J-K flip-flop.

CYU / CSIE / Yu-Hua Lee / E- 26 Figure Transitions illustrating the toggle operation when J =1 and K = 1.

CYU / CSIE / Yu-Hua Lee / E- 27 Figure 8--24

CYU / CSIE / Yu-Hua Lee / E- 28 Figure 8--25

CYU / CSIE / Yu-Hua Lee / E- 29 Figure Logic symbol for a J-K flip-flop with active-LOW preset and clear inputs.

CYU / CSIE / Yu-Hua Lee / E- 30 Figure Logic diagram for a basic J-K flip-flop with active-LOW preset and clear inputs.

CYU / CSIE / Yu-Hua Lee / E- 31 Figure Open file F08-28 to verify the operation.

CYU / CSIE / Yu-Hua Lee / E- 32 Figure Logic symbols for the 74AHC74 dual positive edge-triggered D flip-flops.

CYU / CSIE / Yu-Hua Lee / E- 33 Figure Logic symbols for the 74HC112 dual negative edge-triggered J-K flip-flops.

CYU / CSIE / Yu-Hua Lee / E- 34 Figure 8--31

CYU / CSIE / Yu-Hua Lee / E- 35 Chapter 8 Flip-Flops and Related Devices  8-1 Latches  8-2 Edge-Triggered Flip-Flops  8-3 Master-Slave Flip-Flops  8-4 Flip-Flop Operating Characteristics  8-5 Flip-Flop Applications  8-6 One-Shots  8-7 The 555 Timer  8-8 Troubleshooting  8-9 Programmable Logic

CYU / CSIE / Yu-Hua Lee / E- 36 Figure Basic logic diagram for a master-slave J-K flip-flop.

CYU / CSIE / Yu-Hua Lee / E- 37 Figure Pulse-triggered (master-slave) J-K flip-flop logic symbols.

CYU / CSIE / Yu-Hua Lee / E- 38 Figure 8--34

CYU / CSIE / Yu-Hua Lee / E- 39 Chapter 8 Flip-Flops and Related Devices  8-1 Latches  8-2 Edge-Triggered Flip-Flops  8-3 Master-Slave Flip-Flops  8-4 Flip-Flop Operating Characteristics  8-5 Flip-Flop Applications  8-6 One-Shots  8-7 The 555 Timer  8-8 Troubleshooting  8-9 Programmable Logic

CYU / CSIE / Yu-Hua Lee / E Flip-Flop Operating Characteristics  Propagation Delay Times t PLH t PHL  Set-up Time t s  Hold Time t h  Maximum Clock Frequency f max  Pulse Widths t w  Power Dissipation

CYU / CSIE / Yu-Hua Lee / E- 41 Figure Propagation delays, clock to output.

CYU / CSIE / Yu-Hua Lee / E- 42 Figure Propagation delays, preset input to output and clear input to output.

CYU / CSIE / Yu-Hua Lee / E- 43 Figure Set-up time (t s ). The logic level must be present on the D input for a time equal to or greater than t s before the triggering edge of the clock pulse for reliable data entry.

CYU / CSIE / Yu-Hua Lee / E- 44 Figure Hold time (t h ). The logic level must remain on the D input for a time equal to or greater than t h after the triggering edge of the clock pulse for reliable data entry.

CYU / CSIE / Yu-Hua Lee / E- 45 Chapter 8 Flip-Flops and Related Devices  8-1 Latches  8-2 Edge-Triggered Flip-Flops  8-3 Master-Slave Flip-Flops  8-4 Flip-Flop Operating Characteristics  8-5 Flip-Flop Applications  8-6 One-Shots  8-7 The 555 Timer  8-8 Troubleshooting  8-9 Programmable Logic

CYU / CSIE / Yu-Hua Lee / E- 46 Figure Example of flip-flops used in a basic register for parallel data storage.

CYU / CSIE / Yu-Hua Lee / E- 47 Figure The J-K flip-flop as a divide-by-2 device. Q is one-half the frequency of CLK.

CYU / CSIE / Yu-Hua Lee / E- 48 Figure Example of two J-K flip-flops used to divide the clock frequency by 4. Q A is one-half and Q B is one-fourth the frequency of CLK.

CYU / CSIE / Yu-Hua Lee / E- 49 Figure 8--42

CYU / CSIE / Yu-Hua Lee / E- 50 Figure 8--43

CYU / CSIE / Yu-Hua Lee / E- 51 Figure Flip-flops used to generate a binary count sequence. Two repetitions (00, 01, 10, 11) are shown.

CYU / CSIE / Yu-Hua Lee / E- 52 Figure 8--45

CYU / CSIE / Yu-Hua Lee / E- 53 Figure 8--46

CYU / CSIE / Yu-Hua Lee / E- 54 Chapter 8 Flip-Flops and Related Devices  8-1 Latches  8-2 Edge-Triggered Flip-Flops  8-3 Master-Slave Flip-Flops  8-4 Flip-Flop Operating Characteristics  8-5 Flip-Flop Applications  8-6 One-Shots  8-7 The 555 Timer  8-8 Troubleshooting  8-9 Programmable Logic

CYU / CSIE / Yu-Hua Lee / E- 55 Figure A simple one-shot circuit.

CYU / CSIE / Yu-Hua Lee / E- 56 Figure Basic one-shot logic symbols. CX and RX stand for external components.

CYU / CSIE / Yu-Hua Lee / E- 57 Figure Nonretriggerable one-shot action.

CYU / CSIE / Yu-Hua Lee / E- 58 Figure Retriggerable one-shot action.

CYU / CSIE / Yu-Hua Lee / E- 59 Figure Logic symbols for the nonretriggerable one-shot.

CYU / CSIE / Yu-Hua Lee / E- 60 Figure Three ways to set the pulse width of a

CYU / CSIE / Yu-Hua Lee / E- 61 Figure Logic symbol for the 74LS122 retriggerable one-shot.

CYU / CSIE / Yu-Hua Lee / E- 62 Figure 8--54

CYU / CSIE / Yu-Hua Lee / E- 63 Figure A sequential timing circuit using three 74LS122 one-shots.

CYU / CSIE / Yu-Hua Lee / E- 64 Chapter 8 Flip-Flops and Related Devices  8-1 Latches  8-2 Edge-Triggered Flip-Flops  8-3 Master-Slave Flip-Flops  8-4 Flip-Flop Operating Characteristics  8-5 Flip-Flop Applications  8-6 One-Shots  8-7 The 555 Timer  8-8 Troubleshooting  8-9 Programmable Logic

CYU / CSIE / Yu-Hua Lee / E- 65 Figure Internal functional diagram of a 555 timer (pin numbers are in parenthesis).

CYU / CSIE / Yu-Hua Lee / E- 66 Figure The 555 timer connected as a one-shot.

CYU / CSIE / Yu-Hua Lee / E- 67 Figure One-shot operation of the 555 timer.

CYU / CSIE / Yu-Hua Lee / E- 68 Figure The 555 timer connected as an astable multivibrator (oscillator).

CYU / CSIE / Yu-Hua Lee / E- 69 Figure Operation of the 555 timer in the astable mode.

CYU / CSIE / Yu-Hua Lee / E- 70 Figure Frequency of oscillation as a function of C 1 and R 1 1 2R 2. The sloped lines are values of R 1 1 2R 2.

CYU / CSIE / Yu-Hua Lee / E- 71 Figure The addition of diode D 1 allows the duty cycle of the output to be adjusted to less than 50 percent by making R 1, R 2.

CYU / CSIE / Yu-Hua Lee / E- 72 Figure Open file F08-63 to verify operation.

CYU / CSIE / Yu-Hua Lee / E- 73 Chapter 8 Flip-Flops and Related Devices  8-1 Latches  8-2 Edge-Triggered Flip-Flops  8-3 Master-Slave Flip-Flops  8-4 Flip-Flop Operating Characteristics  8-5 Flip-Flop Applications  8-6 One-Shots  8-7 The 555 Timer  8-8 Troubleshooting  8-9 Programmable Logic

CYU / CSIE / Yu-Hua Lee / E- 74 Figure Two-phase clock generator with ideal waveforms. Open file F08-64 and verify the operation.

CYU / CSIE / Yu-Hua Lee / E- 75 Figure Logic analyzer displays for the circuit in Figure 8-64.

CYU / CSIE / Yu-Hua Lee / E- 76 Figure Two-phase clock generator using negative edge-triggered flip-flop to eliminate glitches. Open file F08-66 and verify the operation.

CYU / CSIE / Yu-Hua Lee / E- 77 Chapter 8 Flip-Flops and Related Devices  8-1 Latches  8-2 Edge-Triggered Flip-Flops  8-3 Master-Slave Flip-Flops  8-4 Flip-Flop Operating Characteristics  8-5 Flip-Flop Applications  8-6 One-Shots  8-7 The 555 Timer  8-8 Troubleshooting  8-9 Programmable Logic

CYU / CSIE / Yu-Hua Lee / E- 78 Figure GAL block diagrams.

CYU / CSIE / Yu-Hua Lee / E- 79 Figure The GAL22V10 OLMC.

CYU / CSIE / Yu-Hua Lee / E- 80 Figure The GAL16V8 OLMC.

CYU / CSIE / Yu-Hua Lee / E- 81 Combinational Logic Chapter 8 Digital System Application

CYU / CSIE / Yu-Hua Lee / E- 82 Figure Traffic light control system block diagram.

CYU / CSIE / Yu-Hua Lee / E- 83 Figure Block diagram of the timing circuits.

CYU / CSIE / Yu-Hua Lee / E- 84 Figure 8--72

CYU / CSIE / Yu-Hua Lee / E- 85 Figure 8--73

CYU / CSIE / Yu-Hua Lee / E- 86 Figure 8--74

CYU / CSIE / Yu-Hua Lee / E- 87 Combinational Logic Chapter 8 Problems

CYU / CSIE / Yu-Hua Lee / E- 88 Figure 8--75

CYU / CSIE / Yu-Hua Lee / E- 89 Figure 8--76

CYU / CSIE / Yu-Hua Lee / E- 90 Figure 8--77

CYU / CSIE / Yu-Hua Lee / E- 91 Figure 8--78

CYU / CSIE / Yu-Hua Lee / E- 92 Figure 8--79

CYU / CSIE / Yu-Hua Lee / E- 93 Figure 8--80

CYU / CSIE / Yu-Hua Lee / E- 94 Figure 8--81

CYU / CSIE / Yu-Hua Lee / E- 95 Figure 8--82

CYU / CSIE / Yu-Hua Lee / E- 96 Figure 8--83

CYU / CSIE / Yu-Hua Lee / E- 97 Figure 8--84

CYU / CSIE / Yu-Hua Lee / E- 98 Figure 8--85

CYU / CSIE / Yu-Hua Lee / E- 99 Figure 8--86

CYU / CSIE / Yu-Hua Lee / E- 100 Figure 8--87

CYU / CSIE / Yu-Hua Lee / E- 101 Figure 8--88

CYU / CSIE / Yu-Hua Lee / E- 102 Figure 8--89

CYU / CSIE / Yu-Hua Lee / E- 103 Figure 8--90

CYU / CSIE / Yu-Hua Lee / E- 104 Figure 8--91

CYU / CSIE / Yu-Hua Lee / E- 105 Figure 8--92

CYU / CSIE / Yu-Hua Lee / E- 106 Figure 8--93

CYU / CSIE / Yu-Hua Lee / E- 107 Figure 8--94

CYU / CSIE / Yu-Hua Lee / E- 108 Figure 8--95

CYU / CSIE / Yu-Hua Lee / E- 109 Figure 8--96

CYU / CSIE / Yu-Hua Lee / E- 110 Figure 8--97

CYU / CSIE / Yu-Hua Lee / E- 111 Figure 8--98

CYU / CSIE / Yu-Hua Lee / E- 112 Figure 8--99

CYU / CSIE / Yu-Hua Lee / E- 113 Figure

CYU / CSIE / Yu-Hua Lee / E- 114 Figure

CYU / CSIE / Yu-Hua Lee / E- 115 Figure

CYU / CSIE / Yu-Hua Lee / E- 116 Figure

CYU / CSIE / Yu-Hua Lee / E- 117 Figure

CYU / CSIE / Yu-Hua Lee / E- 118 Figure

CYU / CSIE / Yu-Hua Lee / E- 119 Figure

CYU / CSIE / Yu-Hua Lee / E- 120 Figure

CYU / CSIE / Yu-Hua Lee / E- 121 Figure

CYU / CSIE / Yu-Hua Lee / E- 122 Figure

CYU / CSIE / Yu-Hua Lee / E- 123 Figure

CYU / CSIE / Yu-Hua Lee / E- 124 Figure

CYU / CSIE / Yu-Hua Lee / E- 125 Figure

CYU / CSIE / Yu-Hua Lee / E- 126 Figure

CYU / CSIE / Yu-Hua Lee / E- 127 Figure

CYU / CSIE / Yu-Hua Lee / E- 128 Figure