Top Banner
1 VLSI Design SMD154 LOW-POWER DESIGN Magnus Eriksson & Simon Olsson
24
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: 1 VLSI Design SMD154 LOW-POWER DESIGN Magnus Eriksson & Simon Olsson.

1

VLSI DesignSMD154

LOW-POWER DESIGN

Magnus Eriksson & Simon Olsson

Page 2: 1 VLSI Design SMD154 LOW-POWER DESIGN Magnus Eriksson & Simon Olsson.

2

Today’s Topics

• Introduction• Power consumption• How to reduce power consumption• Tools used• In the future

Page 3: 1 VLSI Design SMD154 LOW-POWER DESIGN Magnus Eriksson & Simon Olsson.

3

Introduction

• Why do we want to decrease power consumption?– The marked wants longer battery life, higher

performance and smaller size for portable devices

– Small embedded systems with a small power source that needs to have a long life time

– Lower power consumption decreases working temperature of the device

Page 4: 1 VLSI Design SMD154 LOW-POWER DESIGN Magnus Eriksson & Simon Olsson.

4

Introduction

• Higher performance and longer battery life is conflicting demands– Sophisticated design techniques is needed to

meet both of them

• Power management is one of the most critical design issues– Meet the demands of the market– Keep the working temperature at a acceptable

level

Page 5: 1 VLSI Design SMD154 LOW-POWER DESIGN Magnus Eriksson & Simon Olsson.

5

Where is the power consumed?

• Where is the power consumed?– Static power consumption– Short circuit power consumption– Dynamic power consumption

dynamiccirciutshortstaticaverage PPPP _

Average power consumption

Static <1%

Short curcuit ~10%

Dynamic 90%

Page 6: 1 VLSI Design SMD154 LOW-POWER DESIGN Magnus Eriksson & Simon Olsson.

6

Where is the power consumed?

• Static power consumption

PULL-UPNETWORK

PULL-DOWNNETWORK

GND

Vdd

in out

GND

leakageDDstatic IVP

Page 7: 1 VLSI Design SMD154 LOW-POWER DESIGN Magnus Eriksson & Simon Olsson.

7

Where is the power consumed?

• Short circuit power consumption

PULL-UPNETWORK

PULL-DOWNNETWORK

GND

Vdd

in out

GND

Ishort_circuit

circuitshortDDcirciutshort IVP __

Page 8: 1 VLSI Design SMD154 LOW-POWER DESIGN Magnus Eriksson & Simon Olsson.

8

Where is the power consumed?

• Dynamic power consumption

fVCP DDOUTdynamic 2

2

1 PULL-UP

NETWORK

PULL-DOWNNETWORK

GND

Vdd

in out

GND

Idynamic

ß Switching activity

Cout Switching capacitance

VDD Supply voltage

f Frequency

Page 9: 1 VLSI Design SMD154 LOW-POWER DESIGN Magnus Eriksson & Simon Olsson.

9

Reducing dynamic power consumption

• Decreasing switching activity (ß)– Can be done by using specific algorithms and coding modes.– This is the easiest way for a designer to influence the power

consumption.

• Decreasing switching capacitance (Cout)– Can be done by using shorter wires and smaller devices.– Can only be changed below gate level.

fVCP DDOUTdynamic 2

2

1

Page 10: 1 VLSI Design SMD154 LOW-POWER DESIGN Magnus Eriksson & Simon Olsson.

10

Reducing dynamic power consumption

• Decreasing supply voltage (VDD)– Has the biggest influence on dynamic power consumption.– Lower supply voltage results bigger delays.– The critical path must be reduced to make a lower supply

voltage possible.

• Decreasing frequency (f)– Will reduce the performance.– Performance and power consumption must be balanced.

fVCP DDOUTdynamic 2

2

1

Page 11: 1 VLSI Design SMD154 LOW-POWER DESIGN Magnus Eriksson & Simon Olsson.

11

Decreasing switching activity

• Different coding techniques– Fewer bit transitions between two states

• Boolean expressions simplification– Gate minimization

• Avoid glitches– Get rid off unnecessary transitions

• Power down modes– Turn off parts of that are not in use

Page 12: 1 VLSI Design SMD154 LOW-POWER DESIGN Magnus Eriksson & Simon Olsson.

12

Different coding techniques

• Gray coding– Hamming distance of

one– Used when a sequence

is predictable• FSMs• Address busses

– Makes full use of the bit-width

000100

101

111

110

001

011

010

