Basics of Energy & Power Dissipation

Slides:



Advertisements
Similar presentations
Power Reduction Techniques For Microprocessor Systems
Advertisements

11/29/2004EE 42 fall 2004 lecture 371 Lecture #37: Memory Last lecture: –Transmission line equations –Reflections and termination –High frequency measurements.
EE42/100, Spring 2006Week 14a, Prof. White1 Week 14a Propagation delay of logic gates CMOS (complementary MOS) logic gates Pull-down and pull-up The basic.
S. Reda EN160 SP’08 Design and Implementation of VLSI Systems (EN1600) Lecture 14: Power Dissipation Prof. Sherief Reda Division of Engineering, Brown.
S. Reda EN160 SP’07 Design and Implementation of VLSI Systems (EN0160) Lecture 13: Power Dissipation Prof. Sherief Reda Division of Engineering, Brown.
Lecture 5 – Power Prof. Luke Theogarajan
Lecture 7: Power.
Lecture 21, Slide 1EECS40, Fall 2004Prof. White Lecture #21 OUTLINE –Sequential logic circuits –Fan-out –Propagation delay –CMOS power consumption Reading:
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:
Energy and Power Lecture notes S. Yalamanchili and S. Mukhopadhyay.
Power Management Lecture notes S. Yalamanchili and S. Mukhopadhyay.
EE466: VLSI Design Power Dissipation. Outline Motivation to estimate power dissipation Sources of power dissipation Dynamic power dissipation Static power.
17 Sep 2002Embedded Seminar2 Outline The Big Picture Who’s got the Power? What’s in the bag of tricks?
Lecture 2 1 Computer Elements Transistors (computing) –How can they be connected to do something useful? –How do we evaluate how fast a logic block is?
Lecture 03: Fundamentals of Computer Design - Trends and Performance Kai Bu
Logic Synthesis For Low Power CMOS Digital Design.
Basics of Energy & Power Dissipation Lecture notes S. Yalamanchili, S. Mukhopadhyay. A. Chowdhary.
1 EE 587 SoC Design & Test Partha Pande School of EECS Washington State University
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.
Introduction to Clock Tree Synthesis
Z. Feng MTU EE4800 CMOS Digital IC Design & Analysis 6.1 EE4800 CMOS Digital IC Design & Analysis Lecture 6 Power Zhuo Feng.
CS203 – Advanced Computer Architecture
LOW POWER DESIGN METHODS
Damu, 2008EGE535 Fall 08, Lecture 51 EGE535 Low Power VLSI Design Lecture #5 & 6 CMOS Inverter.
COE 360 Principles of VLSI Design Delay. 2 Definitions.
COMP541 Transistors and all that… a brief overview
Smruti R. Sarangi IIT Delhi
IAY 0600 Digital Systems Design
CS203 – Advanced Computer Architecture
Memories.
Temperature and Power Management
Digital Integrated Circuits for Communication
THE CMOS INVERTER.
IV UNIT : GATE LEVEL DESIGN
The Inverter EE4271 VLSI Design Professor Shiyan Hu Office: EERC 518
LOW POWER DESIGN METHODS V.ANANDI ASST.PROF,E&C MSRIT,BANGALORE.
Architecture & Organization 1
Circuits and Interconnects In Aggressively Scaled CMOS
VLSI Design MOSFET Scaling and CMOS Latch Up
Downsizing Semiconductor Device (MOSFET)
Prof. Vojin G. Oklobdzija
Reading: Hambley Ch. 7; Rabaey et al. Sec. 5.2
ENG2410 Digital Design “CMOS Technology”
COOLRUNNER II REAL DIGITAL CPLD
Architecture & Organization 1
332:479 Concepts in VLSI Design Lecture 24 Power Estimation
Device Physics – Transistor Integrated Circuit
Downsizing Semiconductor Device (MOSFET)
ELEC 6970: Low Power Design Class Project By: Sachin Dhingra
ELEC 5270/6270 Spring 2011 Low-Power Design of Electronic Circuits Pass Transistor Logic: A Low Power Logic Family Vishwani D. Agrawal James J. Danaher.
Introduction to CMOS VLSI Design Lecture 5: DC & Transient Response
Chapter 1 Introduction.
The Inverter EE4271 VLSI Design Dr. Shiyan Hu Office: EERC 731
2.C Memory GCSE Computing Langley Park School for Boys.
Device Physics – Transistor Integrated Circuit
Lecture 7: Power.
What is Computer Architecture?
COMS 361 Computer Organization
Power and Heat Power Power dissipation in CMOS logic arises from the following sources: Dynamic power due to switching current from charging and discharging.
What is Computer Architecture?
Lecture 7: Power.
Reading: Hambley Ch. 7; Rabaey et al. Secs. 5.2, 5.5, 6.2.1
Technology scaling Currently, technology scaling has a threefold objective: Reduce the gate delay by 30% (43% increase in frequency) Double the transistor.
COMP541 Transistors and all that… a brief overview
Arithmetic Building Blocks
COMBINATIONAL LOGIC - 2.
CSE378 Introduction to Machine Organization
Dr. Hari Kishore Kakarla ECE
Presentation transcript:

