Lecture 5 DC Transient Response 5 DC and

  • Slides: 36
Download presentation
Lecture 5: DC & Transient Response 5: DC and Transient Response 1

Lecture 5: DC & Transient Response 5: DC and Transient Response 1

Outline q q q Pass Transistors DC Response Logic Levels and Noise Margins Transient

Outline q q q Pass Transistors DC Response Logic Levels and Noise Margins Transient Response RC Delay Models Delay Estimation 5: DC and Transient Response CMOS VLSI Design 4 th Ed. 2

Pass Transistors q We have assumed source is grounded q What if source >

Pass Transistors q We have assumed source is grounded q What if source > 0? – e. g. pass transistor passing VDD q Vg = VDD – If Vs > VDD-Vt, Vgs < Vt – Hence transistor would turn itself off q n. MOS pass transistors pull no higher than VDD-Vtn – Called a degraded “ 1” – Approach degraded value slowly (low Ids) q p. MOS pass transistors pull no lower than Vtp q Transmission gates are needed to pass both 0 and 1 5: DC and Transient Response CMOS VLSI Design 4 th Ed. 3

Pass Transistor Ckts 5: DC and Transient Response CMOS VLSI Design 4 th Ed.

Pass Transistor Ckts 5: DC and Transient Response CMOS VLSI Design 4 th Ed. 4

DC Response q DC Response: Vout vs. Vin for a gate q Ex: Inverter

DC Response q DC Response: Vout vs. Vin for a gate q Ex: Inverter – When Vin = 0 -> Vout = VDD – When Vin = VDD -> Vout = 0 – In between, Vout depends on transistor size and current – By KCL, must settle such that Idsn = |Idsp| – We could solve equations – But graphical solution gives more insight 5: DC and Transient Response CMOS VLSI Design 4 th Ed. 5

Transistor Operation q Current depends on region of transistor behavior q For what Vin

Transistor Operation q Current depends on region of transistor behavior q For what Vin and Vout are n. MOS and p. MOS in – Cutoff? – Linear? – Saturation? 5: DC and Transient Response CMOS VLSI Design 4 th Ed. 6

n. MOS Operation Cutoff Vgsn < Vtn Vin < Vtn Linear Vgsn > Vtn

n. MOS Operation Cutoff Vgsn < Vtn Vin < Vtn Linear Vgsn > Vtn Vin > Vtn Vdsn < Vgsn – Vtn Vout < Vin - Vtn Saturated Vgsn > Vtn Vin > Vtn Vdsn > Vgsn – Vtn Vout > Vin - Vtn Vgsn = Vin Vdsn = Vout 5: DC and Transient Response CMOS VLSI Design 4 th Ed. 7

p. MOS Operation Cutoff Vgsp > Vtp Vin > VDD + Vtp Linear Vgsp

p. MOS Operation Cutoff Vgsp > Vtp Vin > VDD + Vtp Linear Vgsp < Vtp Vin < VDD + Vtp Vdsp > Vgsp – Vtp Vout > Vin - Vtp Vgsp = Vin - VDD Vtp < 0 Saturated Vgsp < Vtp Vin < VDD + Vtp Vdsp < Vgsp – Vtp Vout < Vin - Vtp Vdsp = Vout - VDD 5: DC and Transient Response CMOS VLSI Design 4 th Ed. 8

I-V Characteristics q Make p. MOS is wider than n. MOS such that bn

I-V Characteristics q Make p. MOS is wider than n. MOS such that bn = bp 5: DC and Transient Response CMOS VLSI Design 4 th Ed. 9

Current vs. Vout, Vin 5: DC and Transient Response CMOS VLSI Design 4 th

Current vs. Vout, Vin 5: DC and Transient Response CMOS VLSI Design 4 th Ed. 10

Load Line Analysis q For a given Vin: – Plot Idsn, Idsp vs. Vout

Load Line Analysis q For a given Vin: – Plot Idsn, Idsp vs. Vout – Vout must be where |currents| are equal in 5: DC and Transient Response CMOS VLSI Design 4 th Ed. 11

Load Line Analysis 0. 4 V 0. 6 V 0. 8 V. 2 V

