Flip-FLops and Latches

Slides:



Advertisements
Similar presentations
Introduction to Sequential Logic Design Latches. 2 Terminology A bistable memory device is the generic term for the elements we are studying. Latches.
Advertisements

Sequential Digital Circuits Dr. Costas Kyriacou and Dr. Konstantinos Tatas.
Computer Science 210 Computer Organization Clocks and Memory Elements.
Chapter 6 -- Introduction to Sequential Devices
Latches CS370 –Spring 2003 Section 4-2 Mano & Kime.
CHAPTER 3 Sequential Logic/ Circuits.  Concept of Sequential Logic  Latch and Flip-flops (FFs)  Shift Registers and Application  Counters (Types,
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 Kuliah Rangkaian Digital Kuliah 8: Rangkaian Logika Sekuensial Teknik Komputer Universitas Gunadarma.
1 Sequential Systems A combinational system is a system whose outputs depend only upon its current inputs. A sequential system is a system whose outputs.
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.
Latches and Flip-Flops Discussion D8.1 Section 13-9.
EET 1131 Unit 10 Flip-Flops and Registers
EKT 124 / 3 DIGITAL ELEKTRONIC 1
INTRODUCTION TO SEQUENCIAL CIRCUIT
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.
Sequential Circuits. 2 Sequential vs. Combinational Combinational Logic:  Output depends only on current input −TV channel selector (0-9) Sequential.
A clocked synchronous state-machine changes state only when a triggering edge or “tick” occurs on the clock signal. ReturnNext  “State-machine”: is a.
Chapter 3: Sequential Logic Circuit EKT 121 / 4 ELEKTRONIK DIGIT 1.
Sequential Logic - An Overview
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.
COE 202: Digital Logic Design Sequential Circuits Part 1
Introduction to Sequential Logic Design Flip-flops.
CENT-113 Digital Electronics 1 Flip Flops TI Type 502 Flip Flop: 1st production IC in 1960.
Introduction to Sequential Logic Design Flip-flops FSM Analysis.
Introduction to Sequential Logic Design Flip-flops.
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.
Sequential Logic Combinatorial components: the output values are computed only from their present input values. Sequential components: their output values.
Topic: Sequential Circuit Course: Logic Design Slide no. 1 Chapter #6: Sequential Logic Design.
Synchronous Sequential Circuits by Dr. Amin Danial Asham.
Review of Digital Logic Design Concepts OR: What I Need to Know from Digital Logic Design (EEL3705)
Instructor: Alexander Stoytchev CprE 281: Digital Logic.
BR 8/991 DFFs are most common Most programmable logic families only have DFFs DFF is fastest, simplest (fewest transistors) of FFs Other FF types (T, JK)
1 Lecture #11 EGR 277 – Digital Logic Ch. 5 - Synchronous Sequential Logic There are two primary classifications of logic circuits: 1.Combinational logic.
Sequential logic circuits
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
Synchronous Sequential Logic Part I
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.
Synchronous Sequential Circuits by Dr. Amin Danial Asham.
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.
Lecture #16: D Latch ; Flip-Flops
LATCHED, FLIP-FLOPS,AND TIMERS
Flip-FLops and Latches
Flip Flops.
Flip-Flop.
Flip-FLops and Latches
Introduction to Sequential Logic Design
ECE Digital logic Lecture 16: Synchronous Sequential Logic
Flip-FLops and Latches
Excitation Vectors Input Combinational Logic Memory Output States.
Flip-FLops and Latches
Flip-FLops and Latches
Excitation Vectors Input Combinational Logic Memory Output States.
1) Latched, initial state Q =1
FLIP-FLOPS.
Flip-Flops.
Flip Flops Unit-4.
Flip-FLops and Latches
Sequential Digital Circuits
Presentation transcript:

Flip-FLops and Latches Digital Electronics TM 3.1 Introduction to Flip-Flop Flip-Flops and Latches Digital Electronics © 2014 Project Lead The Way, Inc. Project Lead The Way, Inc. Copyright 2009

