30
ICCAD 2003 Algorithm for Achieving Minimum Energy Consumption in CMOS Circuits Using Multiple Supply and Threshold Voltages at the Module Level Yuvraj Singh Dhillon Yuvraj Singh Dhillon Abdulkadir Utku Diril Abhijit Chatterjee Hsien-Hsin Sean Lee School of ECE, School of ECE, Georgia Institute of Technology, Georgia Institute of Technology, Atlanta, GA Atlanta, GA

Yuvraj Singh Dhillon Abdulkadir Utku Diril Abhijit Chatterjee Hsien-Hsin Sean Lee School of ECE,

  • Upload
    gaia

  • View
    88

  • Download
    0

Embed Size (px)

DESCRIPTION

Algorithm for Achieving Minimum Energy Consumption in CMOS Circuits Using Multiple Supply and Threshold Voltages at the Module Level. Yuvraj Singh Dhillon Abdulkadir Utku Diril Abhijit Chatterjee Hsien-Hsin Sean Lee School of ECE, Georgia Institute of Technology, Atlanta, GA. - PowerPoint PPT Presentation

Citation preview

Page 1: Yuvraj Singh Dhillon Abdulkadir Utku Diril Abhijit Chatterjee Hsien-Hsin Sean Lee School of ECE,

ICCAD 2003

Algorithm for Achieving Minimum Energy Consumption in CMOS

Circuits Using Multiple Supply and Threshold Voltages at the Module

Level

Yuvraj Singh DhillonYuvraj Singh DhillonAbdulkadir Utku Diril

Abhijit ChatterjeeHsien-Hsin Sean Lee

School of ECE, School of ECE, Georgia Institute of Technology, Georgia Institute of Technology,

Atlanta, GAAtlanta, GA

Page 2: Yuvraj Singh Dhillon Abdulkadir Utku Diril Abhijit Chatterjee Hsien-Hsin Sean Lee School of ECE,

Y.S. Dhillon et al. ICCAD 2003

- 2 -

Module 3

Module 1

Module 2

Module 4

VDD1 Vth1

d1

VDD3 Vth3 VDD4 Vth4

VDD2 Vth2

d3 d4

d2

Deadline,

Problem Definition

dT

Path 1: Delay=d1+d3+d4

Path 2: Delay=d2+d3+d4

Page 3: Yuvraj Singh Dhillon Abdulkadir Utku Diril Abhijit Chatterjee Hsien-Hsin Sean Lee School of ECE,

Y.S. Dhillon et al. ICCAD 2003

- 3 -

Goal Find the supply and threshold

voltages to be assigned to modules such that: Energy is minimized System delay remains unaffected

Page 4: Yuvraj Singh Dhillon Abdulkadir Utku Diril Abhijit Chatterjee Hsien-Hsin Sean Lee School of ECE,

Y.S. Dhillon et al. ICCAD 2003

- 4 -

Contributions Obtained a minimum energy condition on

supply and threshold voltages Applied Lagrange Multiplier Method Developed an iterative gradient search

algorithm which rapidly converges to the optimum voltage values

Developed a heuristic approach to cluster the optimum voltages into a limited number of supply and threshold voltages

Page 5: Yuvraj Singh Dhillon Abdulkadir Utku Diril Abhijit Chatterjee Hsien-Hsin Sean Lee School of ECE,

Y.S. Dhillon et al. ICCAD 2003

- 5 -

Overview Module Level Delay/Energy Models Lagrange Multiplier Formulation Gradient Search Algorithm Clustering Heuristic Experimental Results Conclusion

Page 6: Yuvraj Singh Dhillon Abdulkadir Utku Diril Abhijit Chatterjee Hsien-Hsin Sean Lee School of ECE,

Y.S. Dhillon et al. ICCAD 2003

- 6 -

Module Level Delay Model

VDDi : Power supply voltage applied to the ith module

