Module 4:FLIP-FLOP. Quote of the day. Never think you are nothing, never think you are everything, but think you are something and achieve anything.

Similar documents
LAB #4 SEQUENTIAL LOGIC CIRCUIT

EMT 125 Digital Electronic Principles I CHAPTER 6 : FLIP-FLOP

(CSC-3501) Lecture 7 (07 Feb 2008) Seung-Jong Park (Jay) CSC S.J. Park. Announcement

Synchronous Sequential Logic

Other Flip-Flops. Lecture 27 1

Chapter 11 Latches and Flip-Flops

Rangkaian Sekuensial. Flip-flop

Logic Design. Flip Flops, Registers and Counters

Digital Logic Design Sequential Circuits. Dr. Basem ElHalawany

Multiplexor (aka MUX) An example, yet VERY useful circuit!

The NOR latch is similar to the NAND latch

The outputs are formed by a combinational logic function of the inputs to the circuit or the values stored in the flip-flops (or both).

Sequential Circuits: Latches & Flip-Flops

LATCHES & FLIP-FLOP. Chapter 7

Introduction to Sequential Circuits

Chapter. Synchronous Sequential Circuits

RS flip-flop using NOR gate

Chapter 1: Switching Algebra Chapter 2: Logical Levels, Timing & Delays. Introduction to latches Chapter 9: Binary Arithmetic

D Latch (Transparent Latch)

Latches, Flip-Flops, and Registers. Dr. Ouiem Bchir

ELCT201: DIGITAL LOGIC DESIGN

Introduction. Serial In - Serial Out Shift Registers (SISO)

Sequential Logic and Clocked Circuits

CSE Latches and Flip-flops Dr. Izadi. NOR gate property: A B Z Cross coupled NOR gates: S M S R Q M

ELCT201: DIGITAL LOGIC DESIGN

Unit 11. Latches and Flip-Flops

Experiment 8 Introduction to Latches and Flip-Flops and registers

RS flip-flop using NOR gate

ELE2120 Digital Circuits and Systems. Tutorial Note 7

YEDITEPE UNIVERSITY DEPARTMENT OF COMPUTER ENGINEERING. EXPERIMENT VIII: FLIP-FLOPS, COUNTERS 2014 Fall

Asynchronous (Ripple) Counters

Engr354: Digital Logic Circuits

DIGITAL CIRCUIT COMBINATORIAL LOGIC

CH 11 Latches and Flip-Flops

DIGITAL CIRCUIT LOGIC UNIT 11: SEQUENTIAL CIRCUITS (LATCHES AND FLIP-FLOPS)

Introduction to Microprocessor & Digital Logic

Chapter 6. Flip-Flops and Simple Flip-Flop Applications

SEQUENTIAL CIRCUITS THE RELAY CIRCUIT

Introduction. NAND Gate Latch. Digital Logic Design 1 FLIP-FLOP. Digital Logic Design 1

Sequential Logic. E&CE 223 Digital Circuits and Systems (A. Kennings) Page 1

Sequential Design Basics

Clocks. Sequential Logic. A clock is a free-running signal with a cycle time.

Digital Circuits ECS 371

CHAPTER 1 LATCHES & FLIP-FLOPS

Logic Gates, Timers, Flip-Flops & Counters. Subhasish Chandra Assistant Professor Department of Physics Institute of Forensic Science, Nagpur

ECE 341. Lecture # 2

University of California at Berkeley College of Engineering Department of Electrical Engineering and Computer Science SOLUTIONS

Name Of The Experiment: Sequential circuit design Latch, Flip-flop and Registers

INTRODUCTION TO SEQUENTIAL CIRCUITS

EXPERIMENT: 1. Graphic Symbol: OR: The output of OR gate is true when one of the inputs A and B or both the inputs are true.

Sequential Digital Design. Laboratory Manual. Experiment #3. Flip Flop Storage Elements

CHAPTER 4: Logic Circuits

Sequential Logic Design CS 64: Computer Organization and Design Logic Lecture #14

LAB 7. Latches & Flip Flops

ECE 250 / CPS 250 Computer Architecture. Basics of Logic Design ALU and Storage Elements