Flip-FLops and Latches Flip-Flops & Latches Flip-FLops and Latches Digital Electronics TM 3.1 Introduction to Flip-Flops This presentation will Review sequential logic and the flip-flop. Introduce the D flip-flop and provide an excitation table and a sample timing analysis. Introduce the J/K flip-flop and provide an excitation table and a sample timing analysis. Review flip-flop clock parameters. Introduce the transparent D-latch. Discuss flip-flop asynchronous inputs. Introductory Slide / Overview of Presentation Project Lead The Way, Inc. Copyright 2009

Sequential Logic & The Flip-Flop Flip-FLops and Latches Digital Electronics TM 3.1 Introduction to Flip-Flops Combinational Logic Gates . Inputs Outputs Memory Elements (Flip-Flops) Clock Definition of sequential logic. Sequential logic can have one or more, inputs and one or more outputs. However, the outputs are a function of both the present value of the inputs and also the previous output values. Thus, sequential logic requires memory to store these previous outputs values. Project Lead The Way, Inc. Copyright 2009

D Flip-Flop: Excitation Table Flip-FLops and Latches Digital Electronics TM 3.1 Introduction to Flip-Flops CLK D Q D CLK  1  : Rising Edge of Clock Schematic symbol and excitation table for the D flip-flop. Project Lead The Way, Inc. Copyright 2009

D Flip-Flop: Example Timing Flip-FLops and Latches Digital Electronics TM 3.1 Introduction to Flip-Flops Q=D=1 Q=D=0 Q=D=0 No Change Q=D=1 Q=D=1 No Change Q=D=0 Q=D=0 No Change Q D CLK Timing diagram example for a D flip-flop. Project Lead The Way, Inc. Copyright 2009

J/K Flip-Flop: Excitation Table Flip-FLops and Latches Digital Electronics TM 3.1 Introduction to Flip-Flops K J Q CLK J K CLK  No Change 1 Clear Set Toggle  : Rising Edge of Clock Schematic symbol and excitation table for the J/K flip-flop. Project Lead The Way, Inc. Copyright 2009

J/K Flip-Flop: Example Timing Flip-FLops and Latches Digital Electronics TM 3.1 Introduction to Flip-Flops NO CHANGE NO CHANGE SET TOGGLE TOGGLE CLEAR SET Q J K CLK Timing diagram example for a J/K flip-flop. Project Lead The Way, Inc. Copyright 2009

Flip-FLops and Latches Clock Edges Flip-FLops and Latches Digital Electronics TM 3.1 Introduction to Flip-Flops Rising Edge Positive Edge Transition 1 Negative Edge Transition Falling Edge Project Lead The Way, Inc. Copyright 2009

POS & NEG Edge Triggered D Flip-FLops and Latches Digital Electronics TM 3.1 Introduction to Flip-Flops Positive Edge Trigger CLK D Q D CLK  1  : Rising Edge of Clock Schematic symbol and excitation table for the positive edge triggered and negative edge triggered D flip-flops Negative Edge Trigger CLK D Q D CLK  1  : Falling Edge of Clock Project Lead The Way, Inc. Copyright 2009

POS & NEG Edge Triggered J/K Flip-FLops and Latches POS & NEG Edge Triggered J/K Digital Electronics TM 3.1 Introduction to Flip-Flops Positive Edge Trigger K J Q CLK J K CLK  1  : Rising Edge of Clock Negative Edge Trigger Schematic symbol and excitation table for the positive edge triggered and negative edge triggered J/K flip-flops K J Q CLK J K CLK  1  : Falling Edge of Clock Project Lead The Way, Inc. Copyright 2009

Flip-FLops and Latches Flip-Flop Timing Flip-FLops and Latches Digital Electronics TM 3.1 Introduction to Flip-Flops Data Input (D,J, or K) 1 tS Setup Time tH Hold Time Positive Edge Clock Definition of the Setup & Hold Time timing parameters for a flip-flop. Setup Time (tS): The time interval before the active transition of the clock signal during which the data input (D, J, or K) must be maintained. Hold Time (tH): The time interval after the active transition of the clock signal during which the data input (D, J, or K) must be maintained. Project Lead The Way, Inc. Copyright 2009

