Download Low Power Design

Survey
yes no Was this document useful for you?
   Thank you for your participation!

* Your assessment is very important for improving the work of artificial intelligence, which forms the content of this project

Document related concepts
no text concepts found
Transcript
Low Power Design
in CMOS
Digital Integrated Circuits
Low Power Design
© Prentice Hall 1995
Why worry about power?
-- Heat Dissipation
microprocessor power dissipation
source : arpa-esto
DEC 21164
Digital Integrated Circuits
Low Power Design
© Prentice Hall 1995
Evolution in Power Dissipation
Digital Integrated Circuits
Low Power Design
© Prentice Hall 1995
BATTERY
(40+ lbs)
Nominal Capacity (Watt-hours / lb)
Why worry about power —
Portability
50
Rechargable Lithium
40
Ni-Metal Hydride
30
20
Nickel-Cadium
10
0
65
70
75
80
85
90
95
Year
Multimedia Terminals
Laptop Computers
Expected Battery Lifetime increase
over next 5 years: 30-40%
Digital Cellular Telephony
Digital Integrated Circuits
Low Power Design
© Prentice Hall 1995
Where Does Power Go in CMOS?
• Dynamic Power Consumption
Charging and Discharging Capacitors
• Short Circuit Currents
Short Circuit Path between Supply Rails during Switching
• Leakage
Leaking diodes and transistors
Digital Integrated Circuits
Low Power Design
© Prentice Hall 1995
Dynamic Power Consumption
Vdd
Vin
Vout
CL
Energy/transition = CL * Vdd2
Power = Energy/transition * f = CL * Vdd 2 * f
Not a function of transistor sizes!
Need to reduce CL , Vdd , and f to reduce power.
Digital Integrated Circuits
Low Power Design
© Prentice Hall 1995
Dynamic Power Consumption - Revisited
Power = Energy/transition * transition rate
= CL * Vdd2 * f01
= CL * Vdd2 * P01* f
= CEFF * Vdd2 * f
Power Dissipation is Data Dependent
Function of Switching Activity
CEFF = Effective Capacitance = CL * P01
Digital Integrated Circuits
Low Power Design
© Prentice Hall 1995
Power Consumption is Data Dependent
Example: Static 2 Input NOR Gate
Assume:
P(A=1) = 1/2
P(B=1) = 1/2
Then:
P(Out=1) = 1/4
P(0 1)
= P(Out=0).P(Out=1)
= 3/4  1/4 = 3/16
CEFF = 3/16 * CL
Digital Integrated Circuits
Low Power Design
© Prentice Hall 1995
Transition Probabilities for Basic Gates
Digital Integrated Circuits
Low Power Design
© Prentice Hall 1995
Transition Probability of 2-input NOR Gate
Digital Integrated Circuits
Low Power Design
© Prentice Hall 1995
Problem: Reconvergent Fanout
A
X
B
Z
Reconvergence
P(Z=1) = P(B=1) . P(X=1 | B=1)
Becomes complex and intractable real fast
Digital Integrated Circuits
Low Power Design
© Prentice Hall 1995
How about Dynamic Circuits?
VDD

Mp
Out
In1
In2
In3
PDN

