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.

Slides:



Advertisements
Similar presentations
Flip-Flops Basic concepts. A. Yaicharoen2 Flip-Flops A flip-flop is a bi-stable device: a circuit having 2 stable conditions (0 or 1) A flip-flop circuit.
Advertisements

CS1104 – Computer Organization Aaron Tan Tuck Choy School of Computing National University.
Introduction to Sequential Logic Design Latches. 2 Terminology A bistable memory device is the generic term for the elements we are studying. Latches.
Sequential Digital Circuits Dr. Costas Kyriacou and Dr. Konstantinos Tatas.
Sequential Logic Building Blocks – Flip-flops
Latches. Outline  Pulse-Triggered Latch  S-R Latch  Gated S-R Latch  Gated D Latch.
MOHD. YAMANI IDRIS/ NOORZAILY MOHAMED NOOR1 Sequential Circuit Latch & Flip-flop.
Digital Logic Design ESGD2201
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,
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
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 circuits The digital circuits considered thus far have been combinational, where the outputs are entirely dependent on the current inputs. Although.
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.
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 Sequential Circuits –Digital circuits that use memory elements as part of their operation –Characterized by feedback path –Outputs depend not only on.
EKT 124 / 3 DIGITAL ELEKTRONIC 1
ECE 424 – Introduction to VLSI Design Emre Yengel Department of Electrical and Communication Engineering Fall 2014.
Sequential Logic Flip-Flops and Related Devices Dr. Rebhi S. Baraka Logic Design (CSCI 2301) Department of Computer Science Faculty.
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.
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”
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
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.
FLIP FLOP By : Pn Siti Nor Diana Ismail CHAPTER 1.
Company LOGO DKT 122/3 DIGITAL SYSTEM 1 WEEK #12 LATCHES & FLIP-FLOPS.
Synchronous Sequential Circuits by Dr. Amin Danial Asham.
Introduction to Sequential Logic
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.
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
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.
7. Latches and Flip-Flops Digital Computer Logic.
EEE 301 DIGITAL ELECTRONICS
Memory Elements. Outline  Introduction  Memory elements.
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.
CSE 260 DIGITAL LOGIC DESIGN
Sequential logic circuits First Class 1Dr. AMMAR ABDUL-HAMED KHADER.
CS1103 Arunima Shukla Asim Marchant Urja Kantharia Harsh kosambia Digital Electronics Mini Project.
LATCHED, FLIP-FLOPS,AND TIMERS
EI205 Lecture 8 Dianguang Ma Fall 2008.
Lecture 8 Dr. Nermi Hamza.
Flip Flops.
Digital Design Lecture 9
Flip Flops.
Flip-Flop.
CS1104 – Computer Organization
CISE204: Design of Digital Systems Lecture 18 : Sequential Circuits
Flip Flop.
ECE Digital logic Lecture 16: Synchronous Sequential Logic
Sequential logic circuits
Thought of the Day To be what we are, and to become
FLIP-FLOPS.
Flip-Flops.
Flip Flops Unit-4.
Flip-Flops.
Sequential Digital Circuits
Presentation transcript:

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  T flip-flop

Introduction Sequential circuit consists of feedback path and several memory elements Sequential circuit = Combinational Logic + Memory Elements

Introduction There are two types of sequential circuit  Synchronous – output change at certain time  Asynchronous – output change any time Multivibrator – sequential circuit category – can be  Bistable – consist of two stable condition  Monostable – consist of one stable condition  Astable - no stable condition Bistable logic device is latch and flip-flop Latch and flip-flop differ by the method used to change stable condition

Memory Element Memory element device that can remember a value for a certain period, or change value based on the input instruction Example: Latch and flip-flop Commands for latches include set and reset commands

Memory Element Flip-flop is a memory element which change its condition based on clock signal Clock is a square waveform

Memory Element There are two types of trigger/activator  Pulse triggered  Edge triggered Pulse triggered  Latch  ON=1, OFF=0 Edge triggered  Flip-flop  Positive edge triggered (ON=when 0 to 1, OFF=other time)  Negative edge triggered (ON=when 1 to 0, OFF=other time)

SR Latch Output has complement: Q and Q’ When Q HIGH, latch in SET condition When Q LOW, latch in RESET condition For SR with active high input (also known as NOR gate latch)  R = HIGH (and S=LOW) – RESET condition  S = HIGH (and R=LOW) – SET condition  Both LOW – no condition change  Both HIGH - Q and Q’ becomes LOW (invalid)

SR Latch with Gate SR latch + enable (EN) input amd 2 NAND gate - SR Latch with Gate

SR Latch with Gate Output change (if needed) only when EN at HIGH condition Which condition is invalid? Criteria Table

D Latch with Gate Make input R the same as S’ - D Latch with Gate D latch eliminate invalid condition in SR latch

D Latch with Gate When EN is HIGH  D=HIGH – latch is in SET  D=LOW – latch is in RESET Therefore, when EN is HIGH, Q will follow input D Criteria Table:

Edge Triggered Flip-flop Flip-flop – bistable synchronous device Output change its condition at certain point on input trigger named clock Condition change either at positive edge (up edge) or at negative edge (down edge) of clock signal clock signal Positive Edge Negative Edge

Edge Triggered Flip-flop flip-flop SR, D and JK edge triggered is marked with “>” symbol at clock input Positive edge triggered flip-flop Negative edge triggered flip-flop

SR Flip-flop SR flip-flop, at edge triggered clock pulse  S=HIGH (and R=LOW) – SET condition  R=HIGH (and S=LOW) – RESET condition  Both input LOW – no change  Both input HIGH - invalid Criteria table of edge triggered SR flip-flop

SR Flip-flop It consist of three parts  NAND latch  Pulse steering circuit  Pulse transaction circuit detector (or edge detector) Pulse transaction detector circuit will detect up trigger (or down) and produce very short duration spike

D Flip-flop D flip-flop: one input D (data)  D=HIGH – SET condition  D=LOW – RESET condition Q will follow D at clock edge To change SR flip-flop to D flip-flop: add inverter

D Flip-flop Usage: Parallel data transaction To transfer logical output circuit X,Y,Z to Q 1, Q 2, and Q 3 to be stored

JK Flip-flop There is no invalid condition There is toggle condition  J=HIGH (and K=LOW) – SET condition  K=HIGH (and J=LOW) – RESET condition  Both input LOW – no change  Both input HIGH – “toggle”

JK Flip-flop Criteria Table

T Flip-flop T flip-flop single input version for JK flip-flop, formed by combining JK input Criteria Table

T Flip-flop Usage: As frequency divider

Asynchronous Input SR input, D and JK is synchronous input. Where data from input will be transferred to flip-flop output only when edge triggered of clock pulse Asynchronous Input free change condition from pulse clock. Example: preset (PRE) and clear (CLR) [or direct set (SD) and direct reset (RD)] When PRE=HIGH, Q immediately HIGH When CLR=HIGH, Q immediately LOW Flip flop function as normal when both PRE and CLR is LOW

Asynchronous Input JK flip-flop with active LOW preset and clear

Master Slave Flip-flop Master is activated when positive edge and Slave is activated when clock negative edge triggered Master Slave Flip-flop