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.

Slides:



Advertisements
Similar presentations
CS1104 – Computer Organization Aaron Tan Tuck Choy School of Computing National University.
Advertisements

Introduction to Sequential Logic Design Latches. 2 Terminology A bistable memory device is the generic term for the elements we are studying. Latches.
Computer Science 210 Computer Organization Clocks and Memory Elements.
Latches CS370 –Spring 2003 Section 4-2 Mano & Kime.
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.
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,
Sequential Circuits1 DIGITAL LOGIC DESIGN by Dr. Fenghui Yao Tennessee State University Department of Computer Science Nashville, TN.
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
Digital Logic Design Brief introduction to Sequential Circuits and Latches.
ECE 3130 – Digital Electronics and Design Lab 5 Latches and Flip-Flops Fall 2012 Allan Guan.
EKT 124 / 3 DIGITAL ELEKTRONIC 1
+ CS 325: CS Hardware and Software Organization and Architecture Sequential Circuits 1.
Sequential circuit Digital electronics is classified into combinational logic and sequential logic. In combinational circuit outpus depends only on present.
Sequential Logic Flip-Flops and Related Devices Dr. Rebhi S. Baraka Logic Design (CSCI 2301) Department of Computer Science Faculty.
Latches Module M10.1 Section 7.1. Sequential Logic Combinational Logic –Output depends only on current input Sequential Logic –Output depends not only.
EECC341 - Shaaban #1 Lec # 13 Winter Sequential Logic Circuits Unlike combinational logic circuits, the output of sequential logic circuits.
Latches Section 4-2 Mano & Kime. Sequential Logic Combinational Logic –Output depends only on current input Sequential Logic –Output depends not only.
Chapter 3: Sequential Logic Circuit EKT 121 / 4 ELEKTRONIK DIGIT 1.
ETE Digital Electronics Latches and Flip-Flops [Lecture:12] Instructor: Sajib Roy Lecturer, ETE, ULAB.
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.
Flip Flop
EE2174: Digital Logic and Lab Professor Shiyan Hu Department of Electrical and Computer Engineering Michigan Technological University CHAPTER 9 Sequential.
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.
Instructor: Alexander Stoytchev CprE 281: Digital 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.
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.
Synchronous Sequential Circuits by Dr. Amin Danial Asham.
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.
7. Latches and Flip-Flops Digital Computer Logic.
EEE 301 DIGITAL ELECTRONICS
Memory Elements. Outline  Introduction  Memory elements.
CSE 260 DIGITAL LOGIC DESIGN
CS1103 Arunima Shukla Asim Marchant Urja Kantharia Harsh kosambia Digital Electronics Mini Project.
Computer Science 210 Computer Organization
Sequential Circuits.
LATCHED, FLIP-FLOPS,AND TIMERS
ECE 3130 – Digital Electronics and Design
Lecture 8 Dr. Nermi Hamza.
Flip Flops.
Digital Design Lecture 9
ECE 4110–5110 Digital System Design
Flip Flops.
CS1104 – Computer Organization
CISE204: Design of Digital Systems Lecture 18 : Sequential Circuits
Flip Flop.
Computer Science 210 Computer Organization
ECE Digital logic Lecture 16: Synchronous Sequential Logic
Latches and Flip-flops
Chapter 6 -- Introduction to Sequential Devices
Computer Science 210 Computer Organization
Elec 2607 Digital Switching Circuits
Instructor: Alexander Stoytchev
Instructor: Alexander Stoytchev
1) Latched, initial state Q =1
FLIP-FLOPS.
Flip-Flops.
Flip Flops Unit-4.
Chapter 5 Sequential Circuits.
Flip-Flops.
Sequential Digital Circuits
Presentation transcript:

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 has two outputs and the outputs of the flip- flop always complement each other, ie, both outputs remaining in “0” state or in “1” state. 3 Classes of Flip-Flops: Latches: outputs respond immediately while enabled (no timing control) Pulse-triggered flip-flops: outputs response to the triggering pulse Edge-triggered flip-flops: outputs responses to the control input edge

3 Conventions The circuit is set means output = 1 The circuit is reset means output = 0 Flip-flops have two output Q and Q’ or (Q and Q) Due to time related characteristic of the flip- flop, Q and Q’ (or Q) are usually represented as followed: Q t or Q: present state Q t+1 or Q + : next state

4 Clock Pulse: When the output of an electronic device goes from 0 to 1 state, remains in the 1 state for some time and comes back to 0 state, we get a pulse. The pulse may remain in high state for a fraction of a second or even for a few hours. The time for which the pulse remains in high state is called the “pulse width of the pulse”. The pulsed are produced and applied at regular intervals. They are called “Clock Pulses” or Clock(CLK)

5 Memory Elements  Memory element with clock. Flip-flops are memory elements that change state on clock signals. Clock is square wave command Memory element stored value Q clock Positive edges Negative edges Positive pulses

6 Memory Elements  The time interval between two pulses is called a period and denoted by T.  The reciprocal of T is called the frequency. ie, f = 1/T The frequency of clock means no. of clock pulses per second. The period is measured in seconds and the frequency is measured in Hertz.

7 Memory Elements  Two types of triggering/activation:  pulse-triggered  edge-triggered  Pulse-triggered  latches  ON = 1, OFF = 0  Edge-triggered  flip-flops  positive edge-triggered (ON = from 0 to 1; OFF = other time)  negative edge-triggered (ON = from 1 to 0; OFF = other time)

1/508 4 Types of Flip-Flops SR flip-flopJK flip-flop D flip-flopT flip-flop

S-R Latch9  Complementary outputs: Q and Q'.  When Q is HIGH, the latch is in SET state.  When Q is LOW, the latch is in RESET state.  For active-HIGH input S-R latch (also known as NOR gate latch), R=HIGH (and S=LOW)  RESET state S=HIGH (and R=LOW)  SET state both inputs LOW  no change both inputs HIGH  Q and Q' both LOW (invalid)!

S-R Latch10 S-R Latch  For active-LOW input S'-R' latch (also known as NAND gate latch), R'=LOW (and S'=HIGH)  RESET state S'=LOW (and R'=HIGH)  SET state both inputs HIGH  no change both inputs LOW  Q and Q' both HIGH (invalid)!

S-R Latch11 S-R Latch  Characteristics table for active-high input S-R latch :  Characteristics table for active-low input S'-R' latch: SRSR QQ'QQ' SRSR QQ'QQ'

S-R Latch12 S-R Latch  Active-HIGH input S-R latch  Active-LOW input S’-R’ latch R S Q Q'Q' S' R' Q Q'

13 Gated SR latch (c)(c) Outputs change only when Enable(C) is HIGH.

A. Yaicharoen14 Master-Slave SR flip-flop