EE241 - Spring 2001 Advanced Digital Integrated Circuits. Latch vs. Flip-Flop

Similar documents
Lecture 10: Latch and Flip-Flop Design. Outline

Lecture 10 Sequential Circuit Design Zhuo Feng. Z. Feng MTU EE4800 CMOS Digital IC Design & Analysis 2010

Lecture 10: Sequential Circuits

Clocking. Figure by MIT OCW Spring /18/05 L06 Clocks 1

Sequential Circuits. Combinational Circuits Outputs depend on the current inputs

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

Lecture 11: Sequential Circuit Design

ECE380 Digital Logic

Latches, the D Flip-Flop & Counter Design. ECE 152A Winter 2012

Weste07r4.fm Page 183 Monday, January 5, :39 AM. 7.1 Introduction

Topics of Chapter 5 Sequential Machines. Memory elements. Memory element terminology. Clock terminology

Introduction to CMOS VLSI Design (E158) Lecture 8: Clocking of VLSI Systems

Lecture 7: Clocking of VLSI Systems

Latch Timing Parameters. Flip-flop Timing Parameters. Typical Clock System. Clocking Overhead

S. Venkatesh, Mrs. T. Gowri, Department of ECE, GIT, GITAM University, Vishakhapatnam, India

Sequential Logic: Clocks, Registers, etc.

Sequential 4-bit Adder Design Report

LOW POWER DUAL EDGE - TRIGGERED STATIC D FLIP-FLOP

Sequential Circuit Design

EE 42/100 Lecture 24: Latches and Flip Flops. Rev B 4/21/2010 (2:04 PM) Prof. Ali M. Niknejad

Theory of Logic Circuits. Laboratory manual. Exercise 3

Layout of Multiple Cells

Engr354: Digital Logic Circuits

CHAPTER 11 LATCHES AND FLIP-FLOPS

Sequential Logic Design Principles.Latches and Flip-Flops

A Survey on Sequential Elements for Low Power Clocking System

IEEE. Proof. INCREASING circuit speed is certain to remain the major. Dual-Edge Triggered Storage Elements and Clocking Strategy for Low-Power Systems

TRUE SINGLE PHASE CLOCKING BASED FLIP-FLOP DESIGN

The enable pin needs to be high for data to be fed to the outputs Q and Q bar.

Master/Slave Flip Flops

WEEK 8.1 Registers and Counters. ECE124 Digital Circuits and Systems Page 1

Memory Elements. Combinational logic cannot remember

CSE140: Components and Design Techniques for Digital Systems

Set-Reset (SR) Latch

CDA 3200 Digital Systems. Instructor: Dr. Janusz Zalewski Developed by: Dr. Dahai Guo Spring 2012

Digital Logic Design. Basics Combinational Circuits Sequential Circuits. Pu-Jen Cheng

Flip-Flops, Registers, Counters, and a Simple Processor

LOW POWER DESIGN OF DIGITAL SYSTEMS USING ENERGY RECOVERY CLOCKING AND CLOCK GATING

INTERPRETATION of published results comparing various

Alpha CPU and Clock Design Evolution

DIGITAL TECHNICS II. Dr. Bálint Pődör. Óbuda University, Microelectronics and Technology Institute

Modeling Sequential Elements with Verilog. Prof. Chien-Nan Liu TEL: ext: Sequential Circuit

NTE2053 Integrated Circuit 8 Bit MPU Compatible A/D Converter

SEQUENTIAL CIRCUITS. Block diagram. Flip Flop. S-R Flip Flop. Block Diagram. Circuit Diagram

Timing Methodologies (cont d) Registers. Typical timing specifications. Synchronous System Model. Short Paths. System Clock Frequency

True Single Phase Clocking Flip-Flop Design using Multi Threshold CMOS Technique

Introduction to CMOS VLSI Design

7. Latches and Flip-Flops

Multi-GHz Systems Clocking Invited Paper

Latch versus Register

Design Verification & Testing Design for Testability and Scan

Lesson 12 Sequential Circuits: Flip-Flops

Sequential Logic. (Materials taken from: Principles of Computer Hardware by Alan Clements )