Me
Power is Only Dissipated when Out=0!
CEFF = P(Out=0).CL
Digital Integrated Circuits
Low Power Design
© Prentice Hall 1995
4-input NAND Gate
Example: Dynamic 2 Input NOR Gate
Assume:
P(A=1) = 1/2
P(B=1) = 1/2
Then:
P(Out=0) = 3/4
CEFF = 3/4 * CL
Switching Activity Is Always Higher in Dynamic Circuits
Digital Integrated Circuits
Low Power Design
© Prentice Hall 1995
Transition Probabilities for Dynamic Gates
Switching Activity for Precharged Dynamic Gates
P01 = P0
Digital Integrated Circuits
Low Power Design
© Prentice Hall 1995
Glitching in Static CMOS
also called: dynamic hazards
X
A
B
Z
C
ABC
101
000
X
Z
Unit Delay
Observe: No glitching in dynamic circuits
Digital Integrated Circuits
Low Power Design
© Prentice Hall 1995
Example 1: Chain of NOR Gates
out1
out2
out3
out4
out5
1
...
V (Volt)
6.0
4.0
out2
2.0
out1
out4
out3
out6
out5
out8
out7
0.0
0
Digital Integrated Circuits
1
t (nsec)
2
Low Power Design
3
© Prentice Hall 1995
Example 2: Adder Circuit
Add0
Cin
Add1
Sum Output Voltage, Volts
S0
Add2
Add14
S2
S14
S1
4.0
Add15
S15
4
S15
6
2.0
3
S10
Cin
5
S1
2
0.0
0
5
10
Time, ns
Digital Integrated Circuits
Low Power Design
© Prentice Hall 1995
How to Cope with Glitching?
0
F1
0
1
F2
0
0
2
F3
0
0
F1
1
F3
0
0
F2
1
Equalize Lengths of Timing Paths Through Design
Digital Integrated Circuits
Low Power Design
© Prentice Hall 1995
Short Circuit Currents
Vdd
Vin
Vout
CL
IVDD (mA)
0.15
0.10
0.05
0.0
Digital Integrated Circuits
1.0
2.0
3.0
Vin (V)
4.0
5.0
Low Power Design
© Prentice Hall 1995
Impact of rise/fall times on short-circuit
currents
VDD
VDD
ISC 
Vin
ISC IMAX
Vout
CL
CL
Large capacitive load
Digital Integrated Circuits
Vout
Vin
Small capacitive load
Low Power Design
© Prentice Hall 1995
Short-circuit energy as a function of slope
ratio
E / E
8
7
6
5
4
3
2
1
0
VDD = 5 V
W/L|P = 7.2 m/1.2 m
W/L|N = 2.4 m/1.2m
VDD = 3.3 V
0
1
2
3
4
5
r
The power dissipation due to short circuit currents is
minimized by matching the
rise/fall times of the input and output signals.
Digital Integrated Circuits
Low Power Design
© Prentice Hall 1995
Static Power Consumption
Vdd
Istat
Vout
Vin=5V
CL
Pstat = P(In=1) .Vdd . Istat
• Dominates over dynamic consumption
• Not a function of switching frequency
Digital Integrated Circuits
Low Power Design
© Prentice Hall 1995
Leakage
Vdd
Vout
Drain Junction
Leakage
Sub-Threshold
Current
Sub-Threshold Current Dominant Factor
Digital Integrated Circuits
Low Power Design
© Prentice Hall 1995
Sub-Threshold in MOS
ID
VT =0.2
VT =0.6
VGS
Lower Bound on Threshold to Prevent Leakage
Digital Integrated Circuits
Low Power Design
© Prentice Hall 1995
Power Analysis in SPICE
VDD
i DD
+
-
Circuit
Under Test
Pav
k iDD
C
R
Equivalent Circuit for Measuring Power in SPICE
Digital Integrated Circuits
Low Power Design
© Prentice Hall 1995
Design for Worst Case
V DD
VDD
1
A
1
F
2
B
CL
4
C
4
2
A
B
B
D
2
F
A
2
A
D
2
1
B
2C
2
Here it is assumed that Rp = Rn
Digital Integrated Circuits
Low Power Design
© Prentice Hall 1995
NORMALIZED POWER-DELAY PRODUCT
Reducing Vdd
1.5
P x td = E t = CL * Vdd 2
1.00
0.70
0.50
0.30
0.20
quadratic dependence
0.15
0.1
E(Vdd=2)
E(Vdd=5)
=
(CL) * (2)2
(CL) * (5)2
51 stage ring oscillator
0.07
E(Vdd=2)  0.16 E(Vdd =5)
0.05
8-bit adder
0.03
1
2
5
Vdd (volts)
Strong function of voltage (V 2 dependence).
Relatively independent of logic function and style.
Power Delay Product Improves with lowering VDD.
Digital Integrated Circuits
Low Power Design
© Prentice Hall 1995
Lower Vdd Increases Delay
7.50
7.00
multiplier
2.0m technology
clock generator
NORMALIZED DELAY
6.50
Td =
6.00
5.50
5.00
CL * Vdd
I
I ~ (Vdd - Vt)2
4.50
4.00
3.50
ring oscillator
3.00
Td(Vdd=2)
2.50
2.00
1.50
1.00
microcoded DSP chip
Td(Vdd=5)
adder
adder (SPICE)
2.00
4.00
V dd (volts)
(2) * (5 - 0.7)2
=
(5) * (2 - 0.7)2
 4
6.00
Relatively independent of logic function and style.
Digital Integrated Circuits
Low Power Design
© Prentice Hall 1995
Lowering the Threshold
Delay
I
2V t
Vdd
D
Vt = 0
Vt = 0.2
VGS
Reduces the Speed Loss, But Increases Leakage
Interesting Design Approach:
DESIGN FOR PLeakage == PDynamic
Digital Integrated Circuits
Low Power Design
© Prentice Hall 1995
Transistor Sizing for Power Minimization
Lower Capacitance
Higher Voltage
Small W/L’s
Large W/L’s
Higher Capacitance
Lower Voltage
Larger sized devices are useful only when interconnect dominated.
Minimum sized devices are usually optimal for low-power.
Digital Integrated Circuits
Low Power Design
© Prentice Hall 1995
Transistor Sizing for Fixed Throughput
Cg = W/L CMIN
I  W/L CMIN
CMIN = Minimum sized gate (W/L=1)
W /L after sizing
CP = Cwiring + CDF
 = CP / (K CMIN)
HIGH PERFORMANCE
W/L >> CP / (K CMIN)
LOW POWER
W/L  2 CP / (K CMIN)
(if CP K CMIN)
ELSE W/L = 1
NORMALIZED ENERGY
10
7
 =0
5
4
3
= 0.5
2
1.5
=1
adder
1.0
0.7
 = 1.5
=2
0.5
1
3
10
W/L
Digital Integrated Circuits
Low Power Design
© Prentice Hall 1995
Reducing Effective Capacitance
Local bus architecture
Global bus architecture
Shared Resources incur Switching Overhead
Digital Integrated Circuits
Low Power Design
© Prentice Hall 1995
Summary
• Power Dissipation is becoming Prime Design
Constraint
• Low Power Design requires Optimization at all Levels
• Sources of Power Dissipation are well characterized
• Low Power Design requires operation at lowest
possible voltage and clock speed
Digital Integrated Circuits
Low Power Design
© Prentice Hall 1995
Related documents