Sequential Circuit Design: Part 1

Similar documents
Sequential Circuit Design: Part 1

ECEN454 Digital Integrated Circuit Design. Sequential Circuits. Sequencing. Output depends on current inputs

Lecture 11: Sequential Circuit Design

CPE/EE 427, CPE 527 VLSI Design I Sequential Circuits. Sequencing

EE 447/547 VLSI Design. Lecture 9: Sequential Circuits. VLSI Design EE 447/547 Sequential circuits 1

Lecture 10: Sequential Circuits

11. Sequential Elements

ECE321 Electronics I

Sequencing. Lan-Da Van ( 范倫達 ), Ph. D. Department of Computer Science National Chiao Tung University Taiwan, R.O.C. Fall,

EEC 118 Lecture #9: Sequential Logic. Rajeevan Amirtharajah University of California, Davis Jeff Parkhurst Intel Corporation

MUX AND FLIPFLOPS/LATCHES

Memory elements. Topics. Memory element terminology. Variations in memory elements. Clock terminology. Memory element parameters. clock.

Chapter 7 Sequential Circuits

Topic 8. Sequential Circuits 1

Lecture 21: Sequential Circuits. Review: Timing Definitions

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

Clocking Spring /18/05

Engr354: Digital Logic Circuits

Lecture 1: Circuits & Layout

Sequential Logic. References:

Flip-Flops. Because of this the state of the latch may keep changing in circuits with feedback as long as the clock pulse remains active.

L4: Sequential Building Blocks (Flip-flops, Latches and Registers)

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).

EL302 DIGITAL INTEGRATED CIRCUITS LAB #3 CMOS EDGE TRIGGERED D FLIP-FLOP. Due İLKER KALYONCU, 10043

CMOS Latches and Flip-Flops

cascading flip-flops for proper operation clock skew Hardware description languages and sequential logic

Lecture 1: Intro to CMOS Circuits

SEQUENTIAL LOGIC. Sequential Logic

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

D Latch (Transparent Latch)

UNIT III COMBINATIONAL AND SEQUENTIAL CIRCUIT DESIGN

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

Problems with D-Latch

COMP2611: Computer Organization. Introduction to Digital Logic

Clock - key to synchronous systems. Topic 7. Clocking Strategies in VLSI Systems. Latch vs Flip-Flop. Clock for timing synchronization

Clock - key to synchronous systems. Lecture 7. Clocking Strategies in VLSI Systems. Latch vs Flip-Flop. Clock for timing synchronization

Digital Logic Design Sequential Circuits. Dr. Basem ElHalawany

SEQUENTIAL CIRCUITS SEQUENTIAL CIRCUITS

CSE115: Digital Design Lecture 23: Latches & Flip-Flops

ELCT201: DIGITAL LOGIC DESIGN

ECE 25 Introduction to Digital Design. Chapter 5 Sequential Circuits ( ) Part 1 Storage Elements and Sequential Circuit Analysis

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

Memory, Latches, & Registers

6. Sequential Logic Flip-Flops

Combinational vs Sequential

Lec 24 Sequential Logic Revisited Sequential Circuit Design and Timing

Digital Logic & Computer Design CS Professor Dan Moldovan Spring Chapter 3 :: Sequential Logic Design

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

Unit 11. Latches and Flip-Flops

Experiment 8 Introduction to Latches and Flip-Flops and registers

Sequential logic. Circuits with feedback. How to control feedback? Sequential circuits. Timing methodologies. Basic registers

! Two inverters form a static memory cell " Will hold value as long as it has power applied

LATCHES & FLIP-FLOP. Chapter 7

Sequential Logic. Sequential Circuits. ! Timing Methodologies " Cascading flip-flops for proper operation " Clock skew

Lecture 8: Sequential Logic

Digital Integrated Circuit Design II ECE 426/526, Chapter 10 $Date: 2016/04/07 00:50:16 $

Fundamentals of Computer Systems

MASSACHUSETTS INSTITUTE OF TECHNOLOGY Department of Electrical Engineering and Computer Science

EE241 - Spring 2007 Advanced Digital Integrated Circuits. Announcements

ELE2120 Digital Circuits and Systems. Tutorial Note 7

CS3350B Computer Architecture Winter 2015

Hardware Design I Chap. 5 Memory elements

Introduction to Sequential Circuits

Digital Design, Kyung Hee Univ. Chapter 5. Synchronous Sequential Logic

