Power and Energy Basics

Slides:



Advertisements
Similar presentations
ECE555 Lecture 5 Nam Sung Kim University of Wisconsin – Madison
Advertisements

EE466: VLSI Design Lecture 7: Circuits & Layout
COMBINATIONAL LOGIC DYNAMICS
Logic Gate Delay Modeling -1 Bishnu Prasad Das Research Scholar CEDT, IISc, Bangalore
Fig Typical voltage transfer characteristic (VTC) of a logic inverter, illustrating the definition of the critical points.
Chapter 3 Logic Gates.
CMOS Logic Circuits.
Topics Electrical properties of static combinational gates:
Penn ESE370 Fall DeHon 1 ESE370: Circuit-Level Modeling, Design, and Optimization for Digital Systems Day 10: September 29, 2010 MOS Transistors.
RF Electronics Engineering
Digital Integrated Circuits© Prentice Hall 1995 Low Power Design Low Power Design in CMOS.
Practical Considerations for Digital Design
Chapter 11 Practical Considerations for Digital Design William Kleitz Digital Electronics with VHDL, Quartus® II Version Copyright ©2006 by Pearson Education,
Figure An amplifier transfer characteristic that is linear except for output saturation.
Chapter1: Diodes 1.
ECE 424 – Introduction to VLSI
Elettronica T A.A Digital Integrated Circuits © Prentice Hall 2003 Inverter CMOS INVERTER.
© Digital Integrated Circuits 2nd Inverter EE4271 VLSI Design The Inverter Dr. Shiyan Hu Office: EERC 518 Adapted and modified from Digital.