Having read this workbook you should be able to: recognise the arrangement of NAND gates used to form an S-R flip-flop.

CHAPTER 16 MEMORY CIRCUITS

Module 3: Floyd, Digital Fundamental

DIGITAL SYSTEM CLOCKING. High-Performance and Low-Power Aspects

PROGETTO DI SISTEMI ELETTRONICI DIGITALI. Digital Systems Design. Digital Circuits Advanced Topics

Flip-Flops and Sequential Circuit Design. ECE 152A Winter 2012

Flip-Flops and Sequential Circuit Design

(1) /30 (2) /30 (3) /40 TOTAL /100

ECE124 Digital Circuits and Systems Page 1

ECE410 Design Project Spring 2008 Design and Characterization of a CMOS 8-bit Microprocessor Data Path

BINARY CODED DECIMAL: B.C.D.

DIGITAL ELECTRONICS. Counters. By: Electrical Engineering Department

Lecture 8: Synchronous Digital Systems

Design and analysis of flip flops for low power clocking system

NAME AND SURNAME. TIME: 1 hour 30 minutes 1/6

So far we have investigated combinational logic for which the output of the logic devices/circuits depends only on the present state of the inputs.

CS311 Lecture: Sequential Circuits

Chapter 5. Sequential Logic

Chapter 2 Clocks and Resets

DESIGN CHALLENGES OF TECHNOLOGY SCALING

TIMING-DRIVEN PHYSICAL DESIGN FOR DIGITAL SYNCHRONOUS VLSI CIRCUITS USING RESONANT CLOCKING

To design digital counter circuits using JK-Flip-Flop. To implement counter using 74LS193 IC.

ASYNCHRONOUS COUNTERS

Chapter 9 Latches, Flip-Flops, and Timers

Class 11: Transmission Gates, Latches

Pass Gate Logic An alternative to implementing complex logic is to realize it using a logic network of pass transistors (switches).

路 論 Chapter 15 System-Level Physical Design

Optimization and Comparison of 4-Stage Inverter, 2-i/p NAND Gate, 2-i/p NOR Gate Driving Standard Load By Using Logical Effort

DIGITAL TECHNICS II. Dr. Bálint Pődör. Óbuda University, Microelectronics and Technology Institute. 2nd (Spring) term 2012/2013

Digital Fundamentals

IE1204 Digital Design F12: Asynchronous Sequential Circuits (Part 1)

MM74HCT373 MM74HCT374 3-STATE Octal D-Type Latch 3-STATE Octal D-Type Flip-Flop

DIGITAL TECHNICS II. Dr. Bálint Pődör. Óbuda University, Microelectronics and Technology Institute 5. LECTURE: REGISTERS AND RELATED

Asynchronous IC Interconnect Network Design and Implementation Using a Standard ASIC Flow

EE 459/500 HDL Based Digital Design with Programmable Logic. Lecture 16 Timing and Clock Issues

Module 4 : Propagation Delays in MOS Lecture 22 : Logical Effort Calculation of few Basic Logic Circuits

Two-Phase Clocking Scheme for Low-Power and High- Speed VLSI

Experiment # 9. Clock generator circuits & Counters. Eng. Waleed Y. Mousa

Three-Phase Dual-Rail Pre-Charge Logic

NEW adder cells are useful for designing larger circuits despite increase in transistor count by four per cell.

CMOS 5 V/+5 V 4 Single SPDT Switches ADG619/ADG620

Lecture 5: Gate Logic Logic Optimization

Performance of Flip-Flop Using 22nm CMOS Technology

MM74HC4538 Dual Retriggerable Monostable Multivibrator

CD4027BC Dual J-K Master/Slave Flip-Flop with Set and Reset

1 pc Charge Injection, 100 pa Leakage CMOS 5 V/5 V/3 V 4-Channel Multiplexer ADG604

Design of Low Power One-Bit Hybrid-CMOS Full Adder Cells

Transcription:

EE241 - Spring 2001 Advanced igital Integrated Circuits Lecture 22 Flip-Flop esign Latch vs. Flip-Flop Latch stores data when clock is low Flip-Flop stores data when clock rises 1

