Power Estimation of Digital Systems

12
Embedded Systems Group Department of Computer Science & Engineering Indian Institute of Technology Delhi http://www.cse.iitd.ac.in/esproject Power Estimation of Digital Systems SatyaKiran 22 September 2003

description

SatyaKiran. Power Estimation of Digital Systems. 22 September 2003. Introduction. Why power of nano-electronics became so important? Because of Moore’s law still holds true through complex applications Mobile systems – battery “bottleneck” High performance computation – heat extraction - PowerPoint PPT Presentation

Transcript of Power Estimation of Digital Systems

Page 1: Power Estimation of Digital Systems

Embedded Systems GroupDepartment of Computer Science & Engineering

Indian Institute of Technology Delhihttp://www.cse.iitd.ac.in/esproject

Power Estimation of Digital Systems

SatyaKiran

22 September 2003

Page 2: Power Estimation of Digital Systems

Slide Slide 22SRIJAN Group Seminar, 22/09/2003SRIJAN Group Seminar, 22/09/2003 http://www.cse.iitd.ac.in/esprojecthttp://www.cse.iitd.ac.in/esproject

Introduction

Why power of nano-electronics became so important? Because of Moore’s law still holds true through complex

applications Mobile systems – battery “bottleneck” High performance computation – heat extraction Operating cost and reliability

Data warehouse of ISP with 8000 servers needs 2 MW

Power or Energy? Aren’t they go hand-in-hand? Power varies significantly with time! A given battery has fixed amount of energy Average power consumption = Energy/Execution-time

Decides average chip and junction temperature Decides battery life (if peak current < rated current)

Peak power and current Voltage drops, hot spots, rate of battery discharge

Power-efficient, Energy-efficient, Battery-efficient design paradigms do exist!

Page 3: Power Estimation of Digital Systems

Slide Slide 33SRIJAN Group Seminar, 22/09/2003SRIJAN Group Seminar, 22/09/2003 http://www.cse.iitd.ac.in/esprojecthttp://www.cse.iitd.ac.in/esproject

Components of Power Consumption

System = hardware platform + software (sys. & app.) Software impacts hardware power consumption

Static power Sub-threshold leakage & reverse biased junction leakage Quiescent biasing power (in case of non-CMOS circuits)

Dynamic power Charging and discharging of capacitance (switching

activity) Short circuit power during transition (rate of change,

delay) Alternative grouping (used at component/cell level)

Switching power at the boundaries of cells Internal cell power

• Short circuit power• Switching power at internal nodes

Page 4: Power Estimation of Digital Systems

Slide Slide 44SRIJAN Group Seminar, 22/09/2003SRIJAN Group Seminar, 22/09/2003 http://www.cse.iitd.ac.in/esprojecthttp://www.cse.iitd.ac.in/esproject

System Abstractions - Power

Functional Specifications and Constraints

System Level Netlist

Register Transfer Level (RTL) Netlist

Component/Cell Level Netlist

Layout or Configuration-bits

Chip

Tim

e co

mp

lexity

Accu

racy

of p

ow

er

chara

cteriza

tion

Op

port

un

itie

s fo

r op

tim

izati

on

Page 5: Power Estimation of Digital Systems

Slide Slide 55SRIJAN Group Seminar, 22/09/2003SRIJAN Group Seminar, 22/09/2003 http://www.cse.iitd.ac.in/esprojecthttp://www.cse.iitd.ac.in/esproject

Power Characterization

Measurement (Chip/Board Level) Most accurate Perhaps the fastest, if setup and tools exist Too late to change hardware details Software/Load control is still possible Typically used for software optimizations

Transistor Level (estimation) Spice simulation of transistor level netlist Most accurate in the simulation world Requires complete implementation details Unmanageable time complexity even for simpler designs Typically used for cell/component characterization Synopsys PowerMill (said to provide spice-like accuracy)

Page 6: Power Estimation of Digital Systems

Slide Slide 66SRIJAN Group Seminar, 22/09/2003SRIJAN Group Seminar, 22/09/2003 http://www.cse.iitd.ac.in/esprojecthttp://www.cse.iitd.ac.in/esproject

Power Characterization (cont…)

Cell Level (estimation) After logic synthesis Requires RTL implementation Simulation to capture switching activity

Requires delay simulation if glitches need to be accounted

Characterized cells – empirical formulas or table look-up Interconnect power

Either unaccounted or Using estimated wire load models (typically based on experience)

or Extracted layout (if done after physical synthesis)

