Dec 2010Performance of CMOS Circuits 1 Instructed by Shmuel Wimer Eng. School, Bar-Ilan University Credits: David Harris Harvey Mudd College (Some material.

Slides:



Advertisements
Similar presentations
Design and Implementation of VLSI Systems (EN1600)
Advertisements

Logic Gate Delay Modeling -1 Bishnu Prasad Das Research Scholar CEDT, IISc, Bangalore
DC Response DC Response: Vout vs. Vin for a gate Ex: Inverter
Lecture 5: DC & Transient Response
CMOS Family.
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.
Introduction to CMOS VLSI Design Lecture 15: Nonideal Transistors David Harris Harvey Mudd College Spring 2004.
Introduction to CMOS VLSI Design Lecture 19: Nonideal Transistors
Introduction to CMOS VLSI Design Lecture 3: CMOS Transistor Theory David Harris Harvey Mudd College Spring 2004.
CMOS Transistor and Circuits
Introduction to CMOS VLSI Design Lecture 5 CMOS Transistor Theory
VLSI Design CMOS Transistor Theory. EE 447 VLSI Design 3: CMOS Transistor Theory2 Outline Introduction MOS Capacitor nMOS I-V Characteristics pMOS I-V.
Introduction to CMOS VLSI Design Lecture 18: Design for Low Power David Harris Harvey Mudd College Spring 2004.
Design and Implementation of VLSI Systems (EN0160) Prof. Sherief Reda Division of Engineering, Brown University Spring 2007 [sources: Weste/Addison Wesley.
Lecture 11: MOS Transistor
S. Reda EN160 SP’08 Design and Implementation of VLSI Systems (EN1600) Lecture 14: Power Dissipation Prof. Sherief Reda Division of Engineering, Brown.
Lecture #26 Gate delays, MOS logic
Introduction to CMOS VLSI Design Lecture 4: DC & Transient Response
11/5/2004EE 42 fall 2004 lecture 281 Lecture #28 PMOS LAST TIME: NMOS Electrical Model – NMOS physical structure: W and L and d ox, TODAY: PMOS –Physical.
Introduction to CMOS VLSI Design Lecture 4: DC & Transient Response Credits: David Harris Harvey Mudd College (Material taken/adapted from Harris’ lecture.
Lecture #24 Gates to circuits
Introduction to CMOS VLSI Design Lecture 3: CMOS Transistor Theory
CSCE 612: VLSI System Design Instructor: Jason D. Bakos.
11/3/2004EE 42 fall 2004 lecture 271 Lecture #27 MOS LAST TIME: NMOS Electrical Model – Describing the I-V Characteristics – Evaluating the effective resistance.
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.
S. Reda EN160 SP’07 Design and Implementation of VLSI Systems (EN0160) Lecture 13: Power Dissipation Prof. Sherief Reda Division of Engineering, Brown.
EE4800 CMOS Digital IC Design & Analysis
CMOS VLSI Design4: DC and Transient ResponseSlide 1 EE466: VLSI Design Lecture 05: DC and transient response – CMOS Inverters.
Lecture 5 – Power Prof. Luke Theogarajan
Introduction to CMOS VLSI Design Nonideal Transistors.
EE4800 CMOS Digital IC Design & Analysis
Lecture 7: Power.
Lecture 2: CMOS Transistor Theory
Lecture 7: Power.
Introduction to CMOS VLSI Design Lecture 4: DC & Transient Response Greco/Cin-UFPE (Material taken/adapted from Harris’ lecture notes)
EE 447 VLSI Design 4: DC and Transient Response1 VLSI Design DC & Transient Response.
Lecture 21, Slide 1EECS40, Fall 2004Prof. White Lecture #21 OUTLINE –Sequential logic circuits –Fan-out –Propagation delay –CMOS power consumption Reading:
© Digital Integrated Circuits 2nd Devices VLSI Devices  Intuitive understanding of device operation  Fundamental analytic models  Manual Models  Spice.
The CMOS Inverter Slides adapted from:
MOS Inverter: Static Characteristics
Lecture 3: CMOS Transistor Theory
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.
1 Slides adapted from: N. Weste, D. Harris, CMOS VLSI Design, © Addison-Wesley, 3/e, 2004 MOS Transistor Theory.
CSCE 613: Fundamentals of VLSI Chip Design Instructor: Jason D. Bakos.
Introduction to CMOS VLSI Design Lecture 6: Logical Effort
Introduction to CMOS VLSI Design MOS devices: static and dynamic behavior.
CMOS VLSI Design CMOS Transistor Theory
Introduction to CMOS VLSI Design Lecture 4: CMOS Transistor Theory David Harris Harvey Mudd College Spring 2007.
FPGA-Based System Design: Chapter 2 Copyright  2004 Prentice Hall PTR Topics n Logic gate delay. n Logic gate power consumption. n Driving large loads.
Solid-State Devices & Circuits
Z. Feng MTU EE4800 CMOS Digital IC Design & Analysis 6.1 EE4800 CMOS Digital IC Design & Analysis Lecture 6 Power Zhuo Feng.
Circuit Delay Performance Estimation Most digital designs have multiple signal paths and the slowest one of these paths is called the critical path Timing.
Introduction to CMOS VLSI Design CMOS Transistor Theory
Wujie Wen, Assistant Professor Department of ECE
CMOS VLSI Design 4th Ed. EEL 6167: VLSI Design Wujie Wen, Assistant Professor Department of ECE Lecture 3A: CMOs Transistor Theory Slides adapted from.
COE 360 Principles of VLSI Design Delay. 2 Definitions.
CMOS VLSI Design Lecture 4: DC & Transient Response Younglok Kim Sogang University Fall 2006.
October 10, 2017 Kjell Jeppson, Lena Peterson Chapter 5 Power in W & H
332:479 Concepts in VLSI Design Lecture 24 Power Estimation
DC & Transient Response
Introduction to CMOS VLSI Design Lecture 5: DC & Transient Response
UNIT-II Stick Diagrams
Lecture 7: Power.
CP-406 VLSI System Design CMOS Transistor Theory
Lecture 5: DC & Transient Response
Lecture 7: Power.
Introduction to CMOS VLSI Design Lecture 4: DC & Transient Response
Presentation transcript:

Dec 2010Performance of CMOS Circuits 1 Instructed by Shmuel Wimer Eng. School, Bar-Ilan University Credits: David Harris Harvey Mudd College (Some material copied/taken/adapted from Harris’ lecture notes)

Dec 2010Performance of CMOS Circuits 2 Outline  Gate and Diffusion Capacitance  RC Delay Models  Power and Energy  Dynamic Power  Static Power  Low Power Design

Dec 2010Performance of CMOS Circuits 3 MOSFET Capacitance gate to substrate gate to source gate to drain

Dec 2010Performance of CMOS Circuits 4  Any two conductors separated by an insulator have capacitance  Gate to channel capacitor is very important –Creates channel charge necessary for operation  Source and drain have capacitance to body –Across reverse-biased diodes –Called diffusion capacitance because it is associated with source/drain diffusion

Dec 2010Performance of CMOS Circuits 5 Gate Capacitance  Approximate channel as connected to source  C gs =  ox WL/t ox = C ox WL = C permicron W  C permicron is typically about 2 fF/  m

Dec 2010Performance of CMOS Circuits 6 Accumulation occurs when Vg is negative (for P material). Holes are induced under the oxide. C gate = C ox A where C ox =  SiO2  o/t ox

Dec 2010Performance of CMOS Circuits 7 Depletion occurs when V g is near zero but < V tn. Here the C gate is given by C ox A in series with depletion layer capacitance C dep

Dec 2010Performance of CMOS Circuits 8 Inversion occurs when V g is positive and > V tn (for P material). A model for inversion in comprised of C ox A connecting from gate- to-channel and C dep connecting from channel-to-substrate.

Dec 2010Performance of CMOS Circuits 9 Normalized gate capacitance versus Gate voltage V gs. High freq behavior is due to the distributed resistance of channel

Dec 2010Performance of CMOS Circuits 10 Normalized Experimental MOS Gate Capacitance Measurements vs V ds, V gs For V ds = 0, the total gate capacitance C ox A splits equally to the drain and source of the transistor.

Dec 2010Performance of CMOS Circuits 11 For V ds > 0, the gate capacitance tilts more toward the source and becomes roughly 2/3 C ox A to the source and 0 to the drain for high V ds.

Dec 2010Performance of CMOS Circuits 12 Higher V gs – V t forces this tilting to occur later, since the device is linear up to V gs – V t = V ds.

Dec 2010Performance of CMOS Circuits 13 MOS Transistor Gate Capacitance Model Gate capacitance has different components in different modes, but total remains constant.

Dec 2010Performance of CMOS Circuits 14 Gate capacitance has different components in different modes, but total remains constant.

Dec 2010Performance of CMOS Circuits 15 Diffusion Capacitance  C sb, C db  Undesirable, called parasitic capacitance  Capacitance depends on area and perimeter –Use small diffusion nodes –Comparable to C g for contacted diff –½ C g for uncontacted –Varies with process

Dec 2010Performance of CMOS Circuits 16 Diffusion Capacitance (Cont’d) best worst

Dec 2010Performance of CMOS Circuits 17 Effective Resistance  Shockley models have limited value –Not accurate enough for modern transistors –Too complicated for much hand analysis  Simplification: treat transistor as resistor –Replace I ds (V ds, V gs ) with effective resistance R I ds = V ds /R –R averaged across switching of digital gate  Too inaccurate to predict current at any given time –But good enough to predict RC delay

Dec 2010Performance of CMOS Circuits 18 RC Delay Model  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 kg s d g s d kC R/k kg s d g s d 2R/k

Dec 2010Performance of CMOS Circuits 19 RC Values  Capacitance –C = C g = C s = C d = 2 fF/  m of gate width –Values similar across many processes  Resistance –R  6 K  *  m in 0.6um process –Improves with shorter channel lengths  Unit transistors –May refer to minimum contacted device (4/2 ) –Or maybe 1  m wide device –Doesn’t matter as long as you are consistent

Dec 2010Performance of CMOS Circuits 20 Inverter Delay Estimate  Estimate the delay of a fanout-of-1 inverter d = 6RC C 2C C 2C R C C R 2C 2C R C 2C Y 2 1 A Y 2 1

Dec 2010Performance of CMOS Circuits 21 Transient Response  DC analysis tells us V out if V in is constant  Transient analysis tells us V out (t) if V in (t) changes –Requires solving differential equations  Input is usually considered to be a step or ramp –From 0 to V DD or vice versa

Dec 2010Performance of CMOS Circuits 22 Inverter Step Response  Ex: find step response of inverter driving load cap V in (t) V out (t) C load I dsn (t)

Dec 2010Performance of CMOS Circuits 23 Inverter Step Response  Ex: find step response of inverter driving load cap V in (t) V out (t) C load I dsn (t) V out (t) V in (t) t 0 t

Dec 2010Performance of CMOS Circuits 24 Delay Definitions rising delay falling delay high to low propagation delay low to high propagation delay

Dec 2010Performance of CMOS Circuits 25

Dec 2010Performance of CMOS Circuits 26 Delay Definitions (Cont’d)  t pdr : rising propagation delay –Maximum time from input crossing 50% to rising output crossing 50%  t pdf : falling propagation delay –Maximum time from input crossing 50% to falling output crossing 50%  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

Dec 2010Performance of CMOS Circuits 27 Delay Definitions (Cont’d)  t f : fall time –From output crossing 0.8 V DD to 0.2 V DD  t cdr : rising contamination delay –Minimum time from input crossing 50% to rising output crossing 50%  t cdf : falling contamination delay –Minimum time from input crossing 50% to falling output crossing 50%  t cd : average contamination delay –t cd = (t cdr + t cdf )/2

Dec 2010Performance of CMOS Circuits 28 Simulated Inverter Delay  Solving differential equations by hand is too hard  SPICE simulator solves the equations numerically –Uses more accurate I-V models too!  But simulations take time to write

Dec 2010Performance of CMOS Circuits 29 Delay Estimation  We would like to be able to easily estimate delay –Not as accurate as simulation –But easier to ask “What if?”  The step response usually looks like a 1 st order RC response with a decaying exponential.  Use RC delay models to estimate delay –C = total capacitance on output node –Use effective resistance R –So that t pd = RC  Characterize transistors by finding their effective R –Depends on average current as gate switches

Dec 2010Performance of CMOS Circuits 30 RC Delay Model  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 kg s d g s d kC R/k kg s d g s d 2R/k

Dec 2010Performance of CMOS Circuits 31 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) In worst case of P only one device is opened all N devices must be opened.

Dec 2010Performance of CMOS Circuits 32 3-input NAND Caps  Annotate the 3-input NAND gate with gate and diffusion capacitance. 2C 3C

Dec 2010Performance of CMOS Circuits 33 3-input NAND Caps (Cont’d)  Annotate the 3-input NAND gate with gate and diffusion capacitance.

Dec 2010Performance of CMOS Circuits 34 Elmore Delay  ON transistors look like resistors  Pullup or pulldown network modeled as RC ladder  Elmore delay of RC ladder R 1 R 2 R 3 R N C 1 C 2 C 3 C N

Dec 2010Performance of CMOS Circuits 35 For a step input Vin, the delay at any node can be estimated with the Elmore delay equation t Di =  C j  R k For example, the Elmore delay at node 7 is give by: R1 ( C1 + C2 + C3 + C4 + C5+ C6+ C7 + C8 ) + R6 ( C6+ C7+ C8 )+ R7 ( C7 + C8)

Dec 2010Performance of CMOS Circuits 36

Dec 2010Performance of CMOS Circuits 37

Dec 2010Performance of CMOS Circuits 38

Dec 2010Performance of CMOS Circuits 39 Example: 2-input NAND  Estimate rising and falling propagation delays of a 2- input NAND driving h identical gates. 6C 2C hC B A x Y h copies R (6+4h)C Y

Dec 2010Performance of CMOS Circuits 40 Example: 2-input NAND  Estimate rising and falling propagation delays of a 2-input NAND driving h identical gates. 6C 2C hC B A x Y h copies (6+4h)C2C R/2 x Y

Dec 2010Performance of CMOS Circuits 41 Delay Components  Delay has two parts –Parasitic delay 6 or 7 RC Independent of load –Effort delay 4h RC Proportional to load capacitance

Dec 2010Performance of CMOS Circuits 42 Contamination Delay  Best-case (contamination) delay can be substantially less than propagation delay.  Ex: If both inputs fall simultaneously

Dec 2010Performance of CMOS Circuits 43 Diffusion Capacitance  we assumed contacted diffusion on every s / d  Good layout minimizes diffusion area  Ex: NAND3 layout shares one diffusion contact –Reduces output capacitance by 2C –Merged uncontacted diffusion might help too 7C 3C C 3C Isolated Contacted Diffusion Merged Uncontacted Diffusion Shared Contacted Diffusion

Dec 2010Performance of CMOS Circuits 44 Layout Comparison  Layout representation by stick diagram. What CKT?  Which layout is better?

Dec 2010Performance of CMOS Circuits 45  Power is drawn from a voltage source attached to the V DD pin(s) of a chip.  Instantaneous Power:  Energy:  Average Power: Power and Energy

Dec 2010Performance of CMOS Circuits 46 Dynamic Power  Dynamic power is required to charge and discharge load capacitances when transistors switch  One cycle involves a rising and falling output  On rising output, charge Q = CV DD is required  On falling output, charge is dumped to GND  This repeats Tf sw times over an interval of T C f sw i DD (t) VDD

Dec 2010Performance of CMOS Circuits 47 C f sw i DD (t) VDD

Dec 2010Performance of CMOS Circuits 48 Activity Factor  Suppose the system clock frequency = f  Let f sw =  f, where  = activity factor –If the signal is a clock,  = 1 –If the signal switches once per cycle,  = ½ –Static gates: Depends on design, but typically  = 0.1 –Dynamic gates: Switch either 0 or 2 times per cycle,  = ½  Dynamic power:

Dec 2010Performance of CMOS Circuits 49 Short Circuit Current  When transistors switch, both nMOS and pMOS networks may be momentarily ON at once  Leads to a blip of “short circuit” current.  < 10% of dynamic power if rise/fall times are comparable for input and output

Dec 2010Performance of CMOS Circuits 50 Power Dissipation Sources  P total = P dynamic + P static  Dynamic power: P dynamic = P switching + P shortcircuit –Switching load capacitances –Short-circuit current  Static power: P static = (I sub + I gate + I junct + I contention )V DD –Sub-threshold leakage –Gate leakage –Junction leakage –Contention current

Dec 2010Performance of CMOS Circuits 51 Dynamic Power Example  1 billion transistor chip –50M logic transistors Average width: 12 Activity factor = 0.1 –950M memory transistors Average width: 4 Activity factor = 0.02 –1.0 V 65 nm process –C = 1 fF/  m (gate) fF/  m (diffusion)  Estimate dynamic power 1 GHz. Neglect wire capacitance and short-circuit current.

Dec 2010Performance of CMOS Circuits 52 Power Estimate Ex (Cont’d)

Dec 2010Performance of CMOS Circuits 53 Dynamic Power Reduction   Try to minimize: –Activity factor –Capacitance –Supply voltage –Frequency

Dec 2010Performance of CMOS Circuits 54 Activity Factor Estimation  Let P i = Prob(node i = 1)   i = P i *(1- P i )  Completely random data has P = 0.5 and  = 0.25  Data is often not completely random –e.g. upper bits of 64-bit words representing bank account balances are usually 0  Data propagating through ANDs and ORs has lower activity factor –Depends on design, but typically  ≈ 0.1

Dec 2010Performance of CMOS Circuits 55 Switching Probability

Dec 2010Performance of CMOS Circuits 56 Example  A 4-input AND is built out of two levels of gates  Estimate the activity factor at each node if the inputs have P = 0.5

Dec 2010Performance of CMOS Circuits 57 Clock Gating  The best way to reduce the activity is to turn off the clock to registers in unused blocks –Saves clock activity (  = 1) –Eliminates all switching activity in the block –Requires determining if block will be used

Dec 2010Performance of CMOS Circuits 58 Capacitance  Gate capacitance –Fewer stages of logic –Small gate sizes  Wire capacitance –Good floorplanning to keep communicating blocks close to each other –Drive long wires with inverters or buffers rather than complex gates

Dec 2010Performance of CMOS Circuits 59 Voltage / Frequency  Run each block at the lowest possible voltage and frequency that meets performance requirements  Voltage Domains –Provide separate supplies to different blocks –Level converters required when crossing from low to high V DD domains  Dynamic Voltage Scaling –Adjust V DD and f according to workload

Dec 2010Performance of CMOS Circuits 60 Static Power  Static power is consumed even when chip is quiescent –Ratioed circuits burn power in fight between ON transistors. Occurs when output is low (0). –Leakage draws power from nominally OFF devices

Dec 2010Performance of CMOS Circuits 61 Static Power Example  Revisit power estimation for 1 billion transistor chip  Estimate static power consumption –Subthreshold leakage Normal V t : 100 nA/  m High V t : 10 nA/  m High V t used in all memories and in 95% of logic gates –Gate leakage5 nA/  m –Junction leakagenegligible

Dec 2010Performance of CMOS Circuits 62 Solution

Leakage Control  Leakage and delay trade off –Aim for low leakage in sleep and low delay in active mode  To reduce leakage: –Increase V t : multiple V t Use low V t only in critical circuits –Increase V s : stack effect Input vector control in sleep –Decrease V b Reverse body bias in sleep Or forward body bias in active mode Dec 2010Performance of CMOS Circuits 63

Dec 2010Performance of CMOS Circuits 64 Gate Leakage  Extremely strong function of t ox and V gs –Negligible for older processes –Approaches subthreshold leakage at 65 nm and below in some processes  An order of magnitude less for pMOS than nMOS  Control leakage in the process using t ox > 10.5 Å –High-k gate dielectrics help –Some processes provide multiple t ox e.g. thicker oxide for 3.3 V I/O transistors  Control leakage in circuits by limiting V DD

Power Gating  Turn OFF power to blocks when they are idle to save leakage –Use virtual V DD (V DDV ) –Gate outputs to prevent invalid logic levels to next block  Voltage drop across sleep transistor degrades performance during normal operation –Size the transistor wide enough to minimize impact  Switching wide sleep transistor costs dynamic power –Only justified when circuit sleeps long enough Dec 2010Performance of CMOS Circuits 65

Dec 2010Performance of CMOS Circuits 66 Low Power Design  Reduce dynamic power –  : clock gating, sleep mode –C: small transistors (esp. on clock), short wires –V DD : lowest suitable voltage –f: lowest suitable frequency  Reduce static power –Selectively use ratioed circuits –Selectively use low V t devices –Leakage reduction: stacked devices, body bias, low temperature