Fall 06, Sep 19, 21 ELEC / Lecture 6 1 ELEC / (Fall 2005) Special Topics in Electrical Engineering Low-Power Design of Electronic.
Designing Combinational Logic Circuits: Part2 Alternative Logic Forms:
Digital Integrated Circuits A Design Perspective
© Digital Integrated Circuits 2nd Devices Digital Integrated Circuits A Design Perspective The Devices Jan M. Rabaey Anantha Chandrakasan Borivoje Nikolic.
© Digital Integrated Circuits 2nd Inverter CMOS Inverter: Digital Workhorse  Best Figures of Merit in CMOS Family  Noise Immunity  Performance  Power/Buffer.
Digital Integrated Circuits A Design Perspective
Outline Noise Margins Transient Analysis Delay Estimation
S. Reda EN160 SP’07 Design and Implementation of VLSI Systems (EN0160) Lecture 13: Power Dissipation Prof. Sherief Reda Division of Engineering, Brown.
8/23-25/05ELEC / Lecture 21 ELEC / (Fall 2005) Special Topics in Electrical Engineering Low-Power Design of Electronic Circuits.
Lecture 5 – Power Prof. Luke Theogarajan
Lecture 7: Power.
Digital Integrated Circuits© Prentice Hall 1995 Combinational Logic COMBINATIONAL LOGIC.
Lecture 21, Slide 1EECS40, Fall 2004Prof. White Lecture #21 OUTLINE –Sequential logic circuits –Fan-out –Propagation delay –CMOS power consumption Reading:
© Digital Integrated Circuits 2nd Devices VLSI Devices  Intuitive understanding of device operation  Fundamental analytic models  Manual Models  Spice.
Low Power Design of Integrated Systems Assoc. Prof. Dimitrios Soudris
Power, Energy and Delay Static CMOS is an attractive design style because of its good noise margins, ideal voltage transfer characteristics, full logic.
The CMOS Inverter Slides adapted from:
Digital Integrated Circuits© Prentice Hall 1995 Inverter THE INVERTERS.
CSET 4650 Field Programmable Logic Devices
6.893: Advanced VLSI Computer Architecture, September 28, 2000, Lecture 4, Slide 1. © Krste Asanovic Krste Asanovic
EE466: VLSI Design Power Dissipation. Outline Motivation to estimate power dissipation Sources of power dissipation Dynamic power dissipation Static power.
1 Delay Estimation Most digital designs have multiple data paths some of which are not critical. The critical path is defined as the path the offers the.
Ch 10 MOSFETs and MOS Digital Circuits
EE415 VLSI Design DYNAMIC LOGIC [Adapted from Rabaey’s Digital Integrated Circuits, ©2002, J. Rabaey et al.]
© Digital Integrated Circuits 2nd Devices Digital Integrated Circuits A Design Perspective The Devices Jan M. Rabaey Anantha Chandrakasan Borivoje Nikolic.
Jan M. Rabaey The Devices Digital Integrated Circuits© Prentice Hall 1995 Introduction.
1. Department of Electronics Engineering Sahand University of Technology NMOS inverter with an n-channel enhancement-mode mosfet with the gate connected.
1 EE 587 SoC Design & Test Partha Pande School of EECS Washington State University
Modern VLSI Design 2e: Chapter 3 Copyright  1998 Prentice Hall PTR Topics n Electrical properties of static combinational gates: –transfer characteristics;
Adiabatic Logic as Low-Power Design Technique Presented by: Muaayad Al-Mosawy Presented to: Dr. Maitham Shams Mar. 02, 2005.
Guy Lemieux, Mehdi Alimadadi, Samad Sheikhaei, Shahriar Mirabbasi University of British Columbia, Canada Patrick Palmer University of Cambridge, UK SoC.
VLSI Design Lecture 5: Logic Gates Mohammad Arjomand CE Department Sharif Univ. of Tech. Adapted with modifications from Wayne Wolf’s lecture notes.
1 Chapter 5. Metal Oxide Silicon Field-Effect Transistors (MOSFETs)
© Digital Integrated Circuits 2nd Inverter EE5900 Advanced Algorithms for Robust VLSI CAD The Inverter Dr. Shiyan Hu Office: EERC 731 Adapted.
EE141 © Digital Integrated Circuits 2nd Inverter 1 Digital Integrated Circuits A Design Perspective The Inverter Jan M. Rabaey Anantha Chandrakasan Borivoje.
Basics of Energy & Power Dissipation
© Digital Integrated Circuits 2nd Inverter Digital Integrated Circuits A Design Perspective The Inverter Jan M. Rabaey Anantha Chandrakasan Borivoje Nikolic.
CMOS VLSI Design CMOS Transistor Theory
FPGA-Based System Design: Chapter 2 Copyright  2004 Prentice Hall PTR Topics n Logic gate delay. n Logic gate power consumption. n Driving large loads.
Solid-State Devices & Circuits
EE141 © Digital Integrated Circuits 2nd Combinational Circuits 1 A few notes for your design  Finger and multiplier in schematic design  Parametric analysis.
Modern VLSI Design 3e: Chapter 3 Copyright  1998, 2002 Prentice Hall PTR Topics n Electrical properties of static combinational gates: –transfer characteristics;
Z. Feng MTU EE4800 CMOS Digital IC Design & Analysis 6.1 EE4800 CMOS Digital IC Design & Analysis Lecture 6 Power Zhuo Feng.
ELEC Digital Logic Circuits Fall 2015 Delay and Power Vishwani D. Agrawal James J. Danaher Professor Department of Electrical and Computer Engineering.
ELEC Digital Logic Circuits Fall 2014 Delay and Power Vishwani D. Agrawal James J. Danaher Professor Department of Electrical and Computer Engineering.
LOW POWER DESIGN METHODS
Adiabatic Technique for Energy Efficient Logic Circuits Design
Reading: Hambley Ch. 7; Rabaey et al. Sec. 5.2
Lecture 7: Power.
Reading: Hambley Ch. 7; Rabaey et al. Secs. 5.2, 5.5, 6.2.1
Presentation transcript:

Power and Energy Basics

Chapter Outline Metrics Dynamic power Static power Energy-delay trade-off’s

