Flip Flops 3.1 Latches and Flip-Flops 3 ©Paul Godin Created September 2007 Last Edit Aug 2013.

Slides:



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

Sequential Logic Building Blocks – Flip-flops
CHAPTER 3 Sequential Logic/ Circuits.  Concept of Sequential Logic  Latch and Flip-flops (FFs)  Shift Registers and Application  Counters (Types,
Digital Logic Chapter 5 Presented by Prof Tim Johnson
Sequential Logic Latches and Flip-Flops. Sequential Logic Circuits The output of sequential logic circuits depends on the past history of the state of.
Practice Problems 2 Latch and Flip Flop ©Paul Godin Created September 2007 Last edit Aug 2013.
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.
1 © 2014 B. Wilkinson Modification date: Dec Sequential Logic Circuits – I Flip-Flops A sequential circuit is a logic components whose outputs.
EKT 124 / 3 DIGITAL ELEKTRONIC 1
EECC341 - Shaaban #1 Lec # 13 Winter Sequential Logic Circuits Unlike combinational logic circuits, the output of sequential logic circuits.
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.
CS370 Counters. Overview °Counter: A register that goes through a prescribed series of states °Counters are important components in computers. °Counters.
Chapter 3: Sequential Logic Circuit EKT 121 / 4 ELEKTRONIK DIGIT 1.
SEQUENTIAL CIRCUITS USING TTL 74XX ICS
Flip Flops. Clock Signal Sequential logic circuits have memory Output is a function of input and present state Sequential circuits are synchronized by.
Objectives: Given input logice levels, state the output of an RS NAND and RS NOR. Given a clock signal, determine the PGT and NGT. Define “Edge Triggered”
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.
Eng. Mohammed Timraz Electronics & Communication Engineer University of Palestine Faculty of Engineering and Urban planning Software Engineering Department.
Flip-flops. Outline  Edge-Triggered Flip-flops  S-R Flip-flop  D Flip-flop  J-K Flip-flop  T Flip-flop  Asynchronous Inputs.
Introduction to Sequential Logic Design Flip-flops.
Flip Flop
CHAPTER 3 Sequential Logic/ Circuits.  Concept of Sequential Logic  Latch and Flip-flops (FFs)  Shift Registers and Application  Counters (Types,
Flip Flops 3.1 Latches and Flip-Flops 3 ©Paul Godin Created September 2007 Last Edit Aug 2013.
FLIP FLOP By : Pn Siti Nor Diana Ismail CHAPTER 1.
Company LOGO DKT 122/3 DIGITAL SYSTEM 1 WEEK #12 LATCHES & FLIP-FLOPS.
Asynch 1.1 Asynchronous Counters 1 ©Paul Godin Last Edit Sept 2009.
ECA1212 Introduction to Electrical & Electronics Engineering Chapter 9: Digital Electronics – Sequential Logic by Muhazam Mustapha, November 2011.
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
Sequential logic circuits
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 Lecture #11 EGR 277 – Digital Logic Ch. 5 - Synchronous Sequential Logic There are two primary classifications of logic circuits: 1.Combinational logic.
Digital Electronics and Computer Interfacing Tim Mewes 3. Digital Electronics.
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
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.
Flip Flops 4.1 Latches and Flip-Flops 4 ©Paul Godin Created September 2007 Last edit Sept 2009.
Synchronous Sequential Circuits by Dr. Amin Danial Asham.
Counters and registers Eng.Maha Alqubali. Registers Registers are groups of flip-flops, where each flip- flop is capable of storing one bit of information.
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.
LATCHED, FLIP-FLOPS,AND TIMERS
Flip-Flops and Related Devices
Flip-FLops and Latches
Flip Flops.
FIGURE 5.1 Block diagram of sequential circuit
Digital Design Lecture 9
FLIP FLOPS.
Flip-FLops and Latches
Introduction to Sequential Logic Design
Flip-FLops and Latches
Latches and Flip-Flops 2
Flip-FLops and Latches
Flip-FLops and Latches
Lecture No. 24 Sequential Logic.
FLIP-FLOPS.
Flip-Flops.
Latches and Flip-Flops 2
Flip Flops Unit-4.
14 Digital Systems.
Flip-FLops and Latches
Sequential Digital Circuits
Presentation transcript:

Flip Flops 3.1 Latches and Flip-Flops 3 ©Paul Godin Created September 2007 Last Edit Aug 2013

Flip Flops 3.2 Edge-Triggered Devices ◊Up to now we have looked at two digital values or states: 1 and 0 ◊There are also two dynamic digital values or states: ◊rising edge (positive edge) ◊falling edge (negative edge) positive edge negative edge 1 0 0

Flip Flops 3.3 Edge-Triggered Devices ◊Inputs to some devices will respond only to a dynamic state. ◊This is known as an edge input or a clock input. ◊The symbol is a triangle at the input. Positive Edge Negative Edge

Flip Flops 3.4 Edge-Triggering Notation ◊Positive Edge: ◊PGT (positive going transition) ◊PT (positive transition) ◊P ◊Negative Edge: ◊NGT (negative going transition) ◊NT (negative transition) ◊N

Flip Flops 3.5 Advantages of Edge-Triggered Devices ◊Edge-Triggered devices are important for many applications, including: ◊Counters ◊Clocks ◊Timers ◊Digital meters ◊Sequential circuits ◊Mathematical operations, … ◊Shift Registers ◊Memory ◊Data communications ◊Logic operations ◊Mathematical operations, …

Flip Flops 3.6 Edge-Triggered D Flip Flop ◊The edge-triggered D-Flip Flop will only read its input when the edge is received. ◊“With an enabling edge, the Q output follows the D input”. D Q Q Clock EnDQQ’Mode 001Reset 110Set 1XQQ’Hold 0XQQ’Hold XQQ’Hold This is one memory cell in computer applications

Flip Flops 3.7 Edge-Triggered SR ◊The edge triggered SR is not very popular. ◊The only difference between the SR Latch and the edge-triggered SR is that it will read its input only when it receives the active edge.

Flip Flops 3.8 Edge-Triggered SR Flip Flop ClkSRQQ’Mode 00QQ’Hold 0101Reset 1010Set 1100Invalid 0XXQQ’Hold 1XXQQ’Hold XXQQ’Hold S R Q Q Clk

Flip Flops 3.9 Edge-Triggered JK Flip Flop ◊The JK Flip Flop is a device that functions like an edge-triggered SR latch. ◊The only exception: toggle state on two active inputs. ◊Toggle means go to the complimentary (opposite) output state. This is a very useful function.

Flip Flops 3.10 Edge-Triggered JK Flip Flop ClkJKQQ’Mode 00QQ’Hold 0101Reset 1010Set 11Q’QToggle 0XXQQ’Hold 1XXQQ’Hold XXQQ’Hold J K Q Q Clk

Flip Flops 3.11 Toggling Toggling has important applications including counters and frequency dividers. A “T” Flip-Flop has a clock input only. The output will toggle on an input edge. T Q Q Clk

Flip Flops 3.12 Exercise 1: Edge-Triggered D Flip Flop Complete the table D Q Q Clock EnDQQ’Mode 0 1 1X 0X X

Flip Flops 3.13 Exercise 2: Edge-Triggered JK Flip Flop ClkJKQQ’Mode XX 1XX XX J K Q Q Clk Complete the table

Flip Flops 3.14 Exercise 3: D Flip Flop timing diagram Complete the timing diagram D Q Q Clk D Q Q Clock

Flip Flops 3.15 Exercise 4: JK Flip Flop timing diagram J K Q Q Clk Complete the timing diagram J K Q Q Clk

ASYNCHRONOUS INPUTS Flip Flops 3.16

Flip Flops 4.17 Input Types Flip-Flops have 2 types of inputs: ◊Synchronous ◊Waits for a clock input to change the state. ◊Asynchronous ◊Immediate change to the outputs without waiting for a clock pulse. Overrides the synchronous inputs.

Flip Flops 4.18 Examples of Asynchronous Inputs The preset and clear are asynchronous inputs. The J, K and Clock inputs are synchronous inputs.

Use of Asynchronous Inputs ◊Asynchronous inputs are used to force an immediate set or reset output to a single flip- flop or a group of flip-flops. ◊Active asynchronous outputs inhibit synchronous inputs. Flip Flops 4.19

Flip Flops 4.20 Asynchronous Immediate Synchronous On clock edge Remember

Flip Flops 4.21 JK ASYNCHRONOUS FLIP-FLOP

Flip Flops 4.22 D Flip Flop with asynch inputs ClkDPreClrQQ’Mode 01101Reset 11110Set 1X11QQ’Hold 0X11QQ’Hold X11QQ’Hold XX0110Preset XX1001Clear XX00??Invalid D Q Q Clock Preset Clear Synchronous Asynchronous Typically, active preset and clear generates a 1-1 output

Question ◊What often happens if the asynchronous inputs of a flip-flop are left floating? ◊Do asynchronous inputs need to be debounced? Flip Flops 4.23

Flip Flops 3.24 Exercise 5: JK Flip Flop timing diagram Complete the timing diagram J K Q Q Clk J K Q Q

Flip Flops 3.25 END © GMAIL.COM