Low Power Design: Synopsys University Courseware 2008 Synopsys, Inc. Lecture - 9 Developed By: Paul D. Franzon
Low Power Design: Synopsys University Courseware 2008 Synopsys, Inc. Lecture - 9 Developed By: Paul D. Franzon
Synopsys University Courseware 2008 Synopsys, Inc. Lecture - 9 Developed By: Paul D. Franzon
Power Consumption
Why is power consumption important? Battery powered devices
Maximize battery life
Need a fan to cool somewhere above 10 W Difficult to air cool at all somewhere above 50-100 W Cost of power supply
`Green systems
Minimize pollution by reducing demand from power stations
Synopsys University Courseware 2008 Synopsys, Inc. Lecture - 9 Developed By: Paul D. Franzon
Power Consumption
Power is increasingly the MAJOR constraint on system performance
The major constraint used to be #transistors/die. Now it is power. Wireless systems
System Performance is limited by how much data can be communicated and processed on a single battery charge
Want this capacity to permit a battery life of more than a day
Desktop systems
Without attention, power consumption of circa 2008-2010 CPUs would be 1kw or more Impossible to air cool Without attention, power consumptions of chips like HDTV decoders would be 100+W Expensive to cool
Synopsys University Courseware 2008 Synopsys, Inc. Lecture - 9 Developed By: Paul D. Franzon
Power Consumption
Static CMOS Circuits:
Static Power (when circuit not switching) Leakage Sub-threshold Drain to source Gate Some libraries are starting to include low-leakage cells, or cells that can be switching to a low leakage state Dynamic Power (when logic transitions occur) `through current small during switching Toggling power when output node changes logic state
Synopsys University Courseware 2008 Synopsys, Inc. Lecture - 9 Developed By: Paul D. Franzon
CMOS Circuit
Circuit during switching event E.g. Inverter driving a load:
Power dissipated in resistors in 010 cycle = potential energy stored and released on capacitor during that cycle
Q=CVdd E=QVdd = CVdd2 P = E/T = CVdd2/T = Nswitch CVdd2 fclock
Alternative derivation:
Vdd Vdd
Q CVout dVout I C dt
CVdd 2
Nswitch
Clock : Maximum for glitch-free logic: Logic typically has Nswitch ~ 0.1
Synopsys University Courseware 2008 Synopsys, Inc. Lecture - 9 Developed By: Paul D. Franzon
Minimizing Energy
Energy = Power.dt Energy consumption in a CMOS module: Energy = cycles nodes Nswitch f Vcc2 Cload + leakage power
f = clock frequency Nswitch = average % of clock periods in which node toggles (I.e. 010 or 101) Cload = capacitance of node
Note: Power reduction techniques do not save energy/complex operation if more cycles are needed to complete that operation
Important in energy-constrained (e.g. battery driven) systems
Synopsys University Courseware 2008 Synopsys, Inc. Lecture - 9 Developed By: Paul D. Franzon
Use an algorithm that reduces total number of toggles required to compute a result
Synopsys University Courseware 2008 Synopsys, Inc. Lecture - 9 Developed By: Paul D. Franzon
gate
Sleep
Synopsys University Courseware 2008 Synopsys, Inc. Lecture - 9 Developed By: Paul D. Franzon
reg [31:0] A, B, D; + always@(posedge clock) C begin Wasted power when C low if (C) D <= A+B; else D <= A; end 0 A
Possible ways to reduce power: B 0 + C C
A B
C
Synopsys University Courseware 2008 Synopsys, Inc. Lecture - 9 Developed By: Paul D. Franzon
Toggling Reduction
If C is low a lot
A 0 0 C assign E=C?A:0; assign F=C?B:0; D always@(posedge clock) if (C) D <= E+F; else D <= A;
+
C
Synopsys University Courseware 2008 Synopsys, Inc. Lecture - 9 Developed By: Paul D. Franzon
Power Reduction
Other Alternatives:
Gate the clock to register D
Smallest overhead Complicates clock design and timing Usually gated clocks only done at block level (.e.g an FPU) Used instead of 0 input to mux Must consider power overhead of register (including extra Cload on clock) Not likely to be beneficial here Might be beneficial for a larger design (e.g. multiplier)
Synopsys University Courseware 2008 Synopsys, Inc. Lecture - 9 Developed By: Paul D. Franzon
Summary
What determines power consumed in a CMOS circuit? What strategies can you use to reduce power consumption? If Energy is the issue rather than power, what strategies are available to you?
Synopsys University Courseware 2008 Synopsys, Inc. Lecture - 9 Developed By: Paul D. Franzon
Summary
Complementary MOS transistors gives dense circuits and lower power than other circuit families
Standard Cell designs use Static CMOS Transistor speed approximated using `on resistance Ron proportional to electron/hole mobility and W/L
Synopsys University Courseware 2008 Synopsys, Inc. Lecture - 9 Developed By: Paul D. Franzon