ee141ee141--spring 2008spring 2008 digital integrated circuits

17
EE141 1 EE141 EE141-Spring 2008 Spring 2008 Digital Integrated Digital Integrated Circuits Circuits Circuits Circuits Lecture 8 Lecture 8 EE141 EECS141 1 Lecture #8 Inverter Delay and Power Inverter Delay and Power Announcements Announcements Homework #3 due today Homework #4 posted today, due next Fr Midterm1 Friday February 29 6:00- 7:30pm Open book EE141 EECS141 2 Lecture #8 Will cover Lecture 1-8 (not including power)

Upload: others

Post on 28-Dec-2021

5 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: EE141EE141--Spring 2008Spring 2008 Digital Integrated Circuits

EE141

1

EE141EE141--Spring 2008Spring 2008Digital Integrated Digital Integrated CircuitsCircuitsCircuitsCircuits

Lecture 8Lecture 8

EE141EECS141 1Lecture #8

Inverter Delay and PowerInverter Delay and Power

AnnouncementsAnnouncements

Homework #3 due todayHomework #4 posted today, due next FrMidterm1 Friday February 29 6:00-7:30pm

Open book

EE141EECS141 2Lecture #8

Will cover Lecture 1-8 (not including power)

Page 2: EE141EE141--Spring 2008Spring 2008 Digital Integrated Circuits

EE141

2

Class MaterialClass MaterialLast lecture

MOS capacitancesToday’s lecture

Inverter delayPower dissipation

EE141EECS141 3Lecture #8

Reading (3.3.2, 5.4, 5.5)

Simplified ModelSimplified ModelCapacitance models important for analysis and intuition

– But often need something simpler to work withSimpler model:

– Lump together as effective linear capacitance to (ac) ground

– In most processes: Cg = Cd = 1.5 – 2fF·W(µm)

EE141EECS141 4Lecture #8

VoutVin

CL

VoutVin

Page 3: EE141EE141--Spring 2008Spring 2008 Digital Integrated Circuits

EE141

3

Review Review –– MOS CapacitancesMOS Capacitances

EE141EECS141 5Lecture #8

The Miller EffectThe Miller Effect

Cgd1VoutΔV

As Vin increases, Vout drops – Once get into the transition region, gain

from V to V > 1Vin

M1

ΔVfrom Vin to Vout > 1

So, Cgd experiences voltage swing larger than Vin

– Which means you need to provide more charge

– Makes Cgd look larger than it really is

EE141EECS141 6Lecture #8

Known as the “Miller Effect” in the analog world

Page 4: EE141EE141--Spring 2008Spring 2008 Digital Integrated Circuits

EE141

4

Review Review –– MOS CapacitancesMOS Capacitances

EE141EECS141 7Lecture #8

Review Review –– MOS CapacitancesMOS Capacitances

EE141EECS141 8Lecture #8

Page 5: EE141EE141--Spring 2008Spring 2008 Digital Integrated Circuits

EE141

5

Model CalibrationModel Calibration -- CapacitanceCapacitanceCan calculate Cg, Cd based on tech. parameters

But these models are simplified too– But these models are simplified tooAnother approach:

– Tune (e.g., in spice) the linear capacitance until it makes the simplified circuit match the real circuit

– Matching could be for delay, power, etc.

EE141EECS141 9Lecture #8

CloadDelay1 Delay2Match

Model CalibrationModel Calibration for Delayfor DelayA

For gate capacitance:– Make inverter fanout 4 (will see why in 2 lectures)

Adjust C until Delay1 = Delay2

CloadDelay1 Delay2Match

EE141EECS141 10Lecture #8

– Adjust Cload until Delay1 = Delay2For diffusion capacitance

– Replace inverter “A” with a diffusion capacitance load

Page 6: EE141EE141--Spring 2008Spring 2008 Digital Integrated Circuits

EE141

6

Delay CalibrationDelay Calibration1 4 16 64

Why did we need that last inverter stage?

Delay

"Edge Shaper" Load ???

EE141EECS141 11Lecture #8

Propagation DelayPropagation Delay

EE141EECS141 12Lecture #8

Page 7: EE141EE141--Spring 2008Spring 2008 Digital Integrated Circuits

EE141

7

3

Transient ResponseTransient Response

1

1.5

2

2.5

Vou

t(V)

