9/08/05ELEC / Lecture 51 ELEC / (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
9/08/05ELEC / Lecture 52 Subthreshold Conduction V gs – V t -V ds I ds =I 0 exp( ───── ) × (1– exp ── ) nv th v th Sunthreshold slope V V gs I ds 1mA 100μA 10μA 1μA 100nA 10nA 1nA 100pA 10pA VtVt Subthreshold region Saturation region
9/08/05ELEC / Lecture 53 Thermal Voltage, v th v th = kT/q = 26 mV, at room temperature. When V ds is several times greater than v th V gs – V t I ds =I 0 exp( ───── ) nv th
9/08/05ELEC / Lecture 54 Leakage Current Leakage current equals I ds when V gs = 0 Leakage current, I ds = I 0 exp(-V t /nv th ) At cutoff, V gs = V t, and I ds = I 0 Lowering leakage to 10 -k I 0 V t = knv th ln 10 = 1.5× 26 ln 10 = 90k mV Example: To lower leakage to I 0 /1,000 V t = 270 mV
9/08/05ELEC / Lecture 55 Threshold Voltage V t = V t0 + γ[(Φ s +V sb ) ½ - Φ s ½ ] V t0 is threshold voltage when source is at body potential (0.4 V for 180nm process) Φ s = 2v th ln(N A /n i ) is surface potential γ = (2qε si N A ) ½ t ox /ε ox is body effect coefficient (0.4 to 1.0) N A is doping level = 8×10 17 cm -3 n i = 1.45×10 10 cm -3
9/08/05ELEC / Lecture 56 Threshold Voltage, V sb =1.1V Thermal voltage, v th = kT/q = 26 mV Φ s = 0.93 V ε ox = 3.9×8.85× F/cm ε si = 11.7×8.85× F/cm t ox = 40 A o γ = 0.6 V ½ V t = V t0 + γ[(Φ s +V sb ) ½ - Φ s ½ ] = 0.68 V
9/08/05ELEC / Lecture 57 A Sample Calculation V DD = 1.2V, 100nm CMOS process Transistor width, W = 0.5μm OFF device (V gs = V t ) leakage I 0 = 20nA/μm, for low threshold transistor I 0 = 3nA/μm, for high threshold transistor 100M transistor chip Power = (100×10 6 /2)(0.5×20×10 -9 A)(1.2V) = 600 mW, for all low-threshold transistors Power = (100×10 6 /2)(0.5×3×10 -9 A)(1.2V) = 90 mW, for all high-threshold transistors
9/08/05ELEC / Lecture 58 Dual-Threshold Chip Low-threshold only for 20% transistors on critical path. Leakage power = 600× ×0.8 = = 192 mW
9/08/05ELEC / Lecture 59 Dual-Threshold CMOS Circuit
9/08/05ELEC / Lecture 510 Dual-Threshold Design To maintain performance, all gates on the critical path are assigned low V t. Most of the other gates are assigned high V t. But, Some gates on non-critical paths may also be assigned low V t to prevent those paths from becoming critical.
9/08/05ELEC / Lecture 511 Integer Linear Programming (ILP) to Minimize Leakage Power Use dual-threshold CMOS process First, assign all gates low V t Use an ILP model to find the delay (Tc) of the critical path Use another ILP model to find the optimal V t 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/05ELEC / Lecture 512 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 V t for gate i; Xi is an integer [0, 1]. 1 gate i is assigned low V t ; 0 gate i is assigned high V t.
9/08/05ELEC / Lecture 513 ILP - objective function - minimize the sum of all gates leakage currents, given by I Li is the leakage current of gate i with low V t ; I Hi is the leakage current of gate i with high V t ; Using SPICE simulation results, construct a leakage current look up table, which is indexed by the gate type and the input vector. Leakage power:
9/08/05ELEC / Lecture 514 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) T max is the maximum delay of the critical path
9/08/05ELEC / Lecture 515 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
9/08/05ELEC / Lecture 516 ILP – Constraints (cont.) D Hi is the delay of gate i with high V t D Li is the delay of gate i with low V t A second look-up table is constructed and specifies the delay for given gate type and fanout number.
9/08/05ELEC / Lecture 517 ILP – Finding Critical Delay T max 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 V t. Maximum Ti in the ILP solution is Tc. If we replace T max with Tc, the objection function minimizes leakage power without sacrificing performance.
9/08/05ELEC / Lecture 518 Power-Delay Tradeoff If we gradually increase Tmax from Tc, leakage power is further reduced, because more gates can be assigned high V t. But, the reduction trends to become slower. When Tmax = (130%) Tc, the reduction is about saturated, because almost all gates are assigned high V t. Maximum leakage reduction can be 98%.
9/08/05ELEC / Lecture 519 Power-Delay Tradeoff
9/08/05ELEC / Lecture 520 Leakage Reduction Cir. Number of gates T c (ns) Unoptim ized I leak (μA) Optimiz ed I leak (μA) (T max =T c ) Leakage Reducti- on % Sun OS 5.7 CPU secs. Optimized I leak (μA) (T max =1.25T c ) Leakage Reducti- on % Sun OS 5.7 CPU secs. C C C C C C C C C C
9/08/05ELEC / Lecture 521 Dynamic & Leakage Comparison v th (thermal voltage, kT/q) and V t both depend on the temperature; leakage current also strongly depends on temperature. Spice simulation shows that for a 2-input NAND gate - with low V t, I 90ºC = 10 × I 27ºC - with high V t, I 90ºC = 20 × I 27ºC To manifest the projected contribution of leakage to the total power, we compare dynamic and leakage 90ºC.
9/08/05ELEC / Lecture 522 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.
9/08/05ELEC / Lecture 523 Dynamic & Leakage Power (cont.) Circuit P dyn (μW) P leak1 (μW) P leak1 / P dyn % P leak2 (μW) P leak2 / P dyn % C C C C C C C C C C
9/08/05ELEC / Lecture 524 Dynamic & Leakage Power (cont.)
9/08/05ELEC / Lecture 525 Leakage and Dynamic Glitch Power Minimization Using Integer Linear Programming for V t Assignment and Path Balancing Yuanlin Lu VLSI Design and Test Seminar Broun 235 September 14, 2005, 3:00PM