: Velocity saturation coefficient Vthi : Threshold voltage k0i : Delay constant To ↓ delay: ↑ VDD, ↓ Vth

0

( )i DDi

iDDi thi

k VdV V

Page 7: Yuvraj Singh Dhillon Abdulkadir Utku Diril Abhijit Chatterjee Hsien-Hsin Sean Lee School of ECE,

Y.S. Dhillon et al. ICCAD 2003

- 7 -

Dynamic Energy Model Model for dynamic energy dissipation

VDDi : Power supply voltage applied to the ith module

k1i : Energy constant k1i includes the effect of both switching

and short-circuit energies To ↓ Ed: ↓ VDD

21di i DDiE k V

Page 8: Yuvraj Singh Dhillon Abdulkadir Utku Diril Abhijit Chatterjee Hsien-Hsin Sean Lee School of ECE,

Y.S. Dhillon et al. ICCAD 2003

- 8 -

Static Energy Model Model for static energy dissipation

k2, k5 : circuit-dependent parameters k3, k4, k6, k7 : process-dependent parameters To ↓ Es: ↓ VDD, ↑ Vth

3 42

i DDi i thik V k Vsi subi gatei i DDi iE E E k V e T

6 75

i DDi i thik V k Vi DDi ik V e T

Page 9: Yuvraj Singh Dhillon Abdulkadir Utku Diril Abhijit Chatterjee Hsien-Hsin Sean Lee School of ECE,

Y.S. Dhillon et al. ICCAD 2003

- 9 -

Problem Formulation

2 4

1 0 1 10 1 1 1

x

A T4321 ddddd

Module 3

Module 1

Module 2

Module 4

VDD1 Vth1

d1

VDD3 Vth3 VDD4 Vth4

VDD2 Vth2

d3 d4

d2

Deadline, dT

Path 1: Delay=d1+d3+d4

Path 2: Delay=d2+d3+d4

Page 10: Yuvraj Singh Dhillon Abdulkadir Utku Diril Abhijit Chatterjee Hsien-Hsin Sean Lee School of ECE,

Y.S. Dhillon et al. ICCAD 2003

- 10 -

Minimize under the constraints for all paths Pj

Ei = Edi + Esi Td is the time constraint VDDi and Vthi are the variables for each

module

Problem Formulation1

N

ii

E

j

i di P

d T

Page 11: Yuvraj Singh Dhillon Abdulkadir Utku Diril Abhijit Chatterjee Hsien-Hsin Sean Lee School of ECE,

Y.S. Dhillon et al. ICCAD 2003

- 11 -

Lagrange Multiplier Formulation

where j is the Lagrange Multiplier for the jth path

For minimum energy consumption:

1 1 11 1

( , , , , , , , ) - [ - ]j

N P

DD th DDN thN P i j i ji j i P

G V V V V E d T

1 1 1( , , , , , , , ) 0

DD th DDN thN P

DDi

G V V V V for all iV

1 1 1( , , , , , , , ) 0

DD th DDN thN P

thi

G V V V V for all iV

T321 p

Page 12: Yuvraj Singh Dhillon Abdulkadir Utku Diril Abhijit Chatterjee Hsien-Hsin Sean Lee School of ECE,

Y.S. Dhillon et al. ICCAD 2003

- 12 -

Minimum Energy Condition

Given delay di for module i, the energy consumed by the module is minimized when

CTEGi=CSEGi

T

N N1 1 2 2

1 1 2 2

EE E

DD DD DD DD DDN DDN

dd dCTEGV V V V V V

T

N N1 1 2 2

1 1 2 2

EE Eandth th th th thN thN

dd dCSEGV V V V V V

TACSEGCTEGConstant Threshold Energy Gradient

Constant Supply Energy Gradient

Page 13: Yuvraj Singh Dhillon Abdulkadir Utku Diril Abhijit Chatterjee Hsien-Hsin Sean Lee School of ECE,

