Logic Gate Delay Modeling -1 Bishnu Prasad Das Research Scholar CEDT, IISc, Bangalore

Slides:



Advertisements
Similar presentations
EE 447 VLSI Design Lecture 7: Combinational Circuits
Advertisements

Introduction to CMOS VLSI Design Combinational Circuits
Design and Implementation of VLSI Systems (EN1600)
Lecture 5: DC & Transient Response
Lecture 9: Combinational Circuit Design. CMOS VLSI DesignCMOS VLSI Design 4th Ed. 10: Combinational Circuits2 Outline  Bubble Pushing  Compound Gates.
Logical Effort A Method to Optimize Circuit Topology Swarthmore College E77 VLSI Design Adem Kader David Luong Mark Piper December 6, 2005.
A Look at Chapter 4: Circuit Characterization and Performance Estimation Knowing the source of delays in CMOS gates and being able to estimate them efficiently.
Combinational circuits Lection 6
Introduction to CMOS VLSI Design Combinational Circuits.
S. Reda EN1600 SP’08 Design and Implementation of VLSI Systems (EN1600S08) Lecture12: Logical Effort (1/2) Prof. Sherief Reda Division of Engineering,
Introduction to CMOS VLSI Design Lecture 4: DC & Transient Response
S. Reda EN160 SP’07 Design and Implementation of VLSI Systems (EN0160) Lecture 11: Logical Effort (1/2) Prof. Sherief Reda Division of Engineering, Brown.
Introduction to CMOS VLSI Design Lecture 5: Logical Effort David Harris Harvey Mudd College Spring 2004.
Introduction to CMOS VLSI Design Lecture 4: DC & Transient Response Credits: David Harris Harvey Mudd College (Material taken/adapted from Harris’ lecture.
Logical Effort.
Prof. John Nestor ECE Department Lafayette College Easton, Pennsylvania ECE VLSI Circuit Design Lecture 13 - More about.
Lecture #24 Gates to circuits
S. Reda EN160 SP’07 Design and Implementation of VLSI Systems (EN0160) Lecture 22: Material Review Prof. Sherief Reda Division of Engineering, Brown University.
Outline Noise Margins Transient Analysis Delay Estimation
DC and transient responses Lezione 3
S. Reda EN160 SP’07 Design and Implementation of VLSI Systems (EN0160) Lecture10: Delay Estimation Prof. Sherief Reda Division of Engineering, Brown University.
1 MICROELETTRONICA Logical Effort and delay Lection 4.
CMOS VLSI Design4: DC and Transient ResponseSlide 1 EE466: VLSI Design Lecture 05: DC and transient response – CMOS Inverters.
Introduction to CMOS VLSI Design Lecture 5: Logical Effort
Lecture 4 – Logical Effort
EE141 © Digital Integrated Circuits 2nd Combinational Circuits 1 Logical Effort - sizing for speed.
Design and Implementation of VLSI Systems (EN0160)
EE4800 CMOS Digital IC Design & Analysis
Introduction to CMOS VLSI Design Lecture 4: DC & Transient Response Greco/Cin-UFPE (Material taken/adapted from Harris’ lecture notes)
EE 447 VLSI Design Lecture 5: Logical Effort. EE 447 VLSI Design 5: Logical Effort2 Outline Introduction Delay in a Logic Gate Multistage Logic Networks.
EE 447 VLSI Design 4: DC and Transient Response1 VLSI Design DC & Transient Response.
Z. Feng MTU EE4800 CMOS Digital IC Design & Analysis 5.1 EE4800 CMOS Digital IC Design & Analysis Lecture 5 Logic Effort Zhuo Feng.
The CMOS Inverter Slides adapted from:
EGRE 427 Advanced Digital Design Figures from Application-Specific Integrated Circuits, Michael John Sebastian Smith, Addison Wesley, 1997 Chapter 3 ASIC.
Z. Feng MTU EE4800 CMOS Digital IC Design & Analysis 10.1 EE4800 CMOS Digital IC Design & Analysis Lecture 10 Combinational Circuit Design Zhuo Feng.
MOS Inverter: Static Characteristics
1 Delay Estimation Most digital designs have multiple data paths some of which are not critical. The critical path is defined as the path the offers the.
Dec 2010Performance of CMOS Circuits 1 Instructed by Shmuel Wimer Eng. School, Bar-Ilan University Credits: David Harris Harvey Mudd College (Some material.
Review: CMOS Inverter: Dynamic
Elmore Delay, Logical Effort
Chapter 07 Electronic Analysis of CMOS Logic Gates
Logical Effort: optimal CMOS device sizing Albert Chun (M.A.Sc. Candidate) Ottawa-Carleton Institute for Electrical & Computer Engineering (OCIECE) Ottawa,
Introduction  Chip designers face a bewildering array of choices –What is the best circuit topology for a function? –How many stages of logic give least.
Optimal digital circuit design Mohammad Sharifkhani.
Logical Effort and Transistor Sizing Digital designs are usually expected to operate at high frequencies, thus designers often have to choose the fastest.
Lecture 6: Logical Effort
Introduction to CMOS VLSI Design Lecture 5: Logical Effort GRECO-CIn-UFPE Harvey Mudd College Spring 2004.
Introduction to CMOS VLSI Design Lecture 6: Logical Effort
Linear Delay Model In general the propagation delay of a gate can be written as: d = f + p –p is the delay due to intrinsic capacitance. –f is the effort.
Introduction to CMOS VLSI Design MOS devices: static and dynamic behavior.
EEC 118 Lecture #7: Designing with Logical Effort Rajeevan Amirtharajah University of California, Davis Jeff Parkhurst Intel Corporation.
Chapter 6 Copyright © 2004 The McGraw-Hill Companies, Inc. All rights reserved. High-Speed CMOS Logic Design.
EE141 © Digital Integrated Circuits 2nd Combinational Circuits 1 A few notes for your design  Finger and multiplier in schematic design  Parametric analysis.
EE415 VLSI Design. Read 4.1, 4.2 COMBINATIONAL LOGIC.
Modern VLSI Design 3e: Chapter 4 Copyright  1998, 2002 Prentice Hall PTR Topics n Transistor sizing: –Spice analysis. –Logical effort.
Circuit Delay Performance Estimation Most digital designs have multiple signal paths and the slowest one of these paths is called the critical path Timing.
Wujie Wen, Assistant Professor Department of ECE
COE 360 Principles of VLSI Design Delay. 2 Definitions.
CMOS VLSI Design Lecture 4: DC & Transient Response Younglok Kim Sogang University Fall 2006.
Introduction to CMOS VLSI Design Chapter 4 Delay
Lecture 6: Logical Effort
DC & Transient Response
Lecture 6: Logical Effort
Introduction to CMOS VLSI Design Lecture 5: Logical Effort
Estimating Delays Would be nice to have a “back of the envelope” method for sizing gates for speed Logical Effort Book by Sutherland, Sproull, Harris Chapter.
UNIT-II Stick Diagrams
Lecture 6: Logical Effort
Lecture 5: DC & Transient Response
Introduction to CMOS VLSI Design Lecture 4: DC & Transient Response
Presentation transcript:

Logic Gate Delay Modeling -1 Bishnu Prasad Das Research Scholar CEDT, IISc, Bangalore

OUTLINE Motivation Delay Model History Delay Definition Types of Models -RC delay Models -Logical Effort Limitation of Logical Effort Summary

Motivation Why Model is required? –For fast simulation –Solving differential equation is difficult –For creating optimal design –Real design will be always more costly and time consuming.So model is used to simulate the system before actual implementation.

Types of Models Physical Models –Based on Physical phenomena of device Empirical Models –Based on curve fitting ( i.e. Quadratic,Cubic etc.) –No physical significance. Table Models –Storing the data in a Lookup Table –Do interpolation between stored data

Delay Model History Courtesy : Synopsys

Delay Definitions t pdr : rising propagation delay –From input to rising output crossing V DD /2 t pdf : falling propagation delay –From input to falling output crossing V DD /2 t pd : average propagation delay –t pd = (t pdr + t pdf )/2 t r : rise slew –From output crossing 0.2 V DD to 0.8 V DD t f : fall slew –From output crossing 0.8 V DD to 0.2 V DD

t cdr : rising contamination delay –From input to rising output crossing V DD /2 t cdf : falling contamination delay –From input to falling output crossing V DD /2 t cd : average contamination delay –t pd = (t cdr + t cdf )/2 Delay Definitions

t pdr : rising propagation delay –From input to rising output crossing V DD /2 t pdf : falling propagation delay –From input to falling output crossing V DD /2 t pd : average propagation delay –t pd = (t pdr + t pdf )/2 t r : rise time –From output crossing 0.2 V DD to 0.8 V DD t f : fall time –From output crossing 0.8 V DD to 0.2 V DD Delay Definitions

t cdr : rising contamination delay –From input to rising output crossing V DD /2 t cdf : falling contamination delay –From input to falling output crossing V DD /2 t cd : average contamination delay –t pd = (t cdr + t cdf )/2 Delay Definitions

RC Delay Models Use equivalent circuits for MOS transistors –Ideal switch + capacitance and ON resistance –Unit nMOS has resistance R, capacitance C –Unit pMOS has resistance 2R, capacitance C Capacitance proportional to width Resistance inversely proportional to width

Example: 3-input NAND Sketch a 3-input NAND with transistor widths chosen to achieve effective rise and fall resistances equal to a unit inverter (R).

Example: 3-input NAND

Sketch a 3-input NAND with transistor widths chosen to achieve effective rise and fall resistances equal to a unit inverter (R).

3-input NAND Caps Annotate the 3-input NAND gate with gate and diffusion capacitance.

3-input NAND Caps Annotate the 3-input NAND gate with gate and diffusion capacitance.

3-input NAND Caps Annotate the 3-input NAND gate with gate and diffusion capacitance.

Elmore Delay ON transistors look like resistors Pullup or pulldown network modeled as RC ladder Elmore delay of RC ladder

Example: 2-input NAND Estimate worst-case rising and falling delay of 2-input NAND driving h identical gates.

Example: 2-input NAND Estimate worst-case rising and falling delay of 2-input NAND driving h identical gates.

Example: 2-input NAND Estimate rising and falling propagation delays of a 2-input NAND driving h identical gates.

Example: 2-input NAND Estimate rising and falling propagation delays of a 2-input NAND driving h identical gates.

Example: 2-input NAND Estimate rising and falling propagation delays of a 2-input NAND driving h identical gates.

Example: 2-input NAND Estimate rising and falling propagation delays of a 2-input NAND driving h identical gates.

Delay Components Delay has two parts –Parasitic delay 6 or 7 RC Independent of load –Effort delay 4h RC Proportional to load capacitance

Contamination Delay Best-case (contamination) delay can be substantially less than propagation delay. Ex: If both inputs fall simultaneously

Layout Comparison Which layout is better?

Delay in a Logic Gate Express delays in process-independent unit Delay has two components f is due to external loading p is due to self loading τ = 3RC = FO1 delay without parasitic delay

Delay in a Logic Gate Express delays in process-independent unit Delay has two components Effort delay f = gh (a.k.a. stage effort) –Again has two components τ = 3RC = FO1 delay without parasitic delay

Delay in a Logic Gate Express delays in process-independent unit Delay has two components Effort delay f = gh (a.k.a. stage effort) –Again has two components g: logical effort –Measures relative ability of gate to deliver current –g 1 for inverter τ = 3RC = FO1 delay without parasitic delay

Delay in a Logic Gate Express delays in process-independent unit Delay has two components Effort delay f = gh (a.k.a. stage effort) –Again has two components h: electrical effort = C out / C in –Ratio of output to input capacitance –Sometimes called fanout τ = 3RC = FO1 delay without parasitic delay

Delay in a Logic Gate Express delays in process-independent unit Delay has two components Parasitic delay p –Represents delay of gate driving no load –Set by internal parasitic capacitance τ = 3RC = FO1 delay without parasitic delay

Effort Delay Logical Effort g = C ingate /C in_unit_inv Electrical Effort h= C out / C ingate f = g*h = (C ingate /C in_unit_inv )*(C out / C ingate ) = (C out / C in_unit_inv ) (D actual ) ext = g*h * τ = (C out / C in_unit_inv )*3*R*C = (C out / C in_unit_inv )*R*C in_unit_inv = C out *R

Computing Logical Effort DEF: Logical effort is the ratio of the input capacitance of a gate to the input capacitance of an inverter delivering the same output current. Measure from delay vs. fanout plots Or estimate by counting transistor widths

Catalog of Gates Gate typeNumber of inputs 1234n Inverter1 NAND4/35/36/3(n+2)/3 NOR5/37/39/3(2n+1)/3 Tristate / mux22222 XOR, XNOR4, 46, 12, 68, 16, 16, 8 Logical effort of common gates

Catalog of Gates Gate typeNumber of inputs 1234n Inverter1 NAND234n NOR234n Tristate / mux24682n XOR, XNOR468 Parasitic delay of common gates –In multiples of p inv ( 1)

Delay Plots d = f + p = gh + p

Delay Plots d = f + p = gh + p What about NOR2?

Example: Ring Oscillator Estimate the frequency of an N-stage ring oscillator Logical Effort: g = Electrical Effort: h = Parasitic Delay: p = Stage Delay:d = Frequency:f osc =

Example: Ring Oscillator Estimate the frequency of an N-stage ring oscillator Logical Effort: g = 1 Electrical Effort: h = 1 Parasitic Delay: p = 1 Stage Delay:d = 2 Frequency:f osc = 1/(2*N*d) = 1/4N

Example: FO4 Inverter Estimate the delay of a fanout-of-4 (FO4) inverter Logical Effort: g = Electrical Effort:h = Parasitic Delay: p = Stage Delay:d =

Example: FO4 Inverter Estimate the delay of a fanout-of-4 (FO4) inverter Logical Effort: g = 1 Electrical Effort: h = 4 Parasitic Delay: p = 1 Stage Delay:d = 5 The FO4 delay is about 200 ps in 0.6 m process 60 ps in a 180 nm process f/3 ns in an f m process

Multistage Logic Networks

Limits of Logical Effort Chicken and egg problem –Need path to compute G –But dont know number of stages without G Simplistic delay model –Neglects input rise time effects Interconnect –Iteration required in designs with wire Maximum speed only –Not minimum area/power for constrained delay

Summary RC Delay Model Delay measurement using Logical Effort Method Gate sizing using Logical Effort for minimum delay Limitations of Logical Effort

Reference N. H. E. Weste and D. Harris, CMOS VLSI Design, A circuits and Systems Perspective 3 rd edition Pearson Addison Wesley Rabaey, Chandrakasan and Nikolic, Digital Integrated Circuits, a Design Perspective, Pearson Education