power estimation and optimization for soc design d90943007 盧勤庸 d90943005 葉柏園

22
Power Estimation and Power Estimation and Optimization for SoC Optimization for SoC Design Design D90943007 D90943007 盧盧盧 盧盧盧 D90943005 D90943005 盧盧盧 盧盧盧

Upload: alison-preston

Post on 05-Jan-2016

233 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Power Estimation and Optimization for SoC Design D90943007 盧勤庸 D90943005 葉柏園

Power Estimation and Power Estimation and Optimization for SoC DesignOptimization for SoC Design

D90943007 D90943007 盧勤庸盧勤庸D90943005 D90943005 葉柏園葉柏園

Page 2: Power Estimation and Optimization for SoC Design D90943007 盧勤庸 D90943005 葉柏園

OutlineOutline

Why low power for system design?Why low power for system design? How to design a low power system How to design a low power system

for SoC.for SoC. Some power estimation tools.Some power estimation tools. ConclusionConclusion ReferenceReference

Page 3: Power Estimation and Optimization for SoC Design D90943007 盧勤庸 D90943005 葉柏園

Power Driver: SpeedPower Driver: Speed

Page 4: Power Estimation and Optimization for SoC Design D90943007 盧勤庸 D90943005 葉柏園

Power Limit: Energy Density Power Limit: Energy Density

Page 5: Power Estimation and Optimization for SoC Design D90943007 盧勤庸 D90943005 葉柏園

Impact of System ArchitectureImpact of System Architecture

StrongARM RStrongARM RISCISC ARMARM ARM+ASICARM+ASIC ASICASIC ASIC (low ASIC (low

power, 1v)power, 1v)

PerformancePerformance 0.28s0.28s 1.12s1.12s 0.7s0.7s 10ms10ms 46ms46ms

PowerPower 0.42J0.42J 0.62J0.62J 0.3J0.3J 0.63mJ0.63mJ 22.2uJ22.2uJ

EffortEffort 1-2 weeks1-2 weeks 1.5 1.5 weeksweeks 2-4 weeks2-4 weeks 9 months9 months 15 months15 months

Page 6: Power Estimation and Optimization for SoC Design D90943007 盧勤庸 D90943005 葉柏園

Design Flow of Low Power SystemDesign Flow of Low Power System

Specification

Architecture Design

High-Level Synthesis

RT-Level

Synthesis

Gate-Level

Power Optimization

Power Analysis

Power Optimization

Power Gain

+

-

Page 7: Power Estimation and Optimization for SoC Design D90943007 盧勤庸 D90943005 葉柏園

Power Reduction TechniquesPower Reduction Techniques

Voltage Scaling: Vcc reduction is the most efVoltage Scaling: Vcc reduction is the most effective way for reduction power.fective way for reduction power.• Leakage power is bigger factor.Leakage power is bigger factor.• Exacerbate noise and reliability concerns.Exacerbate noise and reliability concerns.

Page 8: Power Estimation and Optimization for SoC Design D90943007 盧勤庸 D90943005 葉柏園

Power Reduction Techniques (cont.)Power Reduction Techniques (cont.)

Clock gating: Reduce the switched Clock gating: Reduce the switched capacitance on the clocks.capacitance on the clocks.

Low power libraries: Designed with Low power libraries: Designed with power “in mind”.power “in mind”.

Page 9: Power Estimation and Optimization for SoC Design D90943007 盧勤庸 D90943005 葉柏園

Power Reduction Techniques Power Reduction Techniques (cont.)(cont.)

Power-Delay Power-Delay curves: the choice curves: the choice of logic family used of logic family used can greatly can greatly influence the influence the circuit’s power circuit’s power consumption.consumption.

Page 10: Power Estimation and Optimization for SoC Design D90943007 盧勤庸 D90943005 葉柏園

Power Reduction Techniques Power Reduction Techniques (cont.)(cont.)

Low power logic synthesis: show 10% power Low power logic synthesis: show 10% power saving for synthesis block.saving for synthesis block.

System power management: monitor the System power management: monitor the system activity and enforce the movement of system activity and enforce the movement of the system components between different the system components between different power states.power states.

Software based power reduction: CPU power Software based power reduction: CPU power consumption is dominated by a large cost consumption is dominated by a large cost factor (clock, caches, etc.) that for the most factor (clock, caches, etc.) that for the most part, does not vary much from one cycle to part, does not vary much from one cycle to the other.the other.

Page 11: Power Estimation and Optimization for SoC Design D90943007 盧勤庸 D90943005 葉柏園

Power Estimation Tool: JouleTrackPower Estimation Tool: JouleTrack Designed from MIT.Designed from MIT. A web based tool for software energy A web based tool for software energy

profiling.profiling. There are three order estimation:There are three order estimation:

• First order: Current consumption is independent First order: Current consumption is independent of the code and depends only on the voltage and of the code and depends only on the voltage and frequency.frequency.

• Second order: Uses energy differentiated Second order: Uses energy differentiated instruction.instruction.

• Third order: Separate the leakage and switching Third order: Separate the leakage and switching energy components.energy components.

Page 12: Power Estimation and Optimization for SoC Design D90943007 盧勤庸 D90943005 葉柏園

Current Consumption of StrongARM Current Consumption of StrongARM SA-1100 Instruction SetSA-1100 Instruction Set

Page 13: Power Estimation and Optimization for SoC Design D90943007 盧勤庸 D90943005 葉柏園

