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.

Slides:



Advertisements
Similar presentations
Flip-Flops and Registers
Advertisements

Sequential Logic ENEL 111. Sequential Logic Circuits So far we have only considered circuits where the output is purely a function of the inputs With.
COE 202: Digital Logic Design Sequential Circuits Part 1 Dr. Ahmad Almulhem ahmadsm AT kfupm Phone: Office: Ahmad Almulhem, KFUPM.
Sequential Logic Building Blocks – Flip-flops
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.
A. Abhari CPS2131 Sequential Circuits Most digital systems like digital watches, digital phones, digital computers, digital traffic light controllers and.
1 Fundamentals of Computer Science Sequential Circuits.
CHAPTER 3 Sequential Logic/ Circuits.  Concept of Sequential Logic  Latch and Flip-flops (FFs)  Shift Registers and Application  Counters (Types,
Computer Architecture CS 215
Classification of Digital Circuits  Combinational. Output depends only on current input values.  Sequential. Output depends on current input values and.
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:
Sequential circuits The digital circuits considered thus far have been combinational, where the outputs are entirely dependent on the current inputs. Although.
Fall 2004EE 3563 Digital Systems Design EE 3563 Sequential Logic Design Principles  A sequential logic circuit is one whose outputs depend not only on.
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.
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.
Sequential Circuits : Part I Read Sections 5-1, 5-2, 5-3.
EKT 124 / 3 DIGITAL ELEKTRONIC 1
Chapter 10 Flip-Flops and Registers Copyright ©2006 by Pearson Education, Inc. Upper Saddle River, New Jersey All rights reserved. William Kleitz.
1. 2 Logic Circuits Sequential Circuits Combinational Circuits Consists of logic gates whose outputs are determined from the current combination of inputs.
Sequential circuit Digital electronics is classified into combinational logic and sequential logic. In combinational circuit outpus depends only on present.
Flip-Flops and Related Devices Wen-Hung Liao, Ph.D. 4/10/2002.
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.
Digital Logic Design CHAPTER 5 Sequential Logic. 2 Sequential Circuits Combinational circuits – The outputs are entirely dependent on the current inputs.
Flip Flops. Clock Signal Sequential logic circuits have memory Output is a function of input and present state Sequential circuits are synchronized by.
Astable: Having no stable state. An astable multivibrator oscillates between two quasistable states. Asynchronous Having no fixed time relationship Bistable.
1 Sequential Circuit Latch & Flip-flop. 2 Contents Introduction Memory Element Latch  SR latch  D latch Flip-flop  SR flip-flop  D flip-flop  JK.
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.
Chap 4. Sequential Circuits
CENT-113 Digital Electronics 1 Flip Flops TI Type 502 Flip Flop: 1st production IC in 1960.
CHAPTER 3 Sequential Logic/ Circuits.  Concept of Sequential Logic  Latch and Flip-flops (FFs)  Shift Registers and Application  Counters (Types,
Flip-Flops and Registers
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 FLOP By : Pn Siti Nor Diana Ismail CHAPTER 1.
Company LOGO DKT 122/3 DIGITAL SYSTEM 1 WEEK #12 LATCHES & FLIP-FLOPS.
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.
Synchronous Sequential Circuits by Dr. Amin Danial Asham.
Introduction to Sequential Logic
1 COMP541 Sequential Circuits Montek Singh Feb 1, 2007.
1 Synchronous Sequential Logic Sequential Circuits Every digital system is likely to have combinational circuits, most systems encountered in practice.
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.
Sequential Circuit Latch & Flip-flop. Contents Introduction Memory Element Latch  SR latch  D latch Flip-flop  SR flip-flop  D flip-flop  JK flip-flop.
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.
Chapter5: Synchronous Sequential Logic – Part 1
Synchronous Sequential Circuits by Dr. Amin Danial Asham.
 Flip-flops are digital logic circuits that can be in one of two states.  Flip-flops maintain their state indefinitely until an input pulse called a.
CS151 Introduction to Digital Design Chapter 5: Sequential Circuits 5-1 : Sequential Circuit Definition 5-2: Latches 1Created by: Ms.Amany AlSaleh.
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.
Flip Flops 3.1 Latches and Flip-Flops 3 ©Paul Godin Created September 2007 Last Edit Aug 2013.
Dept. of Electrical Engineering
7. Latches and Flip-Flops Digital Computer Logic.
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.
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.
1. 2 Logic Circuits Sequential Circuits Combinational Circuits Consists of logic gates whose outputs are determined from the current combination of inputs.
FLIP FLOPS Binary unit capable of storing one bit – 0 or 1
LATCHED, FLIP-FLOPS,AND TIMERS
Flip Flops.
FIGURE 5.1 Block diagram of sequential circuit
Digital Design Lecture 9
FLIP FLOPS.
LECTURE 15 – DIGITAL ELECTRONICS
FLIP-FLOPS.
Presentation transcript:

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 the internal circuit operation of S-R and gated S-R flip-flops. Compare the operation of D latches and D flip-flops by using timing diagrams. Compare the operation of D latches and D flip-flops by using timing diagrams. Describe the difference between pulse-triggered and edge-triggered flip-flops. Describe the difference between pulse-triggered and edge-triggered flip-flops. 2

Objectives (Continued) Explain the theory of operation of master-slave devices. Explain the theory of operation of master-slave devices. Connect IC J-K flip-flops as toggle and D flip-flops. Connect IC J-K flip-flops as toggle and D flip-flops. Use timing diagrams to illustrate the synchronous and asynchronous operation of J-K flip-flops. Use timing diagrams to illustrate the synchronous and asynchronous operation of J-K flip-flops. 3

S-R Flip-Flop Data storage circuit Data storage circuit Cross-coupled NOR scheme Cross-coupled NOR scheme Asynchronous set and reset Asynchronous set and reset 4

S-R Flip-Flop Function table Function table 5

S-R Flip-Flop Cross-coupled NAND scheme Cross-coupled NAND scheme 6

S-R Flip-Flop Function table Function table 7

S-R Flip-Flop Both true and complemented Q outputs Both true and complemented Q outputs Symbols for a S-R FF Symbols for a S-R FF 8

S-R Flip-Flop Timing Analysis 9

S-R Flip-Flop Application Storage register to remember time of day when a temperature limit switch goes high. Storage register to remember time of day when a temperature limit switch goes high. 11

Gated S-R Flip-Flop Asynchronous – output responds immediately to input Asynchronous – output responds immediately to input Synchronous – output responds in step with a control input Synchronous – output responds in step with a control input 13

Gated S-R Flip-Flop Function table and symbol Function table and symbol 14

Gated D Flip-Flop Data flip-flop with example inputs and outputs Data flip-flop with example inputs and outputs 15

Discussion Point How will the complement of an output differ from the output? How will the complement of an output differ from the output? Explain the difference between synchronous and asynchronous inputs. Explain the difference between synchronous and asynchronous inputs. 16

7474 Integrated Circuit D Flip-Flop Logic symbol and pin configuration 20

Integrated Circuit D Flip-Flop Positive edge-detection circuit Positive edge-detection circuit 21

Integrated Circuit D Flip-Flop Synchronous inputs Synchronous inputs D (Data) D (Data) C p (Clock) C p (Clock) Asynchronous inputs Asynchronous inputs S D (Set) S D (Set) R D (Reset) R D (Reset) Setup Time Setup Time D must be stable before transition of C p D must be stable before transition of C p 22

Integrated Circuit D Flip-Flop 22

Master-Slave J-K Flip-Flop Toggle mode Toggle mode Switches to opposite state at active clock edge Switches to opposite state at active clock edge Master-slave Master-slave Master receives data while input trigger is HIGH Master receives data while input trigger is HIGH Slave receives data from master and outputs it when clock goes LOW Slave receives data from master and outputs it when clock goes LOW 24

Master-Slave J-K Flip-Flop Function Table Function Table 25

Master-Slave J-K Flip-Flop Equivalent circuit and logic symbol Equivalent circuit and logic symbol 26

Master-Slave J-K Flip-Flop Enable/disable operation of the C P line Enable/disable operation of the C P line 27

Master-Slave J-K Flip-Flop Pulse-triggered (level-triggered) Pulse-triggered (level-triggered) Input data are read during entire time clock pulse is at a HIGH level Input data are read during entire time clock pulse is at a HIGH level Noise can appear on J and K while CP is high Noise can appear on J and K while CP is high Called “Ones catching” Called “Ones catching” Eliminated by newer designs using edge triggering Eliminated by newer designs using edge triggering 27

Edge-Triggered J-K Flip-Flop Accepts data on the J and K inputs only at the active clock edge Accepts data on the J and K inputs only at the active clock edge Symbols for positive and negative edge triggered J-K FFs Symbols for positive and negative edge triggered J-K FFs 28

Edge-Triggered J-K Flip-Flop Function Table Function Table 29

Discussion Point How are pulse triggered (level triggered) devices different from edge triggered devices? How are pulse triggered (level triggered) devices different from edge triggered devices? What is ones catching? What is ones catching? Identify the synchronous and asynchronous inputs on a JK flip-flop logic symbol Identify the synchronous and asynchronous inputs on a JK flip-flop logic symbol 30

Integrated Circuit J-K Flip-Flop 7476 – positive pulse-triggered 7476 – positive pulse-triggered 74LS76 - negative edge-triggered 74LS76 - negative edge-triggered Logic symbol and pin configuration Logic symbol and pin configuration 31

Integrated Circuit J-K Flip-Flop 31

Integrated Circuit J-K Flip-Flop To form a D flip-flop add an inverter To form a D flip-flop add an inverter 33

Integrated Circuit J-K Flip-Flop To form a toggle flip-flop tie inputs HIGH To form a toggle flip-flop tie inputs HIGH 34

Using an Octal D Flip-Flop in a Microcontroller Application Octal ICs - eight on a chip Octal ICs - eight on a chip 8-bit register 8-bit register 74HCT273 logic diagram 74HCT273 logic diagram 35

Summary The S-R flip-flop is a single-bit data storage circuit that can be constructed using basic gates. The S-R flip-flop is a single-bit data storage circuit that can be constructed using basic gates. Adding gate enable circuitry to the S-R flip-flop makes it synchronous. This means that it will operate only under the control of a clock or enable signal. Adding gate enable circuitry to the S-R flip-flop makes it synchronous. This means that it will operate only under the control of a clock or enable signal. 37

Summary The D flip-flop operates similar to the S-R, except it has only a single data input, D. The D flip-flop operates similar to the S-R, except it has only a single data input, D. The 7475 is an integrated-circuit D latch. The output (Q) follows D while the enable (E) is HIGH. When E goes LOW, Q remains latched. The 7475 is an integrated-circuit D latch. The output (Q) follows D while the enable (E) is HIGH. When E goes LOW, Q remains latched. 38

Summary The 7474 is an integrated-circuit D flip-flop. It has two synchronous inputs, D and C p, and two asynchronous inputs, S D and R D. Q changes to the level of D at the positive edge of C p. Q responds immediately to the asynchronous inputs regardless of the synchronous operations. The 7474 is an integrated-circuit D flip-flop. It has two synchronous inputs, D and C p, and two asynchronous inputs, S D and R D. Q changes to the level of D at the positive edge of C p. Q responds immediately to the asynchronous inputs regardless of the synchronous operations. 39

Summary The J-K flip-flop differs from the S-R flip- flop because it can also perform a toggle operation. Toggling means that Q flips to its opposite state. The J-K flip-flop differs from the S-R flip- flop because it can also perform a toggle operation. Toggling means that Q flips to its opposite state. The master-slave J-K slip-flop consists of two latches: a master that receives data while the clock trigger is HIGH, and a slave that receives data from the master and outputs it to Q when the clock goes LOW. The master-slave J-K slip-flop consists of two latches: a master that receives data while the clock trigger is HIGH, and a slave that receives data from the master and outputs it to Q when the clock goes LOW. 40

Summary The 74LS76 is an edge-triggered J-K flip-flop IC. It has synchronous and asynchronous inputs. The 7476 is similar, except it is a pulse-triggered master-slave type. The 74LS76 is an edge-triggered J-K flip-flop IC. It has synchronous and asynchronous inputs. The 7476 is similar, except it is a pulse-triggered master-slave type. The 74HCT273 is an example of an octal D flip-flop. It has eight D flip-flops in a single IC package, making it ideal for microprocessor applications. The 74HCT273 is an example of an octal D flip-flop. It has eight D flip-flops in a single IC package, making it ideal for microprocessor applications. 41