Still unmanageable time complexity especially to use in design space exploration

Synopsys PrimePower Netlist, interconnect capacitance, VCD traces, cell power library

Page 7: Power Estimation of Digital Systems

Slide Slide 77SRIJAN Group Seminar, 22/09/2003SRIJAN Group Seminar, 22/09/2003 http://www.cse.iitd.ac.in/esprojecthttp://www.cse.iitd.ac.in/esproject

Power Characterization (cont…)

Register Transfer Level (estimation) Requires conceptual RTL description (detailed micro-

architecture) Data-path is modeled as netlist of macro cells, which

are characterized offline Control path and glue logic

Either unaccounted or estimated based on I/O

Simulation to capture switching activity Typically glitches are not considered but methods do exist

Interconnect power Typically unaccounted but possible to estimate through floor-

planning

Typically used in DSE mostly using in-house tools Synopsys PrimeCompiler – but too naive

Synthesizable RTL, switching activity, power library

Page 8: Power Estimation of Digital Systems

Slide Slide 88SRIJAN Group Seminar, 22/09/2003SRIJAN Group Seminar, 22/09/2003 http://www.cse.iitd.ac.in/esprojecthttp://www.cse.iitd.ac.in/esproject

System Level Power Estimation

For Design Space Exploration Least accurate but uncertainty of exploration

results can be reduced if models have good fidelity Purpose, target architecture and available system

details govern the system-level estimation models Selecting algorithm or designing hardware for given

algorithm? ASIC based or processor based? Is ISA fixed or extensible?

Typically system-level power estimation models are macro-architecture template specific

Major constituents of power consumption Computation, communication, storage units & peripherals

Page 9: Power Estimation of Digital Systems

Slide Slide 99SRIJAN Group Seminar, 22/09/2003SRIJAN Group Seminar, 22/09/2003 http://www.cse.iitd.ac.in/esprojecthttp://www.cse.iitd.ac.in/esproject

Power Estimation Models

Instruction Level Power Estimation First introduced to characterize processor power

consumption to drive software optimizations Each instruction is associated with some current Inter instruction effects for better accuracy

Later experiments on StrongARM by Amit Sinha & APC Current/instruction ~ 0.2A (averaged over all instructions) Min-max variation of 38% of average current Address mode and data dependent variation is smaller But, max current variation across benchmarks is < 8% ! Concluded that first order energy model of a given

processor is, E = V I(V, f) T Second order effects can be significant for data-path

dominated processors such as DSP, VLIW

Page 10: Power Estimation of Digital Systems

Slide Slide 1010SRIJAN Group Seminar, 22/09/2003SRIJAN Group Seminar, 22/09/2003 http://www.cse.iitd.ac.in/esprojecthttp://www.cse.iitd.ac.in/esproject

Power Estimation Models (cont…)

Second order effects are best characterized by events which can be obtained from simulation I = ( W1 C1 + W2 C2 + … ) I0(V, f)

C denotes event frequency W denotes associated weight (obtained by characterization)

Events can be either fine-grained or coarse grained Events can be classes of instructions or Micro-architecture component/sub-component accesses (WATTCH) or Events such as normal accesses, stalls, …

Power State Machines by Luca Benini et. al. States of the FSM represent mode of operation

Active, Idle, Power off, … Transitions are labeled with triggering events, transition

energy cost and perhaps transition times Abstract specification to generate events can be

accompanied Useful to analyze power management schemes

Page 11: Power Estimation of Digital Systems

Slide Slide 1111SRIJAN Group Seminar, 22/09/2003SRIJAN Group Seminar, 22/09/2003 http://www.cse.iitd.ac.in/esprojecthttp://www.cse.iitd.ac.in/esproject

Power Estimation Models (cont…)

Integration of both the above models results in a more powerful model States of the FSM represent mode of operation Certain events cause state change and certain don’t Power/energy consumption in each state can be event and

parameter dependent (empirical formulas, table look-ups) Read and write access of memory in active mode ADD and MUL instructions of a processor # of transitions of a bus

Transitions are labeled with triggering events, transition energy cost and perhaps transition times

Abstract specification to generate events can be accompanied

Useful for both system-level and RTL power estimation of wide variety of components

Trade-off of accuracy Vs characterization effort is possible

Page 12: Power Estimation of Digital Systems

Slide Slide 1212SRIJAN Group Seminar, 22/09/2003SRIJAN Group Seminar, 22/09/2003 http://www.cse.iitd.ac.in/esprojecthttp://www.cse.iitd.ac.in/esproject