Metrics Delay (sec): Energy (Joule) Power (Watt) Power*Delay (Joule) Performance metric Energy (Joule) Efficiency metric: effort to perform a task Power (Watt) Energy consumed per unit time Power*Delay (Joule) Mostly a technology parameter – measures the efficiency of performing an operation in a given technology Energy*Delay = Power*Delay2 (Joule-sec) Combined performance and energy metric – figure of merit of design style Other Metrics: Energy-Delayn (Joule-secn) Increased weight on performance over energy

Where is Power Dissipated in CMOS? Active (Dynamic) power (Dis)charging capacitors Short-circuit power Both pull-up and pull-down on during transition Static (leakage) power Transistors are imperfect switches Static currents Biasing currents

Active (or Dynamic) Power Key property of active power: with f the switching frequency Sources: Charging and discharging capacitors Temporary glitches (dynamic hazards) Short-circuit currents

Charging Capacitors Applying a voltage step R V C Value of R does not impact energy!

Applied to Complementary CMOS Gate V dd PMOS i L A NETWORK 1 V out A N C NMOS L NETWORK One half of the power from the supply is consumed in the pull-up network and one half is stored on CL Charge from CL is dumped during the 10 transition Independent of resistance of charging/discharging network

Circuits with Reduced Swing Energy consumed is proportional to output swing

Charging Capacitors - Revisited Driving from a constant current source R I C Energy dissipated in resistor can be reduced by increasing charging time T (that is, decreasing I)

Charging Capacitors Using constant voltage or current driver? Econstant_current < Econstant_voltage if T > 2RC Energy dissipated using constant current charging can be made arbitrarily small at the expense of delay: Adiabatic charging Note: tp(RC) = 0.69 RC t0→90%(RC) = 2.3 RC

Charging Capacitors Driving using a sine wave (e.g. from resonant circuit) R v(t) C Energy dissipated in resistor can be made arbitrarily small if frequency w << 1/RC (output signal in phase with input sinusoid)

Dynamic Power Consumption Power = Energy/transition • Transition rate = CLVDD2 • f01 = CLVDD2 • f • P01 = CswitchedVDD2 • f Power dissipation is data dependent – depends on the switching probability Switched capacitance Cswitched = P01CL= a CL (a is called the switching activity)

Impact of Logic Function Example: Static 2-input NOR gate Assume signal probabilities pA=1 = 1/2 pB=1 = 1/2 A B Out 1 Then transition probability p01 = pOut=0 x pOut=1 = 3/4 x 1/4 = 3/16 If inputs switch every cycle aNOR = 3/16 NAND gate yields similar result

Impact of Logic Function Example: Static 2-input XOR Gate Assume signal probabilities pA=1 = 1/2 pB=1 = 1/2 A B Out 1 Then transition probability p01 = pOut=0 x pOut=1 = 1/2 x 1/2 = 1/4 Assumes inputs of 0 and 1 are equally likely. For dynamic gates, the activity depends only on the signal probability - while for the static case the transition probability depends on the previous state. Remember for static NOR gate P0->1 = 3/16 If inputs switch in every cycle P01 = 1/4

Transition Probabilities for Basic Gates As a function of the input probabilities p01 AND (1 - pApB)pApB OR (1 - pA)(1 - pB)(1 - (1 - pA)(1 - pB)) XOR (1 - (pA +pB – 2pApB))(pA + pB – 2pApB) Activity for static CMOS gates a = p0p1

Activity as a Function of Topology XOR versus NAND/NOR XOR NAND/NOR aNOR,NAND = (2N-1)/22N aXOR = 1/4

How about Dynamic Logic? VDD Eval Precharge Energy dissipated when effective output is zero! or P0→1 = P0 Always larger than P0P1! E.g. P0→1(NAND) = 1/2N ; P0→1(NOR) = (2N-1)/2N Activity in dynamic circuits hence always higher than static. But … capacitance most often smaller.

