You are on page 1of 26

Adaptive Voltage Scaling

(AVS)

Alex Vainberg
Email: alex.vainberg@nsc.com
October 13, 2010
Agenda

 AVS Introduction, Technology and Architecture

 Design Implementation

 Hardware Performance Monitors Overview

 AVS Design & Test Flow

November 2009
2
Agenda

 AVS Introduction, Technology and Architecture

 Design Implementation

 Hardware Performance Monitors Overview

 AVS Design & Test Flow

November 2009
3
Traditional Power Management Delivery
VIN
VFIXED
Digital Processor/ASIC
Voltage
Regulator

Digital
Logic

Fixed Voltage = Inefficient System!!!


 No temperature compensation
 No adjustment for lower voltages at lower frequencies
 No compensating for process variation

November 2009
4
PowerWise® Adaptive Voltage Scaling (AVS)

VIN
VAVS
Digital Processor/ASIC
Energy
Advanced Management
Power
PWI
Unit
Digital Controller (EMU)
Logic (APC)

Hardware
Performance E = (α ⋅ C ⋅ f CLK ⋅V 2 + V ⋅ I LEAK )tTASK
Monitor (HPM) DYNAMIC LEAKAGE

Adaptive Voltage Scaling = Maximum power savings


 Process and Temperature Compensation
 No need for frequency-voltage lookup tables
 Real-time continuous closed-up PWI = PowerWise Interface

November 2009
5
Operating Vdd Range –
Device Performance Distribution

Process Variation

Slow Typical Fast

Published (Fixed) VDD


-All silicon guaranteed to function
-Timing models for PTV corners at F

1.32V

1.2V All units will work over


1.08V
full PTV range

November 2009
6
Optimizing Power Efficiency

Process Variation

Slow Typical Fast

Published (Fixed) VDD


-All silicon guaranteed to function
-Timing models for PTV corners at F

1.32V

1.2V Most units expected


1.08V
1.00V
to work over extended
V range

November 2009
7
Optimizing Power Efficiency

Process Variation

Slow Typical Fast

Published (Fixed) VDD


-All silicon guaranteed to function
-Timing models for PTV corners at F

1.32V

1.2V
1.08V
Fast units expected
to work over greatly
extended V range
_V

November 2009
8
AVS Optimizing Power / Full Range

1.32V
Published (Fixed) VDD
1.2V - All silicon guaranteed to function

1.08V - Timing models for PTV corners at F

AVS_Vdd for Lowest Power


-Power controller maintains Vdd to lowest level
possible based on on-
on-chip PTV performance
measurement
- Slow silicon possible lower Vdd based on slack timing
0.9V
0.85V Clamp Minimum VDD
- Independent clamp level for minimum Vdd set with
power controller
- Overrides monitor request to go to a lower Vdd

November 2009
9
Process Variability Comparison

P
T
V

November 2009
10
Agenda

 AVS Introduction, Technology and Architecture

 Design Implementation

 Hardware Performance Monitors Overview

 AVS Design & Test Flow

November 2009
11
AVS Results on 130nm

C u m u la t iv e E n e r g y ( u s in g IE M )
Fixed-Vdd DVS AVS
300000000
Fixed-Vdd
250000000

DVS
Relative Energy

200000000
F IX E D
150000000 AVS DVS
AVS
100000000

50000000
Energy
0
0 100 200 300 400 500
T im e ( s e c o n d s )

• ARM926EJ-S core • Dual ARM7 CPU cores


• Voltage and frequency scaling of • Voltage and frequency scaling of
CPU, Caches ARM7
• Four performance points: • Performance points:
– 60, 120, 180, 240 MHz – 96, 84, 72, 60, 12 MHz
– 0.7V – 1.2V Adaptive Voltage – 0.7V – 1.2V Adaptive Voltage
Range Range

November 2009
12
Measured AVS Power Savings
600 45.0%

40.5% 40.0%
38.9%
500 38.0%
35.7% 35.0%
32.5% 32.9%
400 30.4% 30.0%
29.2%
27.8%

Energy Savings
27.3%
Power (mW)

25.0% Fixed Power (mW)


300 AVS Power (mW)
20.0% AVS Energy Savings

200 15.0%

10.0%
100
5.0%

0 0.0%
1 2 3 4 5 6 7 8 9 10
Samples (Units) TA=25C
• Custom ASIC/SoC design
– process 65nm, freq. greater than 750Mhz
• AVS reduced core power by 27 to 40% at maximum frequency

November 2009
13
Power Saving and Thermal Performance,
65nm process
46.0 56.0

44.0 53.0

With AVS Without AVS

MTBF doubles with reduction of 10°°C

November 2009
14
TN2020 & NSC power solution

November 2009
15
Measurements – TN20xx
Board 29 Measured

Power
Temp AVS OFF AVS ON Savings
deg C mV mV (c. sns.) A Power W mV mV (c. sns.) A Power W

-20.3 805.78 11.92 1.679 1.353 727.7 10.7 1.506 1.096 19.0%

18.7 810.16 14.78 2.082 1.687 718.8 12.9 1.814 1.304 22.7%

58.2 813.88 19.36 2.727 2.219 709.6 16.3 2.298 1.630 26.5%

98.0 818.14 29.31 4.128 3.377 699.7 23.7 3.332 2.332 31.0%

Board 30 Measured

Power
Temp AVS OFF AVS ON Savings
deg C mV mV (c. sns.) A Power W mV mV (c. sns.) A Power W