Load Line Analysis 0. 4 V 0. 6 V 0. 8 V. 2 V q Vin = 0 V DD DD DD 5: DC and Transient Response CMOS VLSI Design 4 th Ed. 12

DC Transfer Curve q Transcribe points onto Vin vs. Vout plot 5: DC and

DC Transfer Curve q Transcribe points onto Vin vs. Vout plot 5: DC and Transient Response CMOS VLSI Design 4 th Ed. 13

Operating Regions q Revisit transistor operating regions Region n. MOS p. MOS A Cutoff

Operating Regions q Revisit transistor operating regions Region n. MOS p. MOS A Cutoff Linear B Saturation Linear C Saturation D Linear Saturation E Linear Cutoff 5: DC and Transient Response CMOS VLSI Design 4 th Ed. 14

Beta Ratio q If bp / bn 1, switching point will move from VDD/2

Beta Ratio q If bp / bn 1, switching point will move from VDD/2 q Called skewed gate q Other gates: collapse into equivalent inverter 5: DC and Transient Response CMOS VLSI Design 4 th Ed. 15

Noise Margins q How much noise can a gate input see before it does

Noise Margins q How much noise can a gate input see before it does not recognize the input? 5: DC and Transient Response CMOS VLSI Design 4 th Ed. 16

Logic Levels q To maximize noise margins, select logic levels at – unity gain

Logic Levels q To maximize noise margins, select logic levels at – unity gain point of DC transfer characteristic 5: DC and Transient Response CMOS VLSI Design 4 th Ed. 17

Transient Response q DC analysis tells us Vout if Vin is constant q Transient

Transient Response q DC analysis tells us Vout if Vin is constant q Transient analysis tells us Vout(t) if Vin(t) changes – Requires solving differential equations q Input is usually considered to be a step or ramp – From 0 to VDD or vice versa 5: DC and Transient Response CMOS VLSI Design 4 th Ed. 18

Inverter Step Response q Ex: find step response of inverter driving load cap 5:

Inverter Step Response q Ex: find step response of inverter driving load cap 5: DC and Transient Response CMOS VLSI Design 4 th Ed. 19

Delay Definitions q tpdr: rising propagation delay – From input to rising output crossing

Delay Definitions q tpdr: rising propagation delay – From input to rising output crossing VDD/2 q tpdf: falling propagation delay – From input to falling output crossing VDD/2 q tpd: average propagation delay – tpd = (tpdr + tpdf)/2 q tr: rise time – From output crossing 0. 2 VDD to 0. 8 VDD q tf: fall time – From output crossing 0. 8 VDD to 0. 2 VDD 5: DC and Transient Response CMOS VLSI Design 4 th Ed. 20

Delay Definitions q tcdr: rising contamination delay – From input to rising output crossing

Delay Definitions q tcdr: rising contamination delay – From input to rising output crossing VDD/2 q tcdf: falling contamination delay – From input to falling output crossing VDD/2 q tcd: average contamination delay – tpd = (tcdr + tcdf)/2 5: DC and Transient Response CMOS VLSI Design 4 th Ed. 21

Simulated Inverter Delay q Solving differential equations by hand is too hard q SPICE

Simulated Inverter Delay q Solving differential equations by hand is too hard q SPICE simulator solves the equations numerically – Uses more accurate I-V models too! q But simulations take time to write, may hide insight 5: DC and Transient Response CMOS VLSI Design 4 th Ed. 22

Delay Estimation q We would like to be able to easily estimate delay –

Delay Estimation q We would like to be able to easily estimate delay – Not as accurate as simulation – But easier to ask “What if? ” q The step response usually looks like a 1 st order RC response with a decaying exponential. q Use RC delay models to estimate delay – C = total capacitance on output node – Use effective resistance R – So that tpd = RC q Characterize transistors by finding their effective R – Depends on average current as gate switches 5: DC and Transient Response CMOS VLSI Design 4 th Ed. 23

Effective Resistance q Shockley models have limited value – Not accurate enough for modern