Basics of Energy & Power Dissipation Lecture notes S. Yalamanchili, S. Mukhopadhyay. A. Chowdhary

Outline Basic Concepts Dynamic and Static Power Volatile vs. Non-Volatile Memory Time, Energy, Power Tradeoffs Activity model for power estimation Combinational and sequential logic Opportunities for Low Power Design

Reading Goal: Understand http://en.wikipedia.org/wiki/CPU_power_dissipation http://en.wikipedia.org/wiki/CMOS#Power:_switching_a nd_leakage http://www.xbitlabs.com/articles/cpu/display/core-i5- 2500t-2390t-i3-2100t-pentium-g620t.html http://www.cpu-world.com/info/charts.html Goal: Understand The sources of power dissipation in combinational and sequential circuits Power vs. energy Options for controlling power/energy dissipation

Basic Concepts

Where Does the Power Go in CMOS? Dynamic Power Consumption Caused by switching transitions  cost of switching state Static Power Consumption Caused by leakage currents in the absence of any switching activity Power consumption per transistor changes with each technology generation No longer reducing at the same rate What happens to power density? Vin Vout Vdd PMOS Ground NMOS AMD Trinity APU

n-channel MOSFET tox GATE SOURCE DRAIN L GATE SOURCE BODY DRAIN L Vgs < Vt transistor off - Vt is the threshold voltage Vgs > Vt transistor on Impact of threshold voltage Higher Vt, slower switching speed, lower leakage Lower Vt, faster switching speed, higher leakage Actual physics is more complex but this will do for now!

Charge as a State Variable For computation we should be able to identify if each of the variable (a,b,c,x,y) is in a ‘1’ or a ‘0’ state. We could have used any physical quantity to do that Voltage Current Electron spin Orientation of magnetic field ……… a b c x y All nodes have some capacitance associated with them We choose voltage distinguish between a ‘0’ and a ‘1’. a b c x y Logic 1: Cap is charged Logic 0: Cap is discharged + -

Abstracting Energy Behavior How can we abstract energy consumption for a digital device? Consider the energy cost of charge transfer Modeled as an on/off resistance Vin Vout Vdd PMOS Ground NMOS Vin Vout 1 Modeled as an output capacitance

Switching Delay Vout Vdd Vdd Charging to logic 1

Switching Delay Vout Vdd Vdd Discharging to logic 0

Switch from one state to another To perform computation, we need to switch from one state to another Connect the cap to GND thorough an ON NMOS Vin Vout Vdd PMOS Ground NMOS Logic 1: Cap is charged Logic 0: Cap is discharged + - Connect the cap to VCC thorough an ON PMOS The logic dictates whether a node capacitor will be charged or discharged.