-20.3 805.6 11.51 1.621 1.306 722.3 10.3 1.451 1.048 19.8%

18.1 811.75 14.17 1.996 1.620 713.7 12.3 1.735 1.238 23.6%

58.2 817.64 18.39 2.590 2.118 704.3 15.5 2.176 1.533 27.6%

98.0 824.11 26.8 3.775 3.111 695.0 21.2 2.986 2.075 33.3%

November 2009
16
AVS System Impact

• System Performance
– Once enabled AVS runs in background
– No processing overhead

• Energy Savings – Scaled Voltage Domain


– Savings vary depending on process geometry, design implementation,
and frequency scaling profile
– Expected energy savings for typical silicon will be 20-50% based on
process and temperature variations

• System Risk Mitigation


– AVS is an additional function in the ASIC/Processor and the power
conversion device
– AVS compliant ASIC/Processor and power conversion devices can still
operate at fixed voltage or DVS without any design changes

November 2009
17
Agenda

 AVS Introduction, Technology and Architecture

 Design Implementation

 Hardware Performance Monitors Overview

 AVS Design & Test Flow

November 2009
18
HPM Overview

• HPM is Embedded in the voltage domain that is AVS


controlled
• HPM translates the voltage level into silicon performance
information
• HPM generated silicon performance information is a
function of voltage level and HPM clock
• APC makes use of silicon performance information to
determine the optimum voltage level for the required
target performance
• Structurally coded synthesizable RTL to facilitate ease of
layout P&R for optimizing silicon performance tracking
accuracy

November 2009
19
HPM and Critical Path Monitoring

Critical path timing is correlated


D Q D Q

Critical
to HPM performance monitoring
Path by setting the Reference
Performance Code (RCC)

Application Clock Period


(Critical Path Delay < this)

0 31
Performance
Code
Passing
HPM Performance

Failure
Point RCC (selectable)

Control Margin

November 2009
20
HPM Performance Code and APC Voltage
Control
Reference Calibration Code

0 15 31

Pre-delay Main-delay
HPM delay line
propagation
PC > RCC
performance > requirement
 adjust voltage level lower
HPM delay line
propagation
PC = RCC
performance = requirement
 no voltage adjustment
HPM delay line
propagation
PC < RCC
• RCC settings reside in APC performance < requirement
• PC is compared to RCC in APC  adjust voltage level higher
• Voltage adjustment initiated by APC

November 2009
21
Agenda

 AVS Introduction, Technology and Architecture

 Design Implementation

 Hardware Performance Monitors Overview

 AVS Design & Test Flow

November 2009
22
APC2 IP SoC View
• Up to 4 AVS domains
• 1 - 4 per scalable clocks per AVS
domain
AVS Power Domain 1 • 1- 4 HPM per clock domain
Clock Clock Clock Clock • APC2
Domain 1 Domain 2 Domain 3 Domain 4 – PWI2.0 interface master
HPM HPM HPM HPM – Up to 4 AVS domains
HPM
HPM HPM
HPM HPM
HPM HPM
HPM
HPM HPM HPM HPM – Enhanced control-system
(1-4) (1-4) (1-4) (1-4) – Adaptive Voltage Scaling
(1-4) closed-loop control based on
performance measurement
data sampled by HPM
MUX – Open-loop voltage scaling via
voltage register table
– 8 performance levels +
Control loop retention level
– Control registers programmed
via AMBA-APB interface
Registers – Auto PL0 back-bias
– Trace port for debug
HPM_CLKS

APB I/F Arbiter


AMBA-APB

Clock PWI 2.0 master PWI 2.0


Management DPRAM (dual master)
SoC

November 2009
23
AVS Design Flow
Power-aware ASIC Design Flow Adding the AVS
Functional specification No. of independent AVS power domains
Power management strategy Frequency scaling  no. of performance levels APC/HPM
Architecture Specification Power domain partitioning No. of clock domains in each AVS power domain Configurations
IP selection No. of HPM for performance tracking
PowerWise Interface pins
IP selection  low voltage std cells and memories

RTL implementation Clock management with performance level interface


Power domains Integrate APC and HPMs
RTL Design Synchronizers at power domain boundary

Functional verification APC/HPM connectivity


Power domains APC programming
Functional Simulation AVS modeling

Gate implementation HPM synthesis


Timing/power/area optimization HPM SCAN chain stitching
Logic Synthesis and DFT SCAN chains
Power domains

Power domains HPM layout


Power gating HPM placement in ASIC
Physical Design Level shifters and isolation cells
Timing/power/area optimization

Equivalency AVS timing verification


Timing HPM timing verification
Sign-off Verification Power

November 2009
24
AVS Production Flow
Typical ASIC Production Flow AVS ASIC Production Flow

• Determine AVS minimum VDD


DC/AC • One time effort DC/AC + AVS • Correlate ASIC
Characterization • Over process and Characterization performance/voltage
temperature corners
requirements to HPM

SCAN and Functional • Manufacturing test SCAN and Functional • Include APC and HPM in the
testing
Test Test

+
• Repeat regular testing at low
Low voltage SCAN voltage and low speed
and Functional Test • Check HPM performance
code

and / or
• Check HPM performance
HPM and Emulated code vs. voltage scaling trend
AVS Test • Identify AVS voltage level and
test functional at speed

November 2009
25
November 2009
26

You might also like