Transition probability is 1! Differential Logic? VDD Static: Activity is doubled Dynamic: Transition probability is 1! Out Out Gate Hence: power always increases.

Evaluating Power Dissipation of Complex Logic Simple idea: start from inputs and propagate signal probabilities to outputs P1 But: Reconvergent fanout Feedback and temporal/spatial correlations

Reconvergent Fanout (Spatial Correlation) Inputs to gate can be interdependent (correlated) reconvergence no reconvergence reconvergent PZ = 1-(1-PA)PB PZ = 1-(1-PA)PA ? NO! PZ = 1 PZ: probability that Z=1 Must use conditional probabilities PZ = 1- PA . P(X|A) = 1 probability that X=1 given that A=1 Becomes complex and intractable real fast

Temporal Correlations Feedback Temporal correlation in input streams R Logic X 01010101010101… 00000001111111… Both streams have same P = 1 but different switching statistics X is a function of itself → correlated in time Activity estimation the hardest part of power analysis Typically done through simulation with actual input vectors (see later)

Glitching in Static CMOS Analysis so far did not include timing effects ABC 101 000 X Glitch Z Gate Delay Also known as dynamic hazards: “A single input change causing multiple changes in the output” The result is correct, but extra power is dissipated

Example: Chain of NAND Gates 1 Out 2 3 4 5 200 400 600 0.0 1.0 2.0 3.0 Time (ps) 8 6 7 Voltage (V)

What Causes Glitches? A,B A,B C,D X Y Z C,D X Y Z Uneven arrival times of input signals of gate due to unbalanced delay paths Solution: balancing delay paths!

Short-Circuit Currents (also called crowbar currents) PMOS and NMOS simultaneously on during transition Psc ~ f

Short-Circuit Currents V in out C L DD I sc = MAX V in out C L DD I sc ~ time (s) 20 - 0.5 1 1.5 2 2.5 40 60 Isc (A) x 10 4 C L = 20 fF = 100 fF = 500 fF Large load Small load Equalizing rise/fall times of input and output signals limits Psc to 10-15% of the dynamic dissipation [Ref: H. Veendrick, JSSC’84]

Modeling Short-Circuit Power Can be modeled as capacitor a, b: technology parameters k: function of supply and threshold voltages, and transistor sizes Easily included in timing and power models

Transistors Leak Drain leakage Junction leakages Gate leakage Diffusion currents Drain-induced barrier lowering (DIBL) Junction leakages Gate-induced drain leakage (GIDL) Gate leakage Tunneling currents through thin oxide

Sub-threshold Leakage Off-current increases exponentially when reducing VTH Pleak = VDD.Ileak

Sub-Threshold Leakage Leakage current increases with drain voltage (mostly due to DIBL) (for VDS > 3 kT/q) Hence Leakage Power strong function of supply voltage

Stack Effect NAND gate: VDD Assume that body effect in short channel transistor is small NAND gate: VDD (instead of the expected factor of 2)

Stack Effect IM1 IM2 factor 9 90 nm NMOS Leakage Reduction 2 NMOS 9 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 1.5 2 2.5 3 x 10 -9 V M (V) Ileak (A) IM1 IM2 90 nm NMOS factor 9 Leakage Reduction 2 NMOS 9 3 NMOS 17 4 NMOS 24 2 PMOS 8 3 PMOS 12 4 PMOS 16

Gate Tunneling Exponential function of supply voltage DD 0V I SUB GD GS Leak Exponential function of supply voltage IGD~ e-ToxeVGD, IGS~ e-ToxeVGS Independent of the sub-threshold leakage 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 1.2 1.4 1.6 1.8 x 10 -10 VDD (V) Igate (A) 90 nm CMOS Modeled in BSIM4 Also in BSIM3v3 (but not always included in foundry models) NMOS gate leakage usually worse than PMOS