tpHL = ln(2) CL ReqntpLH = ln(2) CL Reqp

tpHLtpLH

EE141EECS141 13Lecture #8

0 0.5 1 1.5 2 2.5

x 10-10

-0.5

0

0.5

t (sec)

( )1 1

2ln(2) 1

with '

=+

⎛ ⎞= − −⎜ ⎟

⎝ ⎠2

DDeq

DD DSAT

DS,effDSAT DD T DS,eff

VRλV I

VWI k V V VL

Delay as a function of VDelay as a function of VDDDD

( ) ( )L L

n n

= =− −

1 12 2 2

DD DDpHL

DSAT DD Tn DS,eff DS,eff

C V C VtI k' W L V V V V

EE141EECS141 14Lecture #8

Page 8: EE141EE141--Spring 2008Spring 2008 Digital Integrated Circuits

EE141

8

3.6

3.8x 10

-11

Device SizingDevice Sizing

(for fixed load)

2.6

2.8

3

3.2

3.4

3.6

t p(sec

)

( )

Self-loading effect:Intrinsic capacitancesdominate

EE141EECS141 15Lecture #8

2 4 6 8 10 12 142

2.2

2.4

S

dominate

5x 10

-11

NMOS/PMOS ratioNMOS/PMOS ratio

4

4.5

t p(sec

)

tpLH tpHL

tp β = Wp/Wn

EE141EECS141 16Lecture #8

1 1.5 2 2.5 3 3.5 4 4.5 53

3.5

β

Page 9: EE141EE141--Spring 2008Spring 2008 Digital Integrated Circuits

EE141

9

Step Inputs?Step Inputs?Derived RC model assuming input was a step

But input is not a stepBut input is not a step

Transistor turns on gradually

Let’s look at gate switching more carefullyUse our models to understand the effect of input slope

EE141EECS141 17Lecture #8

Use our models to understand the effect of input slope

Input Slope DependenceInput Slope Dependence

One way to analyze slope effect

outout L NMOS PMOS

dVI C I Idt

= = −

EE141EECS141 18Lecture #8

Plug non-linear IV into diff. equation and solve…Simpler, approximate solution:

Use an approximate model (linear, piece-wise linear)

Page 10: EE141EE141--Spring 2008Spring 2008 Digital Integrated Circuits

EE141

10

Impact of Rise Time on DelayImpact of Rise Time on Delay0.35

t pH

L(ns

ec)

0.3

0.25

0.2

EE141EECS141 19Lecture #8

0.15

trise (nsec)10.80.60.40.20

tp = tstep(i) + ηtstep(i-1) (n ≈ 1/3)

CMOS Inverter CMOS Inverter Power DissipationPower Dissipation

EE141EECS141 20Lecture #8

Page 11: EE141EE141--Spring 2008Spring 2008 Digital Integrated Circuits

EE141

11

Where Does Power Go in CMOS?Where Does Power Go in CMOS?Switching power

Charging/discharging capacitorsCharging/discharging capacitorsLeakage power

Transistors are imperfect switchesShort-circuit power

Both pull-up and pull-down on during

EE141EECS141 21Lecture #8

Both pull up and pull down on during transition

Static currentsBiasing currents, in e.g. analog, memory

Dynamic Power ConsumptionDynamic Power ConsumptioniL 2

10 DDLVCE =→

VDD

( ) ( ) ∫∫ ∫DDVT T

VCdCVdttiVdttPE 2

Vin VoutCL

EE141EECS141 22Lecture #8

( ) ( ) ∫∫ ∫ ====→ DDLoutLDDDDDDDD VCdvCVdttiVdttPE0

2

0 010

( ) ( ) ∫∫ ∫ ====DDV

DDLoutoutL

T T

LoutCC VCdvvCdttivdttPE0

2

0 0 21

Page 12: EE141EE141--Spring 2008Spring 2008 Digital Integrated Circuits

EE141

12

Dynamic Power ConsumptionDynamic Power Consumption2

10 DDLVCE =→

2

21

DDLR VCE =iL

VDD

One half of the energy from the supply is d i th ll t k h lf i

2Vin Vout

CL2

21

DDLC VCE =

EE141EECS141 23Lecture #8

consumed in the pull-up network, one half is stored on CLEnergy from CL is dumped during the 1→0 transition

Circuits with Reduced SwingCircuits with Reduced Swing

( )