Latch Pair vs. Flip-Flop Performance metrics elay metrics» elay penalty» Clock skew penalty» Inclusion of logic» Inherent race immunity Power/Energy Metrics» Power/energy»PP, EP esign robustness Latches Negative latch (transparent when CLK= 0) Positive latch (transparent when CLK= 1) 2

Latches Transmission-Gate Latch C 2 MOS Latch Latches Courtesy of IEEE Press, New York. 2000 3

Pipelined Logic using C 2 MOS In C 1 F C 2 G C 3 Out NORA CMOS What are the constraints on F and G? TSPC - True Single Phase Clock Logic M 1 Out M 1 M 1 Out M 1 In M 2 In M 2 Out In M 2 In M 2 Out M 3 M 3 M 3 M 3 Precharged N Precharged P Non-precharged N Non-precharged P 4

TSPC - True Single Phase Clock Logic PUN In Static Logic Out PN Including logic into the latch Inserting logic between latches oubled TSPC Latches Out In Out oubled n-tspc latch oubled p-tspc latch 5

Master-Slave TSPC Flip-flops X Y (a) Positive edge-triggered flip-flop (b) Negative edge-triggered flip-flop (c) Positive edge-triggered flip-flop using split-output latches EC Alpha 21064 obberpuhl, JSSC 11/92 6

EC Alpha 21064 L1: L2: EC Alpha 21064 Integrating logic into latches Reducing effective overhead 7

EC Alpha 21164 L1 Latch L2 Latch L1 Latch with logic Flip-Flop as a Latch Pair 8

Latch vs. Flip-Flop Courtesy of IEEE Press, New York. 2000 Requirements in the Flip-Flop esign High speed of operation: Small -Output delay Small setup time Small hold time Inherent race immunity Low power Small clock load High driving capability Integration of the logic into flip-flop Multiplexed or clock scan Robustness Crosstalk insensitivity - dynamic/high impedance nodes are affected 9

Sources of Noise Courtesy of IEEE Press, New York. 2000 Gate Isolation Courtesy of IEEE Press, New York. 2000 10

Flip-Flop Robustness Robustness of the storage node Input isolation ata stored statically, max resistance limit Min capacitance limit Preventing exposure Types of Flip-Flops Latch Pair (Master-Slave) Pulse-Triggered Latch ata L1 L2 L ata 11

Flip-Flop elay Sum of setup time and -output delay is the only true measure of the performance with respect to the system speed T = T - + T Logic + T setup + 2T skew Logic N T - T Logic T Setup elay vs. Setup/Hold Times 350 Minimum ata-output 300 250 -Output [ps] Setup 200 150 100 Hold 50 0-200 -150-100 -50 0 50 100 150 200 ata- [ps] 12

Master-Slave Latches Positive setup times Two clock phases:» distributed globally» generated locally Small penalty in delay for incorporating MUX Some circuit tricks needed to reduce the overall delay Master-Slave Latches Case 1: PowerPC 603 (Gerosa, JSSC 12/94) b b 13

T-G Master-Slave Latch Feedback added for static operation Unbuffered input input capacitance depends on the phase of the clock over-shoot and under-shoot with long routes wirelength must be restricted at the input Clock load is high Low power Small clk-output delay, but positive setup Master-Slave Latches Case 2: C 2 MOS Ck Ckb Ckb Ck Ck Ckb Ck Feedback added for static operation Locally generated clock Poor driving capability Robustness to clock slope Ck Ckb 14

Pulse-Triggered Latches First stage is a pulse generator generates a pulse (glitch) on a rising edge of the clock Second stage is a latch captures the pulse generated in the first stage Pulse generation results in a negative setup time Frequently exhibit a soft edge property Note: power is always consumed in the pulse generator Pulse-Triggered Latches Case 1: Hybrid Latch Flip-Flop, AM K-6 Partovi, ISSCC 96 15

HLFF Operation 1-0 and 0-1 transitions at the input with 0ps setup time Hybrid Latch Flip-Flop Flip-flops features: single phase clock edge triggered, on one clock edge Latch features: Soft clock edge property brief transparency, equal to 3 inverter delays negative setup time allows slack passing absorbs skew Hold time is comparable to HLFF delay minimum delay between flip-flops must be controlled Fully static Possible to incorporate logic 16