Page 13: 1 VLSI Design SMD154 LOW-POWER DESIGN Magnus Eriksson & Simon Olsson.

13

Different coding techniques

• Bus-inversion coding (BI)– Compare the previous and current word– Invert the data if it results in fewer transitions– A flag bit is used with the bus to indicate if the

data is inverted or not– Suited for data busses

• Partial bus-inversion (PBI)– Divides the bus in different parts with its own

flag– Suited for address busses

Page 14: 1 VLSI Design SMD154 LOW-POWER DESIGN Magnus Eriksson & Simon Olsson.

14

Different coding techniques

• Sign magnitude– Uses only one bit for the sign in contrast too

two’s complement– Result in fewer transitions when going from a

positive to a negative number– Needs more logic to implement than two’s

complement

bn bn-1 ... b0

magnitudesign

Page 15: 1 VLSI Design SMD154 LOW-POWER DESIGN Magnus Eriksson & Simon Olsson.

15

Boolean expressions simplification

• Minimize the number of gates to avoid unnecessary transitions

• Just minimize the number of gates is not optimal if the activity of the signals differ– One example

• Both expressions have the same number of gates• If A have the highest transition activity Y is the better

solution (A only affects two gates instead of three)

X = AB + AC + CDY = A(B + C) + CD

Page 16: 1 VLSI Design SMD154 LOW-POWER DESIGN Magnus Eriksson & Simon Olsson.

16

Avoid glitches

• Glitches results in unnecessary transitions, glitching power loss

• Logic with a long depth are more prone to have glitches

• Flip-flops can be added to shorten the depth of the logic to minimize the influence of glitches

Page 17: 1 VLSI Design SMD154 LOW-POWER DESIGN Magnus Eriksson & Simon Olsson.

17

Power down modes

• Power supply shut down– Turns of the power in an entire module– Reducing the power consumption in that part to

zero

• Clock gating– Halts the clock signal and reduces dynamic

power consumption to zero– There will still be leakage– Gating the clock will increase the clock skew

Page 18: 1 VLSI Design SMD154 LOW-POWER DESIGN Magnus Eriksson & Simon Olsson.

18

Power down modes

• Memory partitioning– Shut down a part of the memory that is not

used, no information is stored at the moment– Some method to know when a partition is used

is needed– Memory usage spread out over several

partitions can be a problem

• Flip-flop enable– Decreases switching activity of flip-flops that

are disabled but the clock signal is still active at all the time

Page 19: 1 VLSI Design SMD154 LOW-POWER DESIGN Magnus Eriksson & Simon Olsson.

19

Tools

• Two major categories– Power-analysis/estimation

• Estimates what parts of the design that will consume most power

• Lets the designer do high level optimizations in an early stage

– Power-optimization• Implements different power optimization techniques• Can be done without the interaction of the designer

Page 20: 1 VLSI Design SMD154 LOW-POWER DESIGN Magnus Eriksson & Simon Olsson.

20

Tools

• Used on different levels of the design– Behavior-level

• Not implemented in any commercial tools

– RT-level• Fast power estimations can be done due to the high

abstraction level• Clock gating can be implemented as a power

optimization at this level

Page 21: 1 VLSI Design SMD154 LOW-POWER DESIGN Magnus Eriksson & Simon Olsson.

21

Tools

• Used on different levels of the design (cont.)– Gate-level

• The power consumption can be estimated from the equation for dynamic power consumption

• Medium accuracy and speed

– Transistor-level• The result is very accurate both for power estimation

and optimization• Tools used at this level are not very popular due to;

high runtime and that most vendors do not provide transistor level netlists

Page 22: 1 VLSI Design SMD154 LOW-POWER DESIGN Magnus Eriksson & Simon Olsson.

22

Tools

• Cadence Encounter– Supports power

optimizations, e.g.• Clock gating• Multi-supply voltage

(voltage scaling)

– See figure for complete low-power design flow

Page 23: 1 VLSI Design SMD154 LOW-POWER DESIGN Magnus Eriksson & Simon Olsson.

23

Tools

• Synopsys power compiler– Used both for power analysis and power

optimization– Power analysis can be done both on RT- and

gate-level– Power optimizations that can be done are

• Clock gating• Operand isolation• Leakage optimization• Etc.

Page 24: 1 VLSI Design SMD154 LOW-POWER DESIGN Magnus Eriksson & Simon Olsson.

24

The future

• To meet the demands of higher performance and longer battery time new techniques are needed

• Leakage will be a bigger part of the total power consumption when smaller technologies are used