Effective Resistance q Shockley models have limited value – Not accurate enough for modern transistors – Too complicated for much hand analysis q Simplification: treat transistor as resistor – Replace Ids(Vds, Vgs) with effective resistance R • Ids = Vds/R – R averaged across switching of digital gate q Too inaccurate to predict current at any given time – But good enough to predict RC delay 5: DC and Transient Response CMOS VLSI Design 4 th Ed. 24

RC Delay Model q Use equivalent circuits for MOS transistors – Ideal switch +

RC Delay Model q Use equivalent circuits for MOS transistors – Ideal switch + capacitance and ON resistance – Unit n. MOS has resistance R, capacitance C – Unit p. MOS has resistance 2 R, capacitance C q Capacitance proportional to width q Resistance inversely proportional to width 5: DC and Transient Response CMOS VLSI Design 4 th Ed. 25

RC Values q Capacitance – C = Cg = Cs = Cd = 2

RC Values q Capacitance – C = Cg = Cs = Cd = 2 f. F/mm of gate width in 0. 6 mm – Gradually decline to 1 f. F/mm in nanometer techs. q Resistance – R 6 KW*mm in 0. 6 mm process – Improves with shorter channel lengths q Unit transistors – May refer to minimum contacted device (4/2 l) – Or maybe 1 mm wide device – Doesn’t matter as long as you are consistent 5: DC and Transient Response CMOS VLSI Design 4 th Ed. 26

Inverter Delay Estimate q Estimate the delay of a fanout-of-1 inverter d = 6

Inverter Delay Estimate q Estimate the delay of a fanout-of-1 inverter d = 6 RC 5: DC and Transient Response CMOS VLSI Design 4 th Ed. 27

Delay Model Comparison 5: DC and Transient Response CMOS VLSI Design 4 th Ed.

Delay Model Comparison 5: DC and Transient Response CMOS VLSI Design 4 th Ed. 28

Example: 3 -input NAND q Sketch a 3 -input NAND with transistor widths chosen

Example: 3 -input NAND q Sketch a 3 -input NAND with transistor widths chosen to achieve effective rise and fall resistances equal to a unit inverter (R). 2 2 2 3 3 3 5: DC and Transient Response CMOS VLSI Design 4 th Ed. 29

3 -input NAND Caps q Annotate the 3 -input NAND gate with gate and

3 -input NAND Caps q Annotate the 3 -input NAND gate with gate and diffusion capacitance. 5: DC and Transient Response CMOS VLSI Design 4 th Ed. 30

Elmore Delay q ON transistors look like resistors q Pullup or pulldown network modeled

Elmore Delay q ON transistors look like resistors q Pullup or pulldown network modeled as RC ladder q Elmore delay of RC ladder 5: DC and Transient Response CMOS VLSI Design 4 th Ed. 31

Example: 3 -input NAND q Estimate worst-case rising and falling delay of 3 -input

Example: 3 -input NAND q Estimate worst-case rising and falling delay of 3 -input NAND driving h identical gates. 5: DC and Transient Response CMOS VLSI Design 4 th Ed. 32

Delay Components q Delay has two parts – Parasitic delay • 9 or 11

Delay Components q Delay has two parts – Parasitic delay • 9 or 11 RC • Independent of load – Effort delay • 5 h RC • Proportional to load capacitance 5: DC and Transient Response CMOS VLSI Design 4 th Ed. 33

Contamination Delay q Best-case (contamination) delay can be substantially less than propagation delay. q

Contamination Delay q Best-case (contamination) delay can be substantially less than propagation delay. q Ex: If all three inputs fall simultaneously 5: DC and Transient Response CMOS VLSI Design 4 th Ed. 34

Diffusion Capacitance q We assumed contacted diffusion on every s / d. q Good

Diffusion Capacitance q We assumed contacted diffusion on every s / d. q Good layout minimizes diffusion area q Ex: NAND 3 layout shares one diffusion contact – Reduces output capacitance by 2 C – Merged uncontacted diffusion might help too 5: DC and Transient Response CMOS VLSI Design 4 th Ed. 35

Layout Comparison q Which layout is better? 5: DC and Transient Response CMOS VLSI

Layout Comparison q Which layout is better? 5: DC and Transient Response CMOS VLSI Design 4 th Ed. 36