Y.S. Dhillon et al. ICCAD 2003

- 13 -

Gradient Search Algorithm Step 1: Give initial delays to the

modules trying to make all the path delays as close to Td as possible Use the Zero Slack Algorithm

Step 2: For the given delay di for the ith module, solve CTEGi=CSEGi to get VDDi and Vthi for that module

Page 14: Yuvraj Singh Dhillon Abdulkadir Utku Diril Abhijit Chatterjee Hsien-Hsin Sean Lee School of ECE,

Y.S. Dhillon et al. ICCAD 2003

- 14 -

Gradient Search Algorithm Step 3: Calculate the cost for the

current iteration using VDD and Vth values At the minimum energy point, cost will be

zero Step 4:

If cost is less than a predetermined value, done

Else, continue to Step 5

Page 15: Yuvraj Singh Dhillon Abdulkadir Utku Diril Abhijit Chatterjee Hsien-Hsin Sean Lee School of ECE,

Y.S. Dhillon et al. ICCAD 2003

- 15 -

Step 5: Assign new delays to the modules

is the gradient of along the null space vectors of A

Adding a delay vector in the null space of A to the current delay values guarantees that the path delays do not change

Go to Step 2

Gradient Search Algorithm

new curr A totald d k EA totalE totalE

Page 16: Yuvraj Singh Dhillon Abdulkadir Utku Diril Abhijit Chatterjee Hsien-Hsin Sean Lee School of ECE,

Y.S. Dhillon et al. ICCAD 2003

- 16 -

Note about Cost Function

At minimum energy,

Designers can use Cost_fn to evaluate the energy efficiency of their designs

TACSEGCTEG