Logic Design. Flip Flops, Registers and Counters

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

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

Logic Design ( Part 3) Sequential Logic (Chapter 3)

Learning Outcomes. Unit 13. Sequential Logic BISTABLES, LATCHES, AND FLIP- FLOPS. I understand the difference between levelsensitive

Lecture 26: Multipliers. Final presentations May 8, 1-5pm, BWRC Final reports due May 7 Final exam, Monday, May :30pm, 241 Cory

Chapter 5: Synchronous Sequential Logic

Registers & Counters. Logic and Digital System Design - CS 303 Erkay Savaş Sabanci University

Sequential Circuits. Sequential Logic. Circuits with Feedback. Simplest Circuits with Feedback. Memory with Cross-coupled Gates.

Glitches/hazards and how to avoid them. What to do when the state machine doesn t fit!

IT T35 Digital system desigm y - ii /s - iii

Momentary Changes in Outputs. State Machine Signaling. Oscillatory Behavior. Hazards/Glitches. Types of Hazards. Static Hazards

LOW POWER AND HIGH PERFORMANCE SHIFT REGISTERS USING PULSED LATCH TECHNIQUE

Logic and Computer Design Fundamentals. Chapter 7. Registers and Counters

Chapter 11 Latches and Flip-Flops

Synchronous Digital Logic Systems. Review of Digital Logic. Philosophy. Combinational Logic. A Full Adder. Combinational Logic

Chapter 3 Unit Combinational

Chapter 5 Synchronous Sequential Logic

Fundamentals of Computer Systems

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

DEPARTMENT OF ELECTRICAL &ELECTRONICS ENGINEERING DIGITAL DESIGN

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

ALGORITHMS IN HW EECS150 ALGORITHMS IN HW. COMBINATIONAL vs. SEQUENTIAL. Sequential Circuits ALGORITHMS IN HW

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

CMSC 313 Preview Slides

Review of digital electronics. Storage units Sequential circuits Counters Shifters

Chapter 6. sequential logic design. This is the beginning of the second part of this course, sequential logic.

ELCT201: DIGITAL LOGIC DESIGN

Combinational / Sequential Logic

Introduction to Digital Logic Missouri S&T University CPE 2210 Flip-Flops

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

CS 110 Computer Architecture. Finite State Machines, Functional Units. Instructor: Sören Schwertfeger.

Fundamentals of Computer Systems

CHAPTER 4: Logic Circuits

EEE2135 Digital Logic Design Chapter 6. Latches/Flip-Flops and Registers/Counters 서강대학교 전자공학과

2.6 Reset Design Strategy

Transcription:

Sequential ircuit esign: Part 1 esign of memory elements Static latches Pseudo-static latches ynamic latches Timing parameters Two-phase clocking locked inverters Krish hakrabarty 1 Sequential Logic FFs LOGI Out t p,comb In 2 storage mechanisms positive feedback charge-based Krish hakrabarty 2

ombinational logic Sequencing output depends on current inputs Sequential logic output depends on current and previous inputs Requires separating previous, current, future alled state or tokens Ex: FSM, pipeline clk clk clk clk in L out L L Finite State Machine Pipeline Krish hakrabarty 3 Sequencing ont. If tokens moved through pipeline at constant speed, no sequencing elements would be necessary Ex: fiber-optic cable Light pulses (tokens) are sent down cable Next pulse sent before first reaches end of cable No need for hardware to separate pulses But dispersion sets min time between pulses This is called wave pipelining in circuits In most circuits, dispersion is high elay fast tokens so they don t catch slow ones. Krish hakrabarty 4

Sequencing Overhead Use flip-flops to delay fast tokens so they move through exactly one stage each cycle. Inevitably adds some delay to the slow tokens Makes circuit slower than just the logic delay alled sequencing overhead Some people call this clocking overhead But it applies to asynchronous circuits too Inevitable side effect of maintaining sequence Krish hakrabarty 5 Sequencing Elements Latch: Level sensitive a.k.a. transparent latch, latch Flip-flop: edge triggered A.k.a. master-slave flip-flop, flip-flop, register Timing iagrams Transparent Opaque Edge-trigger clk (latch) clk Latch clk Flop (flop) Krish hakrabarty 6

Flip-Flop: Timing efinitions t In t setup t hold ATA STABLE t Out t pff ATA STABLE t Krish hakrabarty 7 Maximum lock Frequency FFs LOGI t p,comb Krish hakrabarty 8

