Top Banner
Digital VLSI Design Full Automation Maximum benefit of scaling High speed , low power Robustness
47

Advd lecture 08 -inverte rpart3

Jan 17, 2017

Download

Engineering

Hardik Gupta
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Advd   lecture 08 -inverte rpart3

Digital VLSI Design

• Full Automation

• Maximum benefit of scaling

• High speed ,

• low power

• Robustness

Page 2: Advd   lecture 08 -inverte rpart3

Power dissipation

Page 3: Advd   lecture 08 -inverte rpart3

Why worry about power?

-- Heat Dissipation

DEC 21164

microprocessor power dissipation

Page 4: Advd   lecture 08 -inverte rpart3

Why worry about power — Portability

Multimedia Terminals

Laptop Computers

Digital Cellular Telephony

BATTERY(40+ lbs)

Year

No

min

al C

ap

acity (

Wa

tt-h

ours

/ lb)

Nickel-Cadium

Ni-Metal Hydride

65 70 75 80 85 90 95

0

10

20

30

40

50

Rechargable Lithium

Expected Battery Lifetime increase

over next 5 years: 30-40%

Page 5: Advd   lecture 08 -inverte rpart3

Where Does Power Go in CMOS?

• STATIC POWER---NIL

• Dynamic Power Consumption

• Short Circuit Currents

• Leakage

Charging and Discharging Capacitors

Short Circuit Path between Supply Rails during Switching

Leaking diodes and transistors

Page 6: Advd   lecture 08 -inverte rpart3

Power consumption

• 4 components

Static power consumption

Short circuit power consumption

Leakage power consumption

Dynamic power consumption

Page 7: Advd   lecture 08 -inverte rpart3

• The total power in a CMOS circuit is given by Ptotal = Pd + Psc + Ps where

Pd is the dynamic average power (previous chart),

Psc is the short circuit power,

and Ps is the static power due to ratio circuit current, junction leakage, and sub-threshold Ioff leakage current

• Short circuit current flows during the brief transient when the pull down and pull up devices both conduct at the same time where one (or both) of the devices are in saturation

Page 8: Advd   lecture 08 -inverte rpart3

Static power consumption

Page 9: Advd   lecture 08 -inverte rpart3

Short circuit power

Page 10: Advd   lecture 08 -inverte rpart3

CMOS Short-Circuit Power Dissipation

Derivation

Page 11: Advd   lecture 08 -inverte rpart3

Short Circuit Path

Page 12: Advd   lecture 08 -inverte rpart3
Page 13: Advd   lecture 08 -inverte rpart3

Modelling

Page 14: Advd   lecture 08 -inverte rpart3

t1- t2, Mos operates in saturation

At t2, current reaches its maximum value

At this point vin=vdd/2, because inverter is

symmetrical

I mean= 2x [2/T] x ∫Isat dt : Limits(t1, t2)

Conditions—Vin(t)=(Vdd/τ) t; --assume vin increases linearly with time

tr = tf = trf

Psc = (/12) (Vdd – 2Vt)3 (trf/tpin)

Page 15: Advd   lecture 08 -inverte rpart3

• For a balanced CMOS inverter with

n=p= , and Vtn = |Vtp|, the short

circuit power can be expressed by

Psc = (/12)(Vdd – 2Vt)3 (tr/f/tpin)

where tpin is the period of the input

waveform and trf is the input rise time

(or fall time) tr = tf = trf

Page 16: Advd   lecture 08 -inverte rpart3

Effect of load cap on short circuit

power

• P short circuit reduces

• Reason---- output start switching after

input has completely stabilized

Page 17: Advd   lecture 08 -inverte rpart3

Effect of Cload

Page 18: Advd   lecture 08 -inverte rpart3

Dynamic energy consumption

Page 19: Advd   lecture 08 -inverte rpart3

Energy stored across capacitor

Page 20: Advd   lecture 08 -inverte rpart3

Dynamic power consumption-derivation

Page 21: Advd   lecture 08 -inverte rpart3
Page 22: Advd   lecture 08 -inverte rpart3

Average Dynamic Power in CMOS

Inverter • Average dynamic power derivation:

– On negative going input, pull-up

device charges the load

capacitance. On positive going

input, pull-down device discharges

the load into ground.

– Average power given by