EE141EECS141 24Lecture #824

( )0 1 L DDE C V V→ = Δ

Page 13: EE141EE141--Spring 2008Spring 2008 Digital Integrated Circuits

EE141

13

Dynamic Power ConsumptionDynamic Power ConsumptionPower = Energy/transition • Transition rate

C V 2 f= CLVDD2 • f0→1

= CLVDD2 • f • P0→1

= CswitchedVDD2 • f

EE141EECS141 25Lecture #8

Power dissipation is data dependent –depends on the switching probabilitySwitched capacitance Cswitched = CL • P0→1

Transition Activity and PowerTransition Activity and PowerEnergy consumed in N cycles, EN:

EN = CL • VDD2 • n0→1

n0→1 – number of 0→1 transitions in N cycles

fVCN

nfNEP DDLN

NNavg ⋅⋅⋅⎟

⎠⎞

⎜⎝⎛=⋅= →

∞→∞→

210limlim

EE141EECS141 26Lecture #8

NN ⎠⎝0 1

0 1 limN

nN

α →→ →∞

=

fVCP DDLavg ⋅⋅⋅= →2

10α

Page 14: EE141EE141--Spring 2008Spring 2008 Digital Integrated Circuits

EE141

14

Short Circuit CurrentShort Circuit CurrentVDD

Isc ∼ 0

VDD

Isc = IMAX

1

1.5

2

2.5

I sc (A

)

x 10−4

CL = 20 fF

CL = 100 fF

C = 500 fF

VinVout

CLVin

Vout

CL

Large load Small load

EE141EECS141 27Lecture #8Short circuit current usually well controlled

0 20−0.5

0

0.5

40 60

I CL = 500 fF

time (s)

Transistor LeakageTransistor LeakageTransistors that are supposed to be off -leak

VDD 0V

VDD

ILeak

VDD0V

VDD

EE141EECS141 28Lecture #8

Input at VDD Input at 0

ILeak

Page 15: EE141EE141--Spring 2008Spring 2008 Digital Integrated Circuits

EE141

15

Diode LeakageDiode Leakage

GATE

Np+ p+

Reverse Leakage Current

+

-Vdd

EE141EECS141 29Lecture #8

JS = 10-100 pA/μm2 at 25 deg C for 0.25μm CMOSJS doubles for every 9 deg C!Much smaller than transistor leakage in deep submicron

IDL = JS × A

Transistor LeakageTransistor Leakage

-4

-3

VDS = 1.2V

G

-8

-7

-6

-5

log

I DS

[log

A]

G

S D

Sub

Ci

Cd

EE141EECS141 30Lecture #830

-90 0.2 0.4 0.6 0.8 1 1.2

V GS [V]

Drain leakage current is exponential with VGS-VT

Page 16: EE141EE141--Spring 2008Spring 2008 Digital Integrated Circuits

EE141

16

SubSub--Threshold ConductionThreshold Conduction10

-2

Li

Inverse Subthreshold Slope:( )GS Tq V V C−

10-8

10-6

10-4

I D(A

)

Linear

E ti l

Quadratic

( )

0~ , 1 DnkTD

ox

CI I e nC

= +

S-1 is ΔVGS for ID2/ID1 =10

-1

EE141EECS141 31Lecture #8

0 0.5 1 1.5 2 2.510

-12

10-10

VGS (V)

VT

Exponential

Typical values for S-1:60 .. 100 mV/decade

Transistor LeakageTransistor Leakage

3-10x in current

technologiesI DS

[nA]

( )( )

0 1GS T DS DSq V V V qV

nkT kTDI I e e

η− −−⎛ ⎞

= −⎜ ⎟⎝ ⎠

EE141EECS141 32Lecture #832

Two effects:• diffusion current (like a bipolar transistor)• exponential increase with VDS (η: DIBL)

00 0.2 0.4 0.6 0.8 1 1.2 1.4

V dS [V]

Page 17: EE141EE141--Spring 2008Spring 2008 Digital Integrated Circuits

EE141

17

Threshold VariationsThreshold VariationsVTVT

L

Long-channel threshold Low VDS threshold

VDS

EE141EECS141 33Lecture #8

L

Threshold as a function of the length (for low VDS)

Drain-induced barrier lowering (DIBL) (for short L)

Next LectureNext LectureBuffer sizing

EE141EECS141 34Lecture #8