9/08/05ELEC5970-001/6970-001 Lecture 51 ELEC 5970-001/6970-001(Fall 2005) Special Topics in...

25
9/08/05 ELEC5970-001/6970-001 Lecture 5 1 ELEC 5970-001/6970-001(Fall 2005) Special Topics in Electrical Engineering Low-Power Design of Electronic Circuits Dual-Threshold Low-Power Devices Vishwani D. Agrawal James J. Danaher Professor Department of Electrical and Computer Engineering Auburn University http://www.eng.auburn.edu/~vagrawal [email protected]
  • date post

    20-Dec-2015
  • Category

    Documents

  • view

    220
  • download

    0

Transcript of 9/08/05ELEC5970-001/6970-001 Lecture 51 ELEC 5970-001/6970-001(Fall 2005) Special Topics in...

9/08/05 ELEC5970-001/6970-001 Lecture 5 1

ELEC 5970-001/6970-001(Fall 2005)Special Topics in Electrical EngineeringLow-Power Design of Electronic Circuits

Dual-Threshold Low-Power Devices

Vishwani D. AgrawalJames J. Danaher Professor

Department of Electrical and Computer EngineeringAuburn University

http://www.eng.auburn.edu/[email protected]

9/08/05 ELEC5970-001/6970-001 Lecture 5 2

Subthreshold ConductionVgs – Vt -Vds

Ids = I0 exp( ───── ) × (1– exp ── ) nvth vth

Sunthreshold slope

0 0.3 0.6 0.9 1.2 1.5 1.8 V Vgs

Ids

1mA100μA10μA1μA

100nA10nA1nA

100pA10pA

Vt

Sub

thre

shol

dre

gion

Saturation region

9/08/05 ELEC5970-001/6970-001 Lecture 5 3

Thermal Voltage, vth

vth = kT/q = 26 mV, at room temperature.

When Vds is several times greater than vth

Vgs – Vt Ids = I0 exp( ───── )

nvth

9/08/05 ELEC5970-001/6970-001 Lecture 5 4

Leakage Current

• Leakage current equals Ids when Vgs= 0• Leakage current, Ids = I0 exp(-Vt /nvth)• At cutoff, Vgs = Vt, and Ids = I0

• Lowering leakage to 10-kI0

Vt = knvth ln 10 = 1.5× 26 ln 10 = 90k mV• Example: To lower leakage to I0/1,000

Vt = 270 mV

9/08/05 ELEC5970-001/6970-001 Lecture 5 5

Threshold Voltage

• Vt = Vt0 + γ[(Φs+Vsb)½- Φs½]

• Vt0 is threshold voltage when source is at body potential (0.4 V for 180nm process)

• Φs = 2vth ln(NA/ni) is surface potential

• γ = (2qεsiNA)½tox/εox is body effect coefficient (0.4 to 1.0)

• NA is doping level = 8×1017 cm-3

• ni = 1.45×1010 cm-3

9/08/05 ELEC5970-001/6970-001 Lecture 5 6

Threshold Voltage, Vsb=1.1V

• Thermal voltage, vth = kT/q = 26 mV

• Φs = 0.93 V

• εox = 3.9×8.85×10-14 F/cm

• εsi = 11.7×8.85×10-14 F/cm

• tox = 40 Ao

• γ = 0.6 V½

• Vt = Vt0 + γ[(Φs+Vsb)½- Φs½] = 0.68 V

9/08/05 ELEC5970-001/6970-001 Lecture 5 7

A Sample Calculation• VDD = 1.2V, 100nm CMOS process• Transistor width, W = 0.5μm• OFF device (Vgs = Vt) leakage

• I0 = 20nA/μm, for low threshold transistor• I0 = 3nA/μm, for high threshold transistor

• 100M transistor chip• Power = (100×106/2)(0.5×20×10-9A)(1.2V) = 600 mW,

for all low-threshold transistors• Power = (100×106/2)(0.5×3×10-9A)(1.2V) = 90 mW, for