ESE 570 STATIC SEQUENTIAL CMOS LOGIC CELLS. Kenneth R. Laker, University of Pennsylvania, updated 25Mar15

Sequential Logic Circuits

CHW 261: Logic Design

ELE2120 Digital Circuits and Systems. Tutorial Note 8

A clock is a free-running signal with a cycle time. A clock may be either high or low, and alternates between the two states.

Registers and Counters

To design a sequential logic circuit using D-Flip-flop. To implement the designed circuit.

UNIVERSITI TEKNOLOGI MALAYSIA

Course Administration

Flip Flop. S-R Flip Flop. Sequential Circuits. Block diagram. Prepared by:- Anwar Bari

EECS150 - Digital Design Lecture 3 Synchronous Digital Systems Review. Announcements

Chapter 4. Logic Design

Unit 9 Latches and Flip-Flops. Dept. of Electrical and Computer Eng., NCTU 1

Combinational vs Sequential

Slide Set 7. for ENEL 353 Fall Steve Norman, PhD, PEng. Electrical & Computer Engineering Schulich School of Engineering University of Calgary

Chapter 5 Sequential Circuits

COE 202: Digital Logic Design Sequential Circuits Part 1. Dr. Ahmad Almulhem ahmadsm AT kfupm Phone: Office:

SEQUENTIAL LOGIC. Satish Chandra Assistant Professor Department of Physics P P N College, Kanpur

MODULE 3. Combinational & Sequential logic

COMP sequential logic 1 Jan. 25, 2016

Experiment # 9. Clock generator circuits & Counters. Digital Design LAB

Chapter 2. Digital Circuits

Registers and Counters

More on Flip-Flops Digital Design and Computer Architecture: ARM Edition 2015 Chapter 3 <98> 98

UNIT IV. Sequential circuit

Digital Networks and Systems Laboratory 2 Basic Digital Building Blocks Time 4 hours

CSE140: Components and Design Techniques for Digital Systems. More D-Flip-Flops. Tajana Simunic Rosing. Sources: TSR, Katz, Boriello & Vahid

Chapter 8 Sequential Circuits

NAME SYMBOL CHARACTERISTIC TABLE EXCITATION TABLE. S R Q(next) 0 0 Q. (hold) (reset) (set) 1 1? (undefined) J K Q(next) (hold) (reset) (set) 1 1 Q'

CMSC 313 Preview Slides

Digital Fundamentals. Lab 5 Latches & Flip-Flops CETT Name: Date:

First published October, Online Edition available at For reprints, please contact us at

1. a) For the circuit shown in figure 1.1, draw a truth table showing the output Q for all combinations of inputs A, B and C. [4] Figure 1.

EET2411 DIGITAL ELECTRONICS

Note 5. Digital Electronic Devices

Digital Circuit And Logic Design I. Lecture 8

Digital Circuit And Logic Design I

BISHOP ANSTEY HIGH SCHOOL & TRINITY COLLEGE EAST SIXTH FORM CXC CAPE PHYSICS, UNIT 2 Ms. S. S. CALBIO NOTES lesson #39

MC9211 Computer Organization

Handout 16. by Dr Sheikh Sharif Iqbal. Memory Interface Circuits 80x86 processors

Computer Science 324 Computer Architecture Mount Holyoke College Fall Topic Notes: Sequential Circuits

Exercise 2: D-Type Flip-Flop

Digital Fundamentals: A Systems Approach

Advanced Digital Logic Design EECS 303

Digital Logic Design I

Transcription:

Module 4:FLIP-FLOP Quote of the day Never think you are nothing, never think you are everything, but think you are something and achieve anything. Albert Einstein

Sequential and combinational circuits A digital circuit whose output depends on only applied input is combinational circuit. Digital circuits studied until now are combinational circuits A digital circuit whose output not only depends on applied input but also depends on the present state of output is Sequential circuit. Sequential circuit has memory. Flip-flop is a basic element of sequential circuit.

FLIP-FLOP A basic sequential circuit is a flip-flop Flip-flop has two stable states of complementary output values

NOR Gate Latch\SR Flip-flop SR (set-reset) flip-flop based on two nor gates. If R=,S= then output of both NOR gates depend on other inputs,i.e Q and Q Assume Q= and Q = initially Observe that out put will not change SR-FLIP-FLOP R S Q Q