Current consumption of 6 different benchmark proCurrent consumption of 6 different benchmark programs at different supply voltage and frequency legrams at different supply voltage and frequency le

vels in the StrongARMvels in the StrongARM

Page 14: Power Estimation and Optimization for SoC Design D90943007 盧勤庸 D90943005 葉柏園

First and Second Order Model First and Second Order Model Predictions ErrorPredictions Error

Page 15: Power Estimation and Optimization for SoC Design D90943007 盧勤庸 D90943005 葉柏園

JouleTrack Block DiagramJouleTrack Block Diagram

Page 16: Power Estimation and Optimization for SoC Design D90943007 盧勤庸 D90943005 葉柏園

Power Estimation Tool: SimplePowPower Estimation Tool: SimplePowerer

Designed from Penn State University.Designed from Penn State University. A framework for evaluating the effect of hiA framework for evaluating the effect of hi

gh-level algorithmic, architectural, and cogh-level algorithmic, architectural, and compilation trade-offs on energy.mpilation trade-offs on energy.

It consists of the compilation framework aIt consists of the compilation framework and the energy simulator.nd the energy simulator.

Energy simulator is a five-stage pipeline daEnergy simulator is a five-stage pipeline datapath.tapath.

Page 17: Power Estimation and Optimization for SoC Design D90943007 盧勤庸 D90943005 葉柏園

Compilation framework of SimplePCompilation framework of SimplePowerower

SimpleScalarGCC

SimpleScalarGAS

SimpleScalarGLD

High LevelComplier

Optimizations

Low LevelComplier

Optimizations

RT LevelOptimizations

SimplePower

Output Module

Energy Statistics

C SourceCode

Assembly Object file

Core energy

Memory energyBus energy

I/O Pads energy

Executables

Page 18: Power Estimation and Optimization for SoC Design D90943007 盧勤庸 D90943005 葉柏園

Energy Simulator of SimplePowerEnergy Simulator of SimplePower

Page 19: Power Estimation and Optimization for SoC Design D90943007 盧勤庸 D90943005 葉柏園

Power Estimation Tool: PACTPower Estimation Tool: PACT

Designed from Northwestern Designed from Northwestern University.University.

Power-Aware Architecture and Power-Aware Architecture and Compilation Techniques.Compilation Techniques.

Take an application written in the C Take an application written in the C programming language.programming language.

Generate power-efficient and Generate power-efficient and performance-efficient code for performance-efficient code for embedded system.embedded system.

Page 20: Power Estimation and Optimization for SoC Design D90943007 盧勤庸 D90943005 葉柏園

The Architecture of PACTThe Architecture of PACT

Page 21: Power Estimation and Optimization for SoC Design D90943007 盧勤庸 D90943005 葉柏園

ConclusionConclusion

Power consumption is a serious Power consumption is a serious problem for SoC design.problem for SoC design.

Techniques that have been tried on Techniques that have been tried on real designs in the past are real designs in the past are described.described.

Some power estimation tools which Some power estimation tools which estimate the power consumption of estimate the power consumption of embedded systems.embedded systems.

Page 22: Power Estimation and Optimization for SoC Design D90943007 盧勤庸 D90943005 葉柏園

ReferenceReference W. Fornaciari, P. Gubian, D. Sciuto, and C. Silvano, “Power EstimW. Fornaciari, P. Gubian, D. Sciuto, and C. Silvano, “Power Estim

ation of Embedded Systems: A Hardware/Software Codesign Appation of Embedded Systems: A Hardware/Software Codesign Approach”, IEEE Tran. On Very Large Scale Integration (VLSI) Systeroach”, IEEE Tran. On Very Large Scale Integration (VLSI) Systems, Vol. 6, No. 2, pp.266-275, 1998.ms, Vol. 6, No. 2, pp.266-275, 1998.

W. Ye, N. Vijaykrishnan, M. Kandemir, and M. J. Irwin, “The DesigW. Ye, N. Vijaykrishnan, M. Kandemir, and M. J. Irwin, “The Design and Use of SimplePower: A Cycle-Accurate Energy Estimation Tn and Use of SimplePower: A Cycle-Accurate Energy Estimation Tool”, Design Automation conference, 2000.ool”, Design Automation conference, 2000.

L. Benini, A. Bogliolo, and G. De Micheli, “A Survey of Design TecL. Benini, A. Bogliolo, and G. De Micheli, “A Survey of Design Techniques for System-Level Dynamic Power Management”, IEEE Thniques for System-Level Dynamic Power Management”, IEEE Tran. On Very Large Scale Integration (VLSI) Systems, Vol. 8, No. 3, ran. On Very Large Scale Integration (VLSI) Systems, Vol. 8, No. 3, pp.299-316, 2000.pp.299-316, 2000.

V. Tiwari, D. Singh, S. Rajgopal, G. Mehta, R. Patel, and F. Baez, “V. Tiwari, D. Singh, S. Rajgopal, G. Mehta, R. Patel, and F. Baez, “Reducing Power in High-performance Microprocessors”, 35th DReducing Power in High-performance Microprocessors”, 35th Design Automation conference, 1998.esign Automation conference, 1998.

A. Sinha and A. P. Chandrakasan, “JouleTrack – A Web Based ToA. Sinha and A. P. Chandrakasan, “JouleTrack – A Web Based Tool for Software Energy Profiling”, Design Automation conferencol for Software Energy Profiling”, Design Automation conference, 2001.e, 2001.