all high-threshold transistors

9/08/05 ELEC5970-001/6970-001 Lecture 5 8

Dual-Threshold Chip

• Low-threshold only for 20% transistors on critical path.

• Leakage power = 600×0.2 + 90×0.8

= 120 + 72

= 192 mW

9/08/05 ELEC5970-001/6970-001 Lecture 5 9

Dual-Threshold CMOS Circuit

9/08/05 ELEC5970-001/6970-001 Lecture 5 10

Dual-Threshold Design

• To maintain performance, all gates on the critical path are assigned low Vt.

• Most of the other gates are assigned high Vt. But,

• Some gates on non-critical paths may also be assigned low Vt to prevent those paths from becoming critical.

9/08/05 ELEC5970-001/6970-001 Lecture 5 11

Integer Linear Programming (ILP) to Minimize Leakage Power

• Use dual-threshold CMOS process

• First, assign all gates low Vt

• Use an ILP model to find the delay (Tc) of the critical path

• Use another ILP model to find the optimal Vt assignment as well as the reduced leakage power for all gates without increasing Tc

• Further reduction of leakage power possible by letting Tc increase

9/08/05 ELEC5970-001/6970-001 Lecture 5 12

ILP -Variables For each gate i define two variables.• Ti: the longest time at which the output of

gate i can produce an event after the occurrence of an input event at a primary input of the circuit.

• Xi: a variable specifying low or high Vt for gate i; Xi is an integer [0, 1].

1 gate i is assigned low Vt;

0 gate i is assigned high Vt.

9/08/05 ELEC5970-001/6970-001 Lecture 5 13

ILP - objective function

- minimize the sum of all gates leakage currents, given by

• ILi is the leakage current of gate i with low Vt;• IHi is the leakage current of gate i with high Vt;• Using SPICE simulation results, construct a

leakage current look up table, which is indexed by the gate type and the input vector.

i

leakiddleak IVP

i

HiiLii IXIXMin 1

Leakage power:

9/08/05 ELEC5970-001/6970-001 Lecture 5 14

ILP - Constraints

• For each gate (1)

gate j ‘s output is gate i ‘s fan in (2)

• Max delay constraints for primary outputs (PO) (3)

Tmax is the maximum delay of the critical path

HiiLiiji DXDXTT 1

10 iX

maxTTi

9/08/05 ELEC5970-001/6970-001 Lecture 5 15

ILP Constraint Example

• assume all primary input (PI) signals on the left arrive at the same time.

• For gate 2, constraints can be given by

0

3

1

2

222202 1 HL DXDXTT

22222 10 HL DXDXT

HiiLiiji DXDXTT 1

9/08/05 ELEC5970-001/6970-001 Lecture 5 16

ILP – Constraints (cont.)

• DHi is the delay of gate i with high Vt

• DLi is the delay of gate i with low Vt

• A second look-up table is constructed and specifies the delay for given gate type and fanout number.

9/08/05 ELEC5970-001/6970-001 Lecture 5 17

ILP – Finding Critical Delay

• Tmax can be specified or be the delay of longest path (Tc).• To find Tc, we change constraints (2) to an equation,

assigning all gates with low Vt.

• Maximum Ti in the ILP solution is Tc.• If we replace Tmax with Tc, the objection function minimizes

leakage power without sacrificing performance.

10 iX

maxTTi

1iX

9/08/05 ELEC5970-001/6970-001 Lecture 5 18

Power-Delay Tradeoff

• If we gradually increase Tmax from Tc, leakage power is further reduced, because more gates can be assigned high Vt.

• But, the reduction trends to become slower.• When Tmax = (130%) Tc, the reduction is

about saturated, because almost all gates are assigned high Vt.

• Maximum leakage reduction can be 98%.

9/08/05 ELEC5970-001/6970-001 Lecture 5 19

Power-Delay Tradeoff

1 1.1 1.2 1.3 1.4 1.5

0.1

0.2

0.3

0.4

0.5

0.6

0.7

0.8