Other sources of static power dissipation Diode (drain-substrate) reverse bias currents p+ n+ n+ p+ p+ n+ n well p substrate Electron-hole pair generation in depletion region of reverse-biased diodes Diffusion of minority carriers through junction For sub-50nm technologies with highly-doped pn junctions, tunneling through narrow depletion region becomes an issue Strong function of temperature Much smaller than other leakage components in general

Other sources of static power dissipation Circuit with dc bias currents: sense amplifiers, voltage converters and regulators, sensors, mixed-signal components, etc Should be turned off if not used, or standby current should be minimized

Summary of Power Dissipation Sources a – switching activity CL – load capacitance CCS – short-circuit capacitance Vswing – voltage swing f – frequency IDC – static current Ileak – leakage current

The Traditional Design Philosophy Maximum performance is primary goal Minimum delay at circuit level Architecture implements the required function with target throughput, latency Performance achieved through optimum sizing, logic mapping, architectural transformations. Supplies, thresholds set to achieve maximum performance, subject to reliability constraints

CMOS Performance Optimization Sizing: Optimal performance with equal fanout per stage Extendable to general logic cone through ‘logical effort’ Equal effective fanouts (giCi+1/Ci) per stage Example: memory decoder [Ref: I. Sutherland, Morgan-Kaufman‘98]

Model not Appropriate Any Longer Traditional scaling model Maintaining the frequency scaling model While slowing down voltage scaling

The New Design Philosophy Maximum performance (in terms of propagation delay) is too power-hungry, and/or not even practically achievable Many (if not most) applications either can tolerate larger latency, or can live with lower than maximum clock-speeds Excess performance (as offered by technology) to be used for energy/power reduction Trading off speed for power

Relationship Between Power and Delay 1 2 3 4 -0. 0.4 0.8 0.2 0.6 x 10 -4 VTH (V) VDD Power (W) A B 1 2 3 4 -0.4 0.4 0.8 5 x 10 -10 Delay (s) VTH (V) VDD A B For a given activity level, power is reduced while delay is unchanged if both VDD and VTH are lowered such as from A to B. [Ref: T. Sakurai and T. Kuroda, numerous references]

The Energy-Delay Space Equal performance curves VDD Equal energy curves VTH Energy minimum

Energy-Delay Product as a Metric 3.5 3 delay 90 nm technology VTH approx 0.35V 2.5 2 1.5 energy-delay 1 energy 0.5 0.6 0.7 0.8 0.9 1 1.1 1.2 V DD Energy-delay exhibits minimum at approximately 2 VTH (typical unless leakage dominates)

Exploring the Energy-Delay Space Unoptimized design Emax Pareto-optimal designs Emin Dmin Dmax Delay In energy-constrained world, design is trade-off process Minimize energy for a given performance requirement Maximize performance for given energy budget [Ref: D. Markovic, JSSC’04]

Summary Power and energy are now primary design constraints Active power still dominating for most applications Supply voltage, activity and capacitance the key parameters Leakage becomes major factor in sub-100nm technology nodes Mostly impacted by supply and threshold voltages Design has become energy-delay trade-off exercise!

References D. Markovic, V. Stojanovic, B. Nikolic, M.A. Horowitz, R.W. Brodersen, “Methods for True Energy-Performance Optimization,” IEEE Journal of Solid-State Circuits, vol. 39, no. 8, pp. 1282-1293, Aug. 2004. J. Rabaey, A. Chandrakasan, B. Nikolic, “Digital Integrated Circuits: A Design Perspective,” 2nd ed, Prentice Hall 2003. Takayasu Sakurai, ”Perspectives on power-aware electronics,”  Digest of Technical Papers ISSCC, pp. 26-29, Febr. 03. I. Sutherland, B. Sproull, and D. Harris, “Logical Effort”, Morgan Kaufmann, 1999. H. Veendrick, “Short-Circuit Dissipation of Static CMOS Circuitry and its Impact on the Design of Buffer Circuits,” IEEE Journal of Solid-State Circuits, Vol. SC-19, no. 4, pp.468–473, 1984.