0)(/)(

)(/))((Cost_fn 1

TTT

TTTTT

AnormAAnorm

AnormAAAAnorm

)(/))((Cost_fn 1 CTEGnormCTEGCTEGAAnorm TT

Page 17: Yuvraj Singh Dhillon Abdulkadir Utku Diril Abhijit Chatterjee Hsien-Hsin Sean Lee School of ECE,

Y.S. Dhillon et al. ICCAD 2003

- 17 -

Clustering Heuristic Assume pp supply voltages and qq threshold

voltages are available (p<N, q<N) Step 1: Obtain initial values for the p

VDD_ps and q Vth_qs from the N optimum VDD_opts and Vth_opts

Step 2: For every module i, find nearest pair [VDD_p(m),Vth_q(n)] to [VDD_opt(i),Vth_opt(i)] and assign to [VDDi,Vthi]

Page 18: Yuvraj Singh Dhillon Abdulkadir Utku Diril Abhijit Chatterjee Hsien-Hsin Sean Lee School of ECE,

Y.S. Dhillon et al. ICCAD 2003

- 18 -

Clustering Heuristic Step 3: Calculate the critical path delay, Tc

If Tc is close to the constraint, Td, done Else, continue to Step 4

Step 4: Obtain new values for the p VDD_ps and q Vth_qs using gradient search Two different cost functions used:

Go to Step 2

2_: ctotaldc TEfnCostTTif

totaldc EfnCostTTif _:

Page 19: Yuvraj Singh Dhillon Abdulkadir Utku Diril Abhijit Chatterjee Hsien-Hsin Sean Lee School of ECE,

Y.S. Dhillon et al. ICCAD 2003

- 19 -

Experimental Results Algorithm applied to ISCAS’85 circuits

and a Wallace tree multiplier Top level modules in the Verilog description

were directly mapped to the modules used in the optimization

The process-dependent parameters (k3, k4, k6, k7) were obtained from SPICE simulations of an inverter

The circuit-dependent parameters (k0, k1, k2, k5) were obtained using Synopsys Design Compiler with TSMC 0.25µ library

Page 20: Yuvraj Singh Dhillon Abdulkadir Utku Diril Abhijit Chatterjee Hsien-Hsin Sean Lee School of ECE,

Y.S. Dhillon et al. ICCAD 2003

- 20 -

Optimizing a Wallace Tree Multiplier

Page 21: Yuvraj Singh Dhillon Abdulkadir Utku Diril Abhijit Chatterjee Hsien-Hsin Sean Lee School of ECE,

Y.S. Dhillon et al. ICCAD 2003

- 21 -

Baseline Circuits (2 Switching Activities)

Page 22: Yuvraj Singh Dhillon Abdulkadir Utku Diril Abhijit Chatterjee Hsien-Hsin Sean Lee School of ECE,

Y.S. Dhillon et al. ICCAD 2003

- 22 -

Unlimited # of Vdd and Vth

Page 23: Yuvraj Singh Dhillon Abdulkadir Utku Diril Abhijit Chatterjee Hsien-Hsin Sean Lee School of ECE,

Y.S. Dhillon et al. ICCAD 2003

- 23 -

Clustering to 2 Vdd and 1 Vth

Page 24: Yuvraj Singh Dhillon Abdulkadir Utku Diril Abhijit Chatterjee Hsien-Hsin Sean Lee School of ECE,

Y.S. Dhillon et al. ICCAD 2003

- 24 -

Summary of Energy Savings

Page 25: Yuvraj Singh Dhillon Abdulkadir Utku Diril Abhijit Chatterjee Hsien-Hsin Sean Lee School of ECE,

Y.S. Dhillon et al. ICCAD 2003

- 25 -

Conclusion Mathematical condition on the supply and

threshold voltages of interconnected modules minimizes the total energy consumption under a delay constraint

Iterative gradient search algorithm rapidly converges to the optimum voltage values

Heuristic clusters the optimum voltages into a limited number of supply and threshold voltages

Achieve energy savings of up to 58.4% with unlimited number of Vdd and Vth

Page 26: Yuvraj Singh Dhillon Abdulkadir Utku Diril Abhijit Chatterjee Hsien-Hsin Sean Lee School of ECE,

Y.S. Dhillon et al. ICCAD 2003

- 26 -

Page 27: Yuvraj Singh Dhillon Abdulkadir Utku Diril Abhijit Chatterjee Hsien-Hsin Sean Lee School of ECE,

ICCAD 2003

Backup Slides

Page 28: Yuvraj Singh Dhillon Abdulkadir Utku Diril Abhijit Chatterjee Hsien-Hsin Sean Lee School of ECE,

Y.S. Dhillon et al. ICCAD 2003

- 28 -

Motivation and Goal Usage of multiple supply voltage planes

and multiple threshold voltages is becoming increasingly necessary in DSM VLSI design Lower power consumption without significant

performance loss Voltage optimization at gate level is highly

complex Large numbers of paths have to be optimized

for power The search space is huge Assigning different supply voltages at gate

level is not technologically feasible

Page 29: Yuvraj Singh Dhillon Abdulkadir Utku Diril Abhijit Chatterjee Hsien-Hsin Sean Lee School of ECE,

Y.S. Dhillon et al. ICCAD 2003

- 29 -

Motivation Why optimize at module level ?

Optimization at gate level is highly complex

Large numbers of paths Search space is huge Assigning different supply voltages at gate

level is not technologically feasible Number of paths is limited Different modules can be assigned

different supply and threshold voltages

Page 30: Yuvraj Singh Dhillon Abdulkadir Utku Diril Abhijit Chatterjee Hsien-Hsin Sean Lee School of ECE,

Y.S. Dhillon et al. ICCAD 2003

- 30 -

Summary of Delay/Energy Modeling For any module:

To ↓ delay: ↑ VDD, ↓ Vth To ↓ Ed: ↓ VDD To ↓ Es: ↓ VDD, ↑ Vth

For given fixed module delay, di, optimum VDDi and Vthi values can be found that minimize Ei=Edi+Esi