NOR Gate Latch\SR Flip-flop SR (set-reset) flip-flop based on two nor gates. If R=,S= then output of both NOR gates depend on other inputs,i.e Q and Q Assume Q= and Q = initially Observe that out put will not change SR-FLIP-FLOP R S Q Q Last state

NOR Gate Latch\SR Flip-flop SR (set-reset) flip-flop based on two nor gates. If R=,S= then output of Gate 2 becomes one, i.e. Q = and output of gate which depends on Q becomes. Observe that out put set to one whatever may be previous state of O/P. SR-FLIP-FLOP R S Q Q Last state

NOR Gate Latch\SR Flip-flop SR (set-reset) flip-flop based on two nor gates. If R=,S= then output of Gate becomes zero, i.e Q= and output of gate 2 which depends on Q becomes. Observe that out put reset to zero whatever may be previous state of O/P. SR-FLIP-FLOP R S Q Q Last state

NOR Gate Latch\SR Flip-flop SR (set-reset) flip-flop based on two nor gates. If R=,S= then output of both Gates becomes zero, i.e. Q= and Q =. This is not allowed state of Flip Flop. Is Illegal state or Forbidden state of Flip-flop SR-FLIP-FLOP R S Q Q Last state Illegal

NAND Gate Latch\S R Flip-flop SṞ (set-reset) flip-flop based on two nor gates. If R =,S = then output of both Gates becomes one, i.e. Q= and Q =. This is not allowed state of Flip Flop. Is Illegal state or Forbidden state of Flip-flop S R -FLIP-FLOP R S Q Q Illegal

NAND Gate Latch\S R Flip-flop SṞ (set-reset) flip-flop based on two nor gates. If R =,S = then output of Gate-2 becomes one, i.e Q = and output of gate which depends on Q becomes. Observe that out put reset to zero whatever may be previous state of O/P. S R -FLIP-FLOP R S Q Q Illegal

NAND Gate Latch\S R Flip-flop SṞ (set-reset) flip-flop based on two nor gates. If R =,S = then output of Gate- becomes one, i.e Q= and output of gate 2 which depends on Q becomes. Observe that out put set to one whatever may be previous state of O/P. S R -FLIP-FLOP R S Q Q Illegal

NAND Gate Latch\S R Flip-flop SṞ (set-reset) flip-flop based on two nor gates. If R =,S = then output of both NOR gates depend on other inputs,i.e Q and Q. Assume Q= and Q = initially. Observe that out put will not change. S R -FLIP-FLOP R S Q Q Illegal

NAND Gate Latch\S R Flip-flop SṞ (set-reset) flip-flop based on two nor gates. If R =,S = then output of both NOR gates depend on other inputs,i.e Q and Q. Assume Q= and Q = initially. Observe that out put will not change. SR-FLIP-FLOP R S Q Q Illegal Last state

Truth table R S R S Q Q Illegal Last state SR-FLIP-FLOP R S Q Q Output(Q) Last state Last state Set Reset Illegal Illegal

Flip-Flop The previous slides described you the NAND/NOR Gate Latch. You observed that a latch using NAND is referred as SṞ latch. SR-FLIP-FLOP R S Q Q Illegal Last states To obtain SR latch using NAND gates, we are suppose to add two NOT gates implemented using NAND gates at the terminal of these inputs SṞ.

SR latch using NAND gates Flip-flop Truth table Logical Symbol R S R S Q + Q + Last state Illegal S R Q Q

Gated Flip-Flops In the latches observed till now output responds immediately to the changes in input. In many digital systems it is required that the circuit responds only at some prescribed time, decided by another input called the enable or clock input. A Flip-Flop which immediately responds to the changes of input in spite of enable or clock input is referred as latch. Some flip-flops responds to the changes of input during the edges of the clock inputs.

Gated Flip-Flops The latch will disable with C= and continue the last state. The output is said to be latched. It will enable with C= and function as normal SR F/F. Q n is present state of output, Q n- last state of output state

Gated Latch-Clocked RS Flip-flop Logical Symbol S Q C R Q

Input output waveform CLK S R Q