Flip-Flops.

Slides:



Advertisements
Similar presentations
1 Lecture 16 Timing  Terminology  Timing issues  Asynchronous inputs.
Advertisements

Introduction to Sequential Logic Design Latches. 2 Terminology A bistable memory device is the generic term for the elements we are studying. Latches.
ECE C03 Lecture 81 Lecture 8 Memory Elements and Clocking Hai Zhou ECE 303 Advanced Digital Design Spring 2002.
Latches CS370 –Spring 2003 Section 4-2 Mano & Kime.
CHAPTER 3 Sequential Logic/ Circuits.  Concept of Sequential Logic  Latch and Flip-flops (FFs)  Shift Registers and Application  Counters (Types,
Flip-Flops, Registers, Counters, and a Simple Processor
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
EEE515J1_L3-1/55 EEE515J1 ASICs and DIGITAL DESIGN Ian McCrumRoom 5D03B Tel: voice mail on 6 th ring.
Introduction to Sequential Logic Design Bistable elements Latches.
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.
1 Sequential Systems A combinational system is a system whose outputs depend only upon its current inputs. A sequential system is a system whose outputs.
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 Chapter 8 Flip-Flops and Related Devices. 2 Figure 8--1 Two versions of SET-RESET (S-R) latches S-R (Set-Reset) Latch.
1 Sequential Circuits –Digital circuits that use memory elements as part of their operation –Characterized by feedback path –Outputs depend not only on.
Page 1 Sequential Logic Basic Binary Memory Elements.
Dr. ClincyLecture1 Appendix A – Part 2: Logic Circuits Current State or output of the device is affected by the previous states Circuit Flip Flops New.
EET 1131 Unit 10 Flip-Flops and Registers
EKT 124 / 3 DIGITAL ELEKTRONIC 1
+ CS 325: CS Hardware and Software Organization and Architecture Sequential Circuits 1.
Sequential Logic Flip-Flops and Related Devices Dr. Rebhi S. Baraka Logic Design (CSCI 2301) Department of Computer Science Faculty.
Homework Reading Machine Projects Labs Tokheim Chapter 9.1 – 9.6
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.
Sequential Circuits. 2 Sequential vs. Combinational Combinational Logic:  Output depends only on current input −TV channel selector (0-9) Sequential.
EE 4271 VLSI Design, Fall 2010 Sequential Circuits.
EE365 Adv. Digital Circuit Design Clarkson University Lecture #10 Latches, Flip Flops & Sequential PALS.
Contemporary Logic Design Sequential Logic © R.H. Katz Transparency No Chapter #6: Sequential Logic Design Sequential Switching Networks.
Chapter 3: Sequential Logic Circuit EKT 121 / 4 ELEKTRONIK DIGIT 1.
Test #2 Combinational Circuits – MUX Sequential Circuits – Latches – Flip-flops – Clocked Sequential Circuits – Registers/Shift Register – Counters – Memory.
Introduction to Sequential Logic Design Flip-flops.
Flip Flop
Chap 4. Sequential Circuits
CENT-113 Digital Electronics 1 Flip Flops TI Type 502 Flip Flop: 1st production IC in 1960.
CHAPTER 3 Sequential Logic/ Circuits.  Concept of Sequential Logic  Latch and Flip-flops (FFs)  Shift Registers and Application  Counters (Types,
1 Sequential Logic Lecture #7. 모바일컴퓨팅특강 2 강의순서 Latch FlipFlop Shift Register Counter.
Introduction to Sequential Logic Design Flip-flops FSM Analysis.
Introduction to Sequential Logic Design Flip-flops.
Sequential Logic Circuits. Combinational logic circuit A combinational logic circuit is one whose outputs depend only on its current inputs
Computer Architecture Lecture 4 Sequential Circuits Ralph Grishman September 2015 NYU.
Topic: Sequential Circuit Course: Logic Design Slide no. 1 Chapter #6: Sequential Logic Design.
Synchronous Sequential Circuits by Dr. Amin Danial Asham.
Instructor: Alexander Stoytchev CprE 281: Digital Logic.
Introduction to Sequential Logic
BR 8/991 DFFs are most common Most programmable logic families only have DFFs DFF is fastest, simplest (fewest transistors) of FFs Other FF types (T, JK)
1 Digital Fundamentals Chapter 8 Flip-Flops and Related Devices Resource: CYU / CSIE / Yu-Hua Lee / Not made by Engr. Umar Talha,
Sequential logic circuits
Sequential Logic Circuits
© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed Digital Logic Design Dr. Oliver Faust.
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
Sahar Mosleh PageCalifornia State University San Marcos 1 More on Flip Flop State Table and State Diagram.
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.
CO5023 Latches, Flip-Flops and Decoders. Sequential Circuit What does this do? The OUTPUT of a sequential circuit is determined by the current output.
Synchronous Sequential Circuits by Dr. Amin Danial Asham.
Sequential Logic Flip-Flop Circuits By Dylan Smeder.
Synchronous Sequential Circuits by Dr. Amin Danial Asham.
Dept. of Electrical Engineering
Lecture No. 23 Sequential Logic. Digital Logic & Design Dr. Waseem Ikram Lecture No. 23.
1 KU College of Engineering Elec 204: Digital Systems Design Lecture 13 Edge-Triggered FF Operation.
LATCHES AND FLIP-FLOPS
Class Exercise 1B.
LATCHED, FLIP-FLOPS,AND TIMERS
Introduction to Sequential Logic Design
ECE Digital logic Lecture 16: Synchronous Sequential Logic
Chapter 11 Sequential Circuits.
Chapter 7 Latches, Flip-Flops, and Timers
Elec 2607 Digital Switching Circuits
FLIP-FLOPS.
14 Digital Systems.
Presentation transcript:

Flip-Flops

Basic RS Flip-Flop (NAND) 1 S (set) R (reset) (a) Logic diagram (b) Truth table S R Q Q’ 1 0 0 1 1 1 0 1 (after S = 1, R = 0) 0 1 1 0 1 1 1 0 (after S = 0, R = 1) 0 0 1 1 2 Q Q’ ’ A flip-flop holds 1 "bit". "Bit" ::= "binary digit."

Clocked D Flip-Flop The present state is held when CP is low. D 3 1 Q 5 3 4 1 2 The present state is held when CP is low.

Clock Pulse Definition Positive Pulse Positive Edge Negative Negative Pulse Positive Edge Negative Edges can also be referred to as leading and trailing.

Master-Slave Flip-Flop CP Master Slave Y Y’ Q Q’ MASTER-SLAVE FLIP-FLOP

Flip-Flop on RT54SX-A (Not hardened) Master Slave

RT54SX-A SEU Performance

RT54SX-S Latch (SEU Hardened) G B A S Y ANQ BNQ CNQ C AFB BFB CFB A Y

Flip-Flop Timing: RT54SX-S Worst-case Military Conditions, VCCA=2.3, VCCI=3.0V, TJ=125C -1 Speed Grade Min Max Units tRCO Sequential Clock-to-Q 1.0 ns tCLR Asynchronous Clear-to-Q 0.9 ns tPRESET Asynchronous Preset-to-Q 1.0 ns tSUD Flip-Flop Data Input Set-Up 0.6 ns tHD Flip-Flop Data Input Hold 0.0 ns tWASYN Asynchronous Pulse Width 1.8 ns

Metastability - Introduction Can occur if the setup, hold time, or clock pulse width of a flip-flop is not met. A problem for asynchronous systems or events. Can be a problem in synchronous systems. Three possible symptoms: Increased CLK -> Q delay. Output a non-logic level Output switching and then returning to its original state. Theoretically, the amount of time a device stays in the metastable state may be infinite. Many designers are not aware of metastability.

Metastability In practical circuits, there is sufficient noise to move the device output of the metastable state and into one of the two legal ones. This time can not be bound. It is statistical. Factors that affect a flip-flop's metastable "performance" include the circuit design and the process the device is fabricated on. The resolution time is not linear with increased circuit time and the MTBF is an exponential function of the available slack time.

Metastability - Calculation MTBF = eK2*t / ( K1 x FCLK x FDATA) t is the slack time available for settling K1 and K2 are constants that are characteristic of the flip-flop Fclock and Fdata are the frequency of the synchronizing clock and asynchronous data. Software is available to automate the calculations with built-in tables of parameters. Not all manufacturers provide data.

Metastability - Sample Data

Synchronizer (Bad Circuit) EVENT SYSRESET SYSCLK D Q DFC1B CLR CLK DF1 B A AND 2A Y VCC

Metastable State: Possible Output from a Flip-flop CLK D Q

Metastable State: Possible Outputs from a Flip-flop Correct Output CLK Q Correct Output

Parallel Registers

4-Bit Parallel Register D Q DF1 CLK CLOCK DATA [ 3 : 0 ] Q [ 3 : 0 ]

4-Bit Register With Enable D Q DF1 CLK CLOCK DATA [ 3 : 0 ] Q [ 3 : 0 ]

Register Files (Simplified) CLK Q Address - log2(num registers) Register 1 Register 2 D and Q are both sets of lines, with the number of lines equal to the width of each register. There are often multiple address ports, as well as additional data ports.

Memory Devices

Magnetic Core Memory Register Decoder (AND plane) Sense wires serve as OR plane.

Semiconductor Memory Decoder (AND plane) OR plane Data Word 0 D0 BC BC BC Address inputs Memory enable Read/write D0 D1 D2 D3 Word 0 Word 1 Word 2 Word3 Data outputs Semiconductor Memory Decoder (AND plane) OR plane

Rad-Hard PROM Architecture Row Decoders Column Decoders Section Select Control Logic Memory Array Column Muxing and Sense Amps I/O Buffers A5 - A11 A0 - A4 A12 - A14 CE OE VPP* DQ0 - 7 No latches in this architecture

W28C64 EEPROM Simplified Block Diagram Memory Array Row Address Latches Row Address Decoder A6-12 Column Address Latches Column Address Decoder 64 Byte Page Buffer A0-5 Edge Detect & Latches CE* Timer WE* I/O Buffer/ Data Polling Latch Enable Control Latch Control Logic OE* CLK VW I/O0-7 PE RSTB