Flip-FLops and Latches Asynchronous Inputs Flip-FLops and Latches Digital Electronics TM 3.1 Introduction to Flip-Flops Asynchronous inputs (Preset & Clear) are used to override the clock/data inputs and force the outputs to a predefined state. The Preset (PR) input forces the output to: The Clear (CLR) input forces the output to: CLK D Q PR CLR Definition for the PR (preset) and CLR (clear) Asynchronous input for a D flip-flop. PR PRESET CLR CLEAR CLK CLOCK D DATA 1  X Asynchronous Preset Asynchronous Clear ILLEGAL CONDITION Project Lead The Way, Inc. Copyright 2009

D Flip-Flop: PR & CLR Timing Flip-FLops and Latches Digital Electronics TM 3.1 Introduction to Flip-Flops Q=D=1 Clocked Q=D=0 Clocked Q=D=0 Clocked Q=D=1 Clocked Q=D=1 Clocked Q=D=0 Clocked Q PR CLR D CLK Q=1 Preset Q=1 Preset Q=0 Clear Time diagram showing the effects of the synchronous inputs (D & CLK) and asynchronous inputs (PR & CLR). Project Lead The Way, Inc. Copyright 2009

Flip-FLops and Latches Transparent D-Latch Flip-FLops and Latches Digital Electronics TM 3.1 Introduction to Flip-Flops EN D Q EN D X 1 Schematic symbol and excitation table for the D latch. EN: Enable Project Lead The Way, Inc. Copyright 2009

Transparent D-Latch: Example Timing Flip-FLops and Latches Digital Electronics TM 3.1 Introduction to Flip-Flops “Latched” Q=0 “Transparent” Q=D “Latched” Q=1 “Transparent” Q=D “Latched” Q=0 “Transparent” Q=D Q D EN Time diagram example for a transparent D-latch. Project Lead The Way, Inc. Copyright 2009

Flip-FLops and Latches Flip-Flop Vs. Latch Digital Electronics TM 3.1 Introduction to Flip-Flops The primary difference between a D flip-flop and D latch is the EN/CLOCK input. The flip-flop’s CLOCK input is edge sensitive, meaning the flip-flop’s output changes on the edge (rising or falling) of the CLOCK input. The latch’s EN input is level sensitive, meaning the latch’s output changes on the level (high or low) of the EN input. This slide details the primary difference between the often confused D flip-flop and D latch. Project Lead The Way, Inc. Copyright 2009

Flip-FLops and Latches Flip-Flops & Latches Flip-FLops and Latches Digital Electronics TM 3.1 Introduction to Flip-Flops 74LS74 Dual Positive-Edge-Triggered D Flip-Flops with Preset, Clear, and Complementary Outputs 74LS76 Dual Negative-Edge-Triggered J-K Flip-Flops with Preset, Clear, and Complementary Outputs Summary of the two flip-flops and one latch that we will be using in this course. 74LS75 Quad Latch Project Lead The Way, Inc. Copyright 2009

Flip-FLops and Latches 74LS74: D Flip-Flop Flip-FLops and Latches Digital Electronics TM 3.1 Introduction to Flip-Flops Datasheet excerpts for a 74LS74 D flip-flop. Project Lead The Way, Inc. Copyright 2009

Flip-FLops and Latches 74LS76: J/K Flip-Flop Flip-FLops and Latches Digital Electronics TM 3.1 Introduction to Flip-Flops Datasheet excerpts for a 74LS76 J/K flip-flop. Project Lead The Way, Inc. Copyright 2009

Flip-FLops and Latches 74LS75: D Latch Flip-FLops and Latches Digital Electronics TM 3.1 Introduction to Flip-Flops Datasheet excerpts for a 74LS75 D latch. Project Lead The Way, Inc. Copyright 2009