Flip-Flops SHAH KEVAL EN. NO.: EC DEPARTMENT,

Slides:



Advertisements
Similar presentations
Lecture on Flip-Flops.
Advertisements

Sequential Digital Circuits Dr. Costas Kyriacou and Dr. Konstantinos Tatas.
1 Lecture 14 Memory storage elements  Latches  Flip-flops State Diagrams.
Edge Triggered Flip Flops (extended slides). Level-Sensitive Flip-Flop Level-sensitive flip-flop (also called a latch) Q changes whenever clock is high.
COE 202: Digital Logic Design Sequential Circuits Part 1 Dr. Ahmad Almulhem ahmadsm AT kfupm Phone: Office: Ahmad Almulhem, KFUPM.
Multiplexors Sequential Circuits and Finite State Machines Prof. Sin-Min Lee Department of Computer Science.
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.
Flip Flop
EE2174: Digital Logic and Lab Professor Shiyan Hu Department of Electrical and Computer Engineering Michigan Technological University CHAPTER 9 Sequential.
Sequential Logic Combinatorial components: the output values are computed only from their present input values. Sequential components: their output values.
JK Flip-Flop. JK Flip-flop The most versatile of the flip-flops Has two data inputs (J and K) Do not have an undefined state like SR flip-flops – When.
© BYU 11b MSFF Page 1 ECEn 224 MSFF Master/Slave Flip Flops.
Synchronous Sequential Logic A digital system has combinational logic as well as sequential logic. The latter includes storage elements. feedback path.
 Flip-flops are digital logic circuits that can be in one of two states.  Flip-flops maintain their state indefinitely until an input pulse called a.
Lab 12 :JK Flip Flop Fundamentals: Slide 2 Slide 3 JK Flip-Flop. JK Flip-Flop and waveform diagrams.
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 4. Sequential Logic #1
Digital Integrated Circuits A Design Perspective
Dr. Clincy Professor of CS
Sequential Circuits.
ECEN 248: INTRODUCTION TO DIGITAL SYSTEMS DESIGN
Digital Integrated Circuits A Design Perspective
Summary Latch & Flip-Flop
Chapter 7 Designing Sequential Logic Circuits Rev 1.0: 05/11/03
SR Flip-Flop Negative Edge Triggered Flip-Flops The SR Flip-Flop
ECE 3130 – Digital Electronics and Design
Lecture 8 Dr. Nermi Hamza.
Flip-FLops and Latches
Prof. Hsien-Hsin Sean Lee
Flip Flops.
Flip-flops Inputs are logically disconnected from the output in time.
Digital Design Lecture 9
Synchronous Sequential Circuits
FLIP FLOPS.
Flip-Flop.
Sequential Circuits Most digital systems like digital watches, digital phones, digital computers, digital traffic light controllers and so on require.
SEQUENTIAL LOGIC -II.
Sequential Logic and Flip Flops
Latches, Flip-Flops and Registers
Flip-FLops and Latches
Assistant Prof. Fareena Saqib Florida Institute of Technology
ECE Digital logic Lecture 16: Synchronous Sequential Logic
Flip-FLops and Latches
Yee-Wing Hsieh Steve Jacobs
Digital Logic Design Sequential Circuits (Chapter 6)
Sequential logic circuits
الکترونیک دیجیتال مدارات ترکیبی
Sequential Logic and Flip Flops
Excitation Vectors Input Combinational Logic Memory Output States.
Flip-FLops and Latches
Flip-FLops and Latches
触发器 Flip-Flops 刘鹏 浙江大学信息与电子工程学院 March 27, 2018
Synchronous Sequential Circuits
Dr. Clincy Professor of CS
Lecture 16 Logistics Last lecture Today HW5 out, due next wednesday
Dr. Clincy Professor of CS
Excitation Vectors Input Combinational Logic Memory Output States.
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
CSE 370 – Winter Sequential Logic-2 - 1
1) Latched, initial state Q =1
FLIP-FLOPS.
Flip Flops Unit-4.
ECE 352 Digital System Fundamentals
Flip-FLops and Latches
Sequential Digital Circuits
Week 11 Flip flop & Latches.
FLIPFLOPS.
Presentation transcript:

Flip-Flops SHAH KEVAL EN. NO.: 130270111006 EC DEPARTMENT, KIT, JAMNAGAR.

Level-Sensitive Flip-Flop Level-sensitive flip-flop (also called a “latch”) “Q” changes whenever clock is “high” CLK D Q 6 Transistors CLK CLK D Q

Level-Sensitive Flip-Flop CLK D Q NMOS transistor often replaced with “transmission gate” “Transmission gate” includes both NMOS and PMOS transistors because NMOS good at passing “0” and PMOS good at passing “1” 6 Transistors CLK D Q CLK Transmission Gate 8 Transistors CLK

Master-Slave Edge-Triggered Flip-Flop Can connect two level-sensitive latches in Master-Slave configuration to form edge-triggered flip-flop Master latch “catches” value of “D” at “QM” when CLK is low Slave latch causes “Q” to change only at rising edge of CLK QM Master Latch Slave Latch D Q CLK 2 x 8 = 16 Transistors CLK CLK D QM Q

Master-Slave Edge-Triggered Flip-Flop QM D Q CLK CLK 2 x 8 = 16 Transistors

More Efficient Master-Slave Edge-Triggered Flip-Flop Called a C2MOS (Clocked CMOS) design MASTER SLAVE VDD VDD CLK CLK D Q CLK CLK 8 Transistors GND GND

Using Logic Gates to Build Flip-Flops From previous slides, you can see that it’s possible to build an edge-triggered flip-flop using just 8 transistors In a conventional “Digital Logic” course, transistor-level flip-flop designs are not usually taught Instead, flip-flop designs using “cross-coupled” logic gates are usually taught

RS-Latch as Cross-Coupled NOR Gates If R = 1, Q resets to 0 If S = 1, Q sets to 1 If RS = 00, no change RS = 11 is not allowed because leads to oscillation R Q Q S S R Q 0 0 No change 0 1 1 0 1 1 1 Undefined

Level-Sensitive RS-Latch “Q” only changes when CLK is high (i.e. level-sensitive) When CLK is high, behavior same as RS latch S Q CLK Q R CLK S R Q 0 X X No change 1 0 0 No change 1 0 1 1 1 0 1 1 1 1 Undefined

Level-Sensitive D-Latch Make level-sensitive D-latch from level-sensitive RS-latch by connecting S = D and R = not D Compared to transistor version D Q CLK Q 18 Transistors CLK D Q 8 Transistors

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