Flip Flops.

Slides:



Advertisements
Similar presentations
Lecture on Flip-Flops.
Advertisements

Latches CS370 –Spring 2003 Section 4-2 Mano & Kime.
Classification of Digital Circuits  Combinational. Output depends only on current input values.  Sequential. Output depends on current input values and.
Digital Logic Design Brief introduction to Sequential Circuits and Latches.
Latches Module M10.1 Section 7.1. Sequential Logic Combinational Logic –Output depends only on current input Sequential Logic –Output depends not only.
ENGIN112 L20: Sequential Circuits: Flip flops October 20, 2003 ENGIN 112 Intro to Electrical and Computer Engineering Lecture 20 Sequential Circuits: Flip.
Latches Section 4-2 Mano & Kime. Sequential Logic Combinational Logic –Output depends only on current input Sequential Logic –Output depends not only.
CS 151 Digital Systems Design Lecture 20 Sequential Circuits: Flip flops.
1 CSE370, Lecture 14 Lecture 14 u Logistics n Midterm 1: Average 90/100. Well done! n Midterm solutions online n HW5 due date delayed until this Friday.
Flip Flops. Clock Signal Sequential logic circuits have memory Output is a function of input and present state Sequential circuits are synchronized by.
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.
Digital Integrated Circuits© Prentice Hall 1995 Sequential Logic SEQUENTIAL LOGIC.
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.
Synchronous Sequential Circuits by Dr. Amin Danial Asham.
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.
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.
Synchronous Sequential Circuits by Dr. Amin Danial Asham.
Sequential logic circuits First Class 1Dr. AMMAR ABDUL-HAMED KHADER.
Sequential Circuits.
LATCHES AND FLIP-FLOPS
Sequential Circuits.
FLIP FLOPS Binary unit capable of storing one bit – 0 or 1
ECEN 248: INTRODUCTION TO DIGITAL SYSTEMS DESIGN
Flip Flops.
LATCHED, FLIP-FLOPS,AND TIMERS
Chapter 7 Designing Sequential Logic Circuits Rev 1.0: 05/11/03
ECE 3130 – Digital Electronics and Design
Lecture 8 Dr. Nermi Hamza.
Flip-FLops and Latches
Prof. Hsien-Hsin Sean Lee
Learning Outcome By the end of this chapter, students are expected to refresh their knowledge on sequential logic related to HDL.
FIGURE 5.1 Block diagram of sequential circuit
Flip-flops Inputs are logically disconnected from the output in time.
Digital Design Lecture 9
Synchronous Sequential Circuits
FLIP FLOPS.
Flip Flops.
Flip-Flops SHAH KEVAL EN. NO.: EC DEPARTMENT,
Flip-Flop.
Sequential Circuits Most digital systems like digital watches, digital phones, digital computers, digital traffic light controllers and so on require.
CISE204: Design of Digital Systems Lecture 18 : Sequential Circuits
Flip Flop.
Flip-FLops and Latches
Introduction to Sequential Logic Design
ECE Digital logic Lecture 16: Synchronous Sequential Logic
Flip-FLops and Latches
Digital Logic Design Sequential Circuits (Chapter 6)
Sequential logic circuits
LECTURE 15 – DIGITAL ELECTRONICS
Elec 2607 Digital Switching Circuits
Flip-FLops and Latches
Flip-FLops and Latches
Instructor: Alexander Stoytchev
Lecture 16 Logistics Last lecture Today HW5 out, due next wednesday
Instructor: Alexander Stoytchev
University of Maryland Baltimore County Department of Computer Science and Electrical Engineering   CMPE 212 Laboratory (Discussion 10) Hasib Hasan
Lecture 16 Logistics Last lecture Today HW5 out, due next wednesday
1) Latched, initial state Q =1
FLIP-FLOPS.
Flip-Flops.
Flip Flops Unit-4.
Flip-FLops and Latches
Chapter 5 Sequential Circuits.
Sequential Digital Circuits
FLIPFLOPS.
FLIP-FLOP. The basic memory circuit is known as Flip-flop. OR It is a bistable sequential circuit which has two stable state (set & reset) and can be.
Presentation transcript:

Flip Flops

Clock Signal Sequential logic circuits have memory Output is a function of input and present state Sequential circuits are synchronized by a periodic “clock” signal

Clock Signal generator Clock signals can be generated using odd number of inverters

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

SR Flip Flop SR (set-reset) flip-flop based on two nor gates

SR Flip Flop

Noise Reduction in SR Flip Flop SR flip flop can reduce a switching noise When switch is pulled down some oscillations may occur at B They will be eliminated by the flip-flop

Exercise For a given S and R inputs to SR flip-flop, sketch the output signal Q Q t

Exercise

SR Flip Flop SR (set-reset) flip-flop based on two nand gates

Clocked SR Flip Flop Circuit Clock controlled flip-flop changes its state only when the clock C is high

Clocked SR Flip Flop Circuit with Reset Some flip-flops have asynchronous preset Pr and clear Cl signals. Output changes once these signals change, however the input signals must wait for a change in clock to change the output

Edge Triggered Flip Flop Edge triggered flip-flop changes only when the clock C changes

Positive Edge Triggered Flip Flop Positive-edge triggered flip-flop changes only on the rising edge of the clock C

Exercise The input D to a positive-edge triggered flip-flop is shown Find the output signal Q Q t

Exercise

Negative Edge Triggered JK Flip Flop

Other Flip Flops T J D Q f K Delay Flip-Flop Toggle Flip-Flop (D-latch)

Race Problem Q f D 1 t loop Signal can race around during = 1

Master-Slave Flip Flop Implementation Q J K f MASTER SLAVE PRESET CLEAR SI RI Master transmits the signal to the output during the high clock phase and slave is waiting for the clock to change this prevents race conditions

Master-Slave Edge-Triggered Flip-Flop Master-Slave configuration Compared to transistor version MASTER SLAVE D Q CLK CLK 36 Transistors VDD VDD CLK CLK D Q CLK CLK 8 Transistors GND GND

Alternative Edge-Triggered Flip-Flop VDD VDD CLK CLK Q D Q CLK CLK CLK Q GND GND D 24 Transistors 8 Transistors

JK Flip-Flop from D-Latch Same as RS-Latch except “toggle” on 11 J D Latch Q K Q CLK JK-FF J Q CLK J K Q 0 X X No change CLK 1 0 0 No change K 1 0 1 1 1 0 1 1 1 1 Toggle

Toggle Flip-Flop from D-Latch Toggles stored value if T = 1 when CLK is high D Latch Q T CLK CLK T Q T T-FF Q 0 X No change 1 0 No change CLK 1 1 Toggle

END