0.9

1

Normalized Critical Path Delay

Nor

mal

ized

Lea

kage

Pow

er

C432

C880

C1908

9/08/05 ELEC5970-001/6970-001 Lecture 5 20

Leakage Reduction

Cir.Number of gates

Tc

(ns)

Unoptimized

Ileak (μA)

Optimized

Ileak (μA)

(Tmax=Tc)

LeakageReducti-

on%

Sun OS 5.7 CPU secs.

OptimizedIleak (μA)

(Tmax=1.25Tc)

Leakage Reducti-

on %

SunOS 5.7 CPU secs.

C432 160 0.75 2.620 1.022 61.0 0.25 0.132 95.0 0.25

C499 182 0.39 4.293 3.464 19.3 0.31 0.225 94.8 0.30

C880 328 0.67 4.406 0.524 88.1 0.54 0.153 96.5 0.53

C1355 214 0.40 4.388 3.290 25.0 0.33 0.294 93.3 0.36

C1908 319 0.57 6.023 2.023 66.4 0.57 0.204 96.6 0.56

C2670 362 1.26 5.925 0.659 90.4 0.68 0.125 97.9 0.53

C3540 1097 1.75 15.622 0.972 93.8 1.71 0.319 98.0 1.70

C5315 1165 1.59 19.332 2.505 87.1 1.82 0.395 98.0 1.83

C6288 1177 2.18 23.142 6.075 73.8 2.07 0.678 97.1 2.00

C7552 1046 1.92 22.043 0.872 96.0 1.59 0.445 98.0 1.68

9/08/05 ELEC5970-001/6970-001 Lecture 5 21

Dynamic & Leakage Comparison

• vth (thermal voltage, kT/q) and Vt both depend on the temperature; leakage current also strongly depends on temperature.

• Spice simulation shows that for a 2-input NAND gate

- with low Vt, Isub @ 90ºC = 10 × Isub @ 27ºC

- with high Vt, Isub @ 90ºC = 20 × Isub @ 27ºC • To manifest the projected contribution of leakage to the

total power, we compare dynamic and leakage power @ 90ºC.

t

ds

th

gsth

eff

effoxsub V

V

nv

VVev

L

WCuI

t

exp1exp8.120

9/08/05 ELEC5970-001/6970-001 Lecture 5 22

Results-Dynamic & Leakage Comparison (cont.)

• Without considering glitches, the dynamic power is estimated by an event driven simulator, and is given by

• We apply 1000 random test vectors at PIs with a vector period of 120% Tc, and calculate the total number of weighted (by node capacitance) transitions in the circuit.

c

ii

iddinvdyn

dyn T

FOTVC

T

EP

2.11000

5.0 2

9/08/05 ELEC5970-001/6970-001 Lecture 5 23

Dynamic & Leakage Power (cont.)

CircuitPdyn

(μW)

Pleak1

(μW)

Pleak1/

Pdyn %Pleak2

(μW)

Pleak2/

Pdyn %

C432 71.17 26.20 36.8 10.22 14.3

C499 149.81 42.93 28.7 34.64 23.1

C880 135.19 44.06 32.6 5.24 3.8

C1355 162.39 43.88 27.0 32.90 20.3

C1908 185.60 60.23 33.4 20.23 10.9

C2670 92.64 59.25 64.0 6.59 7.1

C3540 218.41 156.22 71.5 9.72 4.4

C5315 299.61 193.32 64.6 25.05 8.4

C6288 215.12 231.42 108.0 60.75 28.2

C7552 229.13 220.43 96.2 8.72 3.8

9/08/05 ELEC5970-001/6970-001 Lecture 5 24

Dynamic & Leakage Power (cont.)

9/08/05 ELEC5970-001/6970-001 Lecture 5 25

Leakage and Dynamic Glitch Power Minimization Using Integer Linear

Programming for Vt Assignment and Path Balancing

Yuanlin LuVLSI Design and Test Seminar

Broun 235September 14, 2005, 3:00PM