Latch esign Pass Transistor Latch Pros + Tiny + Low clock load ons V t drop nonrestoring backdriving output noise sensitivity dynamic diffusion input Used in 1970 s Krish hakrabarty 9 Latch esign Transmission gate + No V t drop - Requires inverted clock Krish hakrabarty 10

Latch esign Inverting buffer +Restoring + No backdriving + Fixes either Output noise sensitivity Or diffusion input Inverted output Krish hakrabarty 11 Latch esign Buffered input + Fixes diffusion input + Noninverting Krish hakrabarty 12

Latch esign Buffered output + No backdriving Widely used in standard cells + Very robust (most important) - Rather large - Rather slow (1.5 2 FO4 delays) - High clock loading Krish hakrabarty 13 Latch esign Tristate feedback + Static Backdriving risk Static latches are now essential Krish hakrabarty 14

Latch esign atapath latch + Smaller, faster - unbuffered input Krish hakrabarty 15 esign of Memory Elements Positive edge-triggered flip-flop Why use inverters on outputs? Skew Problem : may be delayed with respect to (both may be 1 at the same time) This is what happens- Eliminating/Reducing skew: in 1 Transmission gate acts a buffer, should have same delay as inverter Krish hakrabarty 16

Latch design Static latch Jamb latch Weak inverter Krish hakrabarty 17 Latch esign Variant of latch Krish hakrabarty 18

Flip-Flop esign Flip-flop is built as pair of back-to-back latches Krish hakrabarty 19 Enable Enable: ignore clock when en = 0 Mux: increase latch - delay lock Gating: increase en setup time, skew Symbol Multiplexer esign lock Gating esign en Latch 1 0 Latch Latch en en en Flop 1 0 en Flop Flop en Krish hakrabarty 20

Reset Force output low when asserted Synchronous vs. asynchronous Symbol Latch Flop Synchronous Reset Asynchronous Reset Krish hakrabarty 21 Set / Reset Set forces output high when enabled Flip-flop with asynchronous set and set set Krish hakrabarty 22

ynamic Latches So far, all latches have been static-store state when clock is stopped but power is maintained ynamic latches reduce transistor count Eliminate feedback inverter and transmission gate Latch value stored on the capacitance of the input (gate capacitance) Krish hakrabarty 23 ynamic Latch and Flip-Flop ynamic latch ata stored as harge on gate capacitance ynamic negative edge-triggered flip-flop ifficult to ensure reliable operation Similar to RAM Refresh cycles are required Krish hakrabarty 24

harge-based Storage Non-overlapping clocks Schematic diagram Ps e udo -s tatic Latc h Krish hakrabarty 25 Master-Slave Flip-Flop A B Overlapping locks an aus e Race onditions Undefined Signals To reduce skew: generate complement of clock within the cell Extra inverter per cell Krish hakrabarty 26

Two-Phase locking Inverting a single clock can lead to skew problems Employ two non-overlapping clocks for master and slave sections of a flip-flop Also, use two phases for alternating pipeline stages Krish hakrabarty 27 Two-Phase locking 1 2 1 2 1 (t). 2 (t) = 0 1 =1, 2 = 0 1 =0, 2 = 1 Krish hakrabarty 28

2-phase non-overlapping clocks Pseudo-static flip-flop 1 2 2 1 1 2 t Important: Non-overlap time t must be kept small Krish hakrabarty 29 2-phase dynamic flip-flop 1 2 Input Sampled 1 2 Output Enable Krish hakrabarty 30

Flip-flop based on nmos pass gates Use of p Leakers 1 2 egraded voltage V -V t No need to route signals 1 2 Problem: Increased delay (extra inverter) pmos leaker transistors provide full-restored logic levels Krish hakrabarty 31 locked Inverters Similar to tristate buffer = 1, acts as inverter = 0, output = Z i1 i2 i3 Latch Krish hakrabarty 32

Flip-flop insensitive to clock overlap V V M2 M6 In M4 M8 M3 L1 M7 L2 M1 M5 section section 2 MOS flip-flop Krish hakrabarty 33 2 MOS avoids Race onditions V V V V M2 M6 M2 M6 In 1 M3 1 M7 In 0 M4 0 M8 M1 M5 M1 M5 (a) (1-1) overlap (b) (0-0) overlap Krish hakrabarty 34