Pave = (1/T)CL (dvout/dt) (Vdd – vout)dt

+ (1/T)(-1) CL (dvout/dt) vout dt

where the first integral is taken from

0 to T/2 and the second integral is

from T/2 to T

• completion of the integral yields

Pave = CL Vdd2 f where f = 1/T

• Note that the dynamic power is

independent of the typical device

parameters, but is simply a

function of power supply, load

capacitance and frequency of

the switching!

Page 23: Advd   lecture 08 -inverte rpart3

Vin Vout

CL

Energy/transition = CL * Vdd2

Power = Energy/transition * f = CL * Vdd2 * f

Need to reduce CL, Vdd, and f to reduce power.

Vdd

Not a function of transistor sizes!

Page 24: Advd   lecture 08 -inverte rpart3

Reduce power consumption

• Reduce Vdd

• Reduce swing at the output

• Reduce CL

• Reduce Switching activity

To keep same speed, can we reduce Vdd, increase (w/L)? No

Inc in W inc in CL

Page 25: Advd   lecture 08 -inverte rpart3

Dynamic Power Consumption - Revisited

Power = Energy/transition * transition rate

= CL * Vdd2 * f01

= CL * Vdd2 * P01* f

= CEFF * Vdd2 * f

Power Dissipation is Data Dependent

Function of Switching Activity

CEFF = Effective Capacitance = CL * P01

Page 26: Advd   lecture 08 -inverte rpart3
Page 27: Advd   lecture 08 -inverte rpart3

Power Consumption is Data Dependent uniform distribution of inputs

Example: Static 2 Input NOR Gate

Assume:

P(A=1) = 1/2

P(B=1) = 1/2

P(Out=1) = 1/4

P(01)

= 3/4 1/4 = 3/16

Then:

= P(Out=0).P(Out=1)

CEFF = 3/16 * CL

Page 28: Advd   lecture 08 -inverte rpart3
Page 29: Advd   lecture 08 -inverte rpart3

Transition Probabilities for Basic Gates

Non-uniform distribution of inputs

Page 30: Advd   lecture 08 -inverte rpart3

No feedback

Page 31: Advd   lecture 08 -inverte rpart3

Power consumption—Correlated signals

½ 1

Page 32: Advd   lecture 08 -inverte rpart3
Page 33: Advd   lecture 08 -inverte rpart3
Page 34: Advd   lecture 08 -inverte rpart3

Sizing for min. power

consumption

For a given delay constraint

Page 35: Advd   lecture 08 -inverte rpart3

Sizing for power consumption

Page 36: Advd   lecture 08 -inverte rpart3
Page 37: Advd   lecture 08 -inverte rpart3

Vdd=Vddref

Page 38: Advd   lecture 08 -inverte rpart3

Vdd=Vddref

Page 39: Advd   lecture 08 -inverte rpart3

Vdd≠ Vddref

Page 40: Advd   lecture 08 -inverte rpart3
Page 41: Advd   lecture 08 -inverte rpart3

Graphical solution

Page 42: Advd   lecture 08 -inverte rpart3

Why energy reduces for F increasing?

• Assume delay reqd is tpref=5ns.

• As F inc CL inc. delay (tp) inc. and dyn. energy inc.

linearly

• But as f inc delay reduces exponentially, energy inc.

• for F= 1 delay is already small and close to tpref). Inc in f

does not cause much reduction rather energy increment is

more

• For F large, delay and energy are large values

• Hence as f inc., delay reduces drastically (become less than

tpref ). Hence to have given delay= tpref, energy is dec.

which inc. delay to tpref.

• As f is increased further, delay reduction reduces, only

energy increases

Page 43: Advd   lecture 08 -inverte rpart3

Design example—0.25um technology, find f, Vdd for

tpref=0.2ns. Cext=10Cg1, γ=1, Vref=2.5v

Page 44: Advd   lecture 08 -inverte rpart3

Design a chain of inv for min delay, min energy

Page 45: Advd   lecture 08 -inverte rpart3

Power delay product

Indicates that energy required 0 for Vdd 0 erroneous

Page 46: Advd   lecture 08 -inverte rpart3

Energy delay product

Shd. Be minimum

Page 47: Advd   lecture 08 -inverte rpart3

Energy delay product optimum Vdd