Soft Edge Property Also known as cycle borrowing, or slack passing In latch based designs, if longest path datum reaches latch before its setup time, clock skew does not affect cycle time If longest path reaches latch close to setup time, clock skew is directly subtracted from cycle time Flip-flop presents a hard edge - no slack passing. HLFF is a compromise - has a controlled transparency period, that can absorb skew Price is paid in the hold time Skew absorption Hybrid Latch Flip-Flop Partovi et al, ISSCC 96 17

Pulse-Triggered Latches Case 2: AM K-7 Courtesy of IEEE Press, New York. 2000 Pulse-Triggered Latches Case 3: Semi-ynamic Flip-Flop (SFF), Sun UltraSparc III, Klass, VLSI Circuits 98 Pulse generator is dynamic, cross-coupled latch is added for robustness. Loses soft edge on rising transition Latch has one transistor less in stack - faster than HLFF, but 1-1 glitch exists Small penalty for adding logic 18

Pulse-Triggered Latches Case 3: 7474, Texas Instruments 64 S R 7474 Karnaugh maps for signals S and R S R R, 00 01 11 10 00 x 1 1 1 S R R, 00 01 11 10 00 x 1 1 1 01 11 10 S x 1 1 1 01 x 1 1 1 x 1 1 0 11 x 0 0 1 x 1 0 0 10 x 0 1 1 R R S S S S = R S R = S R S R 19

Pulse-Triggered Latches Case 4: Sense-amplifier-based flip-flop, Matsui 1992. EC Alpha 21264, StrongARM 110 First stage is a sense amplifier, precharged to high, when = 0 After rising edge of the clock sense amplifier generates the pulse on S or R The pulse is captured in S-R latch Cross-coupled NAN has different propagation delays of rising and falling edges Sense Amplifier-Based Flip-Flop The first stage is unchanged sense amplifier Second stage is sized to provide maximum switching speed river transistors are large Keeper transistors are small and disengaged during transitions 20

Sense Amplifier-Based Flip-Flop Courtesy of IEEE Press, New York. 2000 Flip-Flop Performance Comparison Test bench ata 200fF Total power consumed internal power Clock 200fF data power clock power 50fF Measured for four cases no activity (0000 and 1111 ) maximum activity (0101010..) elay is (minimum -) average activity (random sequence) - + setup time Stojanovic, Oklobdzija JSSC 4/99 21

Flip-Flop Performance Comparison elay vs. power comparison of different flip-flops Flip-flops are optimized for speed with output transistor sizes limited to 7.5µm/4.3 µm Total transistor gate width is indicated 70 Total power [uw] 60 50 40 30 20 10 HLFF 54µm msaff 64µm SFF 49 µm TG M-S 52µm Original SAFF 60µm C 2 MOS 80µm 0 100 150 200 250 300 350 400 450 500 elay [ps] Energy Consumption Energy Breakup in TG-MS (PowerPC603) 8% Clocked Nodes 6fJ Always consume E CLK = E 0-0 = E 1-1 When : 1-0 or 0-1 E int = E 1-0 E 0-0 Only when : 0-1 E ext = E 0-1 E 1-0 54% External Load 42fJ Internal Nodes 29fJ Non-inverting Flops: E avg = E CLK + α E ext + (1- α) E int Inverting Flops: 38 E avg = E CLK + (1-α) E ext + α E int (α - probability of : 0-1) [Markovic] 22

Energy issipation Comparison of Master Slave and Pulse-Triggered Flip-Flops 250 200 0--0 0--1 1--0 1--1 198 183 Energy [fj] 150 100 85 101 102 103 94 114 114 64 59 57 50 14 31 14 23 42 23 30 36 0 TG FF C2MOS HLFF SFF SAFF Resized for Energy/elay Local Clock Gating CKI 0.85 0.85 I 0.5 0.85 0.5 0.5 CKIB CKIB 0.5 2 1.2 0.5 ata-transition Look-Ahead 0.85 0.5 0.85 0.5 Pulse Generator XNOR CP 0.85 0.5 CKIB CKI Clock on demand Flip-flop 23