Dynamic and Static Power

Dynamic Power Dynamic power is used in charging and discharging the capacitances in the CMOS circuit. VDD iDD CL VDD Voltage T Time Input to CMOS inverter Output Capacitor Charging Output Capacitor Discharging CL = load capacitance

Switching Energy CL is the load capacitance Energy dissipated per transition? Courtesy: Prof. A. Roychowdhury

Dynamic Power vs. Dynamic Energy Dynamic power: consider the rate at which switching (energy dissipation) takes place Time VDD Voltage T Output Capacitor Charging Output Capacitor Discharging Input to CMOS inverter iDD CL activity factor = fraction of total capacitance that switches each cycle

Same Energy = area under the curve Power Vs. Energy P2 Power(watts) P1 P0 Same Energy = area under the curve Time Power(watts) P0 Time Energy is a rate of expenditure of energy One joule/sec = one watt Both profiles use the same amount of energy at different rates or power

Static Power Technology scaling has caused transistors to become smaller and smaller. As a result, static power has become a substantial portion of the total power. GATE SOURCE DRAIN Gate Leakage Junction Leakage Sub-threshold Leakage

Temperature Dependence As temperature increases static power increases1 Technology Dependent Normalized Leakage Current Supply voltage #Transistors [[[[[[[ 1J. Butts and G. Sohi, “A Static Power Model for Architects, MICRO 2000

Temperature effects increases static power! Thermal Wall 3D Stack Heat Map Thermal Wall Temperature effects increases static power!

Example Intel Atom Z3735F (4C/4T x 1.33 GHz, 22nm, 2MB L2)

Volatile Storage Static Power? DRAM Cell SRAM Cell Word Line Word Line Bit Line Word Line Capacitor Pass Transistor Word Line Bit Line www.tech-faw.com/dimm.html Static Power? www.tech-faw.com/dimm.html

Non-Volatile Storage Technologies Flash Memory Cell Phase Change Memory Cell http://www.explainthatstuff.com/ https://www.ecnmag.com/article/2011 Static Power? Does not lose state when power is turned off Higher densities than volatile storage Slower access times (longer, higher energy writes

System Level Tradeoffs

The End of Energy Scaling When was this prediction made?

Power Density Growth Power Density in mW/mm2 From M. Horowitz, “Computing’s Energy Problem (And What We Can Do About It),” ISSCC 2014

It Gets Worse From R. Borkar, M. Bohr, and S. Jourdan, “Advancing Moore’s Law in 2014 – Intel!”

Improve Energy Efficiency via Customization! Solutions? Improve Energy Efficiency via Customization!

Energy-Delay Interaction Energy or delay Energy-Delay Product (EDP) Power State Target of optimization VDD VDD Delay decreases with supply voltage but energy/power increases

Static Energy-Delay Interaction leakage or delay Vth leakage delay tox SOURCE DRAIN L GATE Static energy increases exponentially with decrease in threshold voltage Delay increases with threshold voltage

Higher Level Blocks Vdd A B C A C B Vdd A B C A B C

Gate Power Dissipation Switching activity depends on the input pattern and combinational logic Consider a 01 transition on the output of a gate Probability gate output was 0 Probability gate output is 1 = number of 0’s in the truth table Example:

ALU Energy Consumption 3 R e s u l t O p r a i o n 1 C y I B v b 2 L Can we count the number of transitions in each 1-bit ALU for an operation? Can we estimate static power? Computing per operation energy

Closer Look: A 4-bit Ripple Adder Carry Cin S3 S2 S1 S0 Critical Path = DXOR+4*(DAND+DOR) for 4-bit ripple adder (9 gate levels) For an N-bit ripple adder Critical Path Delay ~ 2(N-1)+3 = (2N+1) Gate delays Activity (and therefore power) is a function of the input data values!

We will see later that these two are interrelated! Implications Combinational Logic clk cond input What if I halved the frequency? What if I lower the voltage? How can I reduce the capacitance? We will see later that these two are interrelated!

The World Today Yesterday scaling to minimize time (max F) Maximum performance (minimum time) is too expensive in terms of power Imagine scaling voltage by 0.7 and frequency by 1.5  how does dynamic power scale? Today: trade/balance performance for power efficiency

Factors Affecting Power Transistor size Affects capacitance (CL) Rise times and fall times (delay) Affects short circuit power (not in this course) Threshold voltage Affects leakage power Temperature Switching activity Frequency (F) and number of switching transistors ( ) Vin Vout Vdd PMOS Ground NMOS

Low Power Design: Options? Reduce Vdd Increases gate delay Note that this means it reduces the frequency of operation of the processor! Compensate by reducing threshold voltage? Increase in leakage power Reduce frequency Computation takes longer to complete Consumes more energy (but less power) if voltage is not scaled

Example AMD Trinity A10-5800 APU: 100W TDP CPU P-state Voltage (V) Freq (MHz) HW Only (Boost) Pb0 1 2400 Pb1 0.875 1800 SW-Visible P0 0.825 1600 P1 0.812 1400 P2 0.787 1300 P3 0.762 1100 P4 0.75 900

Optimizing Power vs. Energy Maximize battery life  minimize energy Should we reduce clock frequency by 2 (reduce dynamic power) or reduce voltage and frequency by 2 (reduce both static and dynamic power). Let power be P and time T. Option 1: (p/2 + P)2T = 3PT Option 2: (P/8 + P/2)2T = 1.25PT But takes twice as long Thermal envelopes  minimize peak power Example:

Modeling Component Energy Per-use energies can be estimated from Gate level designs and analyses Circuit-level designs and analyses Implementation and measurement There are various open-source tools for analysis Mentor, Cadence, Synopsys, etc. Hardware Design Technology Parameters Circuit-level Estimation Tool Estimation Results: Area, Energy, Timing, etc.

Datapath Elements ALU Hi Multiply Divide Lo $0 $1 $31 FP ALU CPU/Core Co-Processor 1 Vector ALU XMM0 XMM1 XMM15 SIMD Registers Can we measure (offline) the average energy consumed by each component?

A Simple Power Model for Processors Per instruction energy measurements Permits a software model of energy consumption of a program Execution time use to assess power requirements A first order model of energy consumption for software A table of energy consumption per instruction More on this later!

What About Wires? Lumped RC Model Resistance per unit length Capacitance per unit length We will not directly address delay or energy expended in the interconnect in this class Simple architecture model: lump the energy/power with the source component

Summary Two major classes of energy/power dissipation – static and dynamic Managing energy is different from managing power  leads to different solutions Technology plays a major role in determining relative costs Energy of components are often estimated using approximate models of switching activity

Study Guide Explain the difference between energy dissipation and power dissipation Distinguish between static power dissipation and dynamic power dissipation What is the impact of threshold voltage on the delay and energy dissipation? As you increase the supply voltage what is the behavior of the delay of logic elements? Why? As you increase the supply voltage what is the behavior of static and dynamic energy and static and dynamic power of logic elements?

Study Guide (cont.) Do you expect the 0-1 and 1-0 transitions at the output of a gate to dissipate the same amount of energy? For a mobile device, would you optimize power or energy? Why? What are the consequences of trying to optimize one or the other? Why does the energy dissipation of a 32-bit integer adder depend on the input values? If I double the processor clock frequency and run the same program will it take less or more energy?

Study Guide (cont.) When the chip gets hotter, does it dissipate more or less energy? Why? How can you reduce dynamic energy of a combinational logic circuit? How can you reduce static energy of a combinational logic circuit? What is the difference between volatile and non-volatile memory technology? Why do computers use volatile memory technology?

Glossary Dynamic Energy Dynamic Power Load capacitance Non-Volatile Memory Static Energy Static Power Time constant Threshold voltage Switching delay Switching energy Volatile Memory