October 10, 2017 Kjell Jeppson, Lena Peterson Chapter 5 Power in W & H

Slides:



Advertisements
Similar presentations
Introduction to CMOS VLSI Design Lecture 18: Design for Low Power David Harris Harvey Mudd College Spring 2004.
Advertisements

S. Reda EN160 SP’08 Design and Implementation of VLSI Systems (EN1600) Lecture 14: Power Dissipation Prof. Sherief Reda Division of Engineering, Brown.
S. Reda EN160 SP’07 Design and Implementation of VLSI Systems (EN0160) Lecture 13: Power Dissipation Prof. Sherief Reda Division of Engineering, Brown.
Lecture 5 – Power Prof. Luke Theogarajan
Lecture 7: Power.
Lecture 7: Power.
Lecture 21, Slide 1EECS40, Fall 2004Prof. White Lecture #21 OUTLINE –Sequential logic circuits –Fan-out –Propagation delay –CMOS power consumption Reading:
Power, Energy and Delay Static CMOS is an attractive design style because of its good noise margins, ideal voltage transfer characteristics, full logic.
The CMOS Inverter Slides adapted from:
6.893: Advanced VLSI Computer Architecture, September 28, 2000, Lecture 4, Slide 1. © Krste Asanovic Krste Asanovic
EE466: VLSI Design Power Dissipation. Outline Motivation to estimate power dissipation Sources of power dissipation Dynamic power dissipation Static power.
Dec 2010Performance of CMOS Circuits 1 Instructed by Shmuel Wimer Eng. School, Bar-Ilan University Credits: David Harris Harvey Mudd College (Some material.
1. Department of Electronics Engineering Sahand University of Technology NMOS inverter with an n-channel enhancement-mode mosfet with the gate connected.
1 EE 587 SoC Design & Test Partha Pande School of EECS Washington State University
Leakage reduction techniques Three major leakage current components 1. Gate leakage ; ~ Vdd 4 2. Subthreshold ; ~ Vdd 3 3. P/N junction.
Penn ESE370 Fall DeHon 1 ESE370: Circuit-Level Modeling, Design, and Optimization for Digital Systems Day 18: October 14, 2013 Energy and Power.
Penn ESE370 Fall DeHon 1 ESE370: Circuit-Level Modeling, Design, and Optimization for Digital Systems Day 17: October 19, 2011 Energy and Power.
Basics of Energy & Power Dissipation
© Digital Integrated Circuits 2nd Inverter Digital Integrated Circuits A Design Perspective The Inverter Jan M. Rabaey Anantha Chandrakasan Borivoje Nikolic.
FPGA-Based System Design: Chapter 2 Copyright  2004 Prentice Hall PTR Topics n Logic gate delay. n Logic gate power consumption. n Driving large loads.
Z. Feng MTU EE4800 CMOS Digital IC Design & Analysis 6.1 EE4800 CMOS Digital IC Design & Analysis Lecture 6 Power Zhuo Feng.
LOW POWER DESIGN METHODS
Damu, 2008EGE535 Fall 08, Lecture 51 EGE535 Low Power VLSI Design Lecture #5 & 6 CMOS Inverter.
COE 360 Principles of VLSI Design Delay. 2 Definitions.
Lecture 10: Circuit Families
COMP541 Transistors and all that… a brief overview
Smruti R. Sarangi IIT Delhi
CS203 – Advanced Computer Architecture
Digital Integrated Circuits for Communication
THE CMOS INVERTER.
COMP541 Transistors and all that… a brief overview
IV UNIT : GATE LEVEL DESIGN
Pass-Transistor Logic
The Inverter EE4271 VLSI Design Professor Shiyan Hu Office: EERC 518
LOW POWER DESIGN METHODS V.ANANDI ASST.PROF,E&C MSRIT,BANGALORE.
Lecture 21 OUTLINE The MOSFET (cont’d) P-channel MOSFET
Basics of Energy & Power Dissipation
Downsizing Semiconductor Device (MOSFET)
Reading: Hambley Ch. 7; Rabaey et al. Sec. 5.2
Day 16: September 15, 2010 Energy and Power
Low Power Design in VLSI
Lecture 19 OUTLINE The MOSFET: Structure and operation
Lecture 10: Circuit Families
Notes on Diodes 1. Diode saturation current:  
Week 9a OUTLINE MOSFET ID vs. VGS characteristic
Day 17: October 18, 2010 (Energy) Ratioed Logic
332:479 Concepts in VLSI Design Lecture 24 Power Estimation
Downsizing Semiconductor Device (MOSFET)
ELEC 6970: Low Power Design Class Project By: Sachin Dhingra
Day 17: October 15, 2012 Energy and Power Basics
Circuit Characterization and Performance Estimation
Lecture 19 OUTLINE The MOS Capacitor (cont’d) The MOSFET:
Introduction to CMOS VLSI Design Chapter 5 Power
Lecture 21 OUTLINE The MOSFET (cont’d) P-channel MOSFET
Lecture 21 OUTLINE The MOSFET (cont’d) P-channel MOSFET
Week 9a OUTLINE MOSFET ID vs. VGS characteristic
The Inverter EE4271 VLSI Design Dr. Shiyan Hu Office: EERC 731
Lecture 21 OUTLINE The MOSFET (cont’d) P-channel MOSFET
Lecture #17 (cont’d from #16)
Lecture 7: Power.
Lecture 19 OUTLINE The MOS Capacitor (cont’d) The MOSFET:
Power and Heat Power Power dissipation in CMOS logic arises from the following sources: Dynamic power due to switching current from charging and discharging.
Leakage Power Reduction Techniques
Lecture 7: Power.
Lecture 10: Circuit Families
Reading: Hambley Ch. 7; Rabaey et al. Secs. 5.2, 5.5, 6.2.1
Lecture 4: Nonideal Transistor Theory
COMP541 Transistors and all that… a brief overview
Lecture 4: Nonideal Transistor Theory
Dr. Hari Kishore Kakarla ECE
Presentation transcript:

October 10, 2017 Kjell Jeppson, Lena Peterson Chapter 5 Power in W & H Power dissipation October 10, 2017 Kjell Jeppson, Lena Peterson Chapter 5 Power in W & H

MCC092: Integrated Circuit Design Aim of the lecture How is power dissipated in an integrated CMOS circuit Dynamic power dissipation Static power dissipation Guidelines for reducing dynamic power dissipation Activity factor Capacitance – clock gating Supply voltage: multi-VDD Frequency: dynamic voltage scaling Guidelines for reducing static power dissipation Reducing subthreshold leakage: multi-VT, stacking effect Reducing gate leakage: high-K materials, oxide thickness Junction leakage Power gating 2017 MCC092: Integrated Circuit Design

MCC092: Integrated Circuit Design Why care? 2017 MCC092: Integrated Circuit Design

Power in vs power out on chip Power grid Clock grid Cooling Hot spots 2017 MCC092: Integrated Circuit Design

MCC092: Integrated Circuit Design Clock net 2017 MCC092: Integrated Circuit Design

MCC092: Integrated Circuit Design Power and energy Power is drawn from a voltage source attached to the VDD pin(s) of a chip. Instantaneous Power: Energy: Average Power: Units? 2017 MCC092: Integrated Circuit Design

MCC092: Integrated Circuit Design Power and energy units Power (work done per time unit) Watts (W) = Joule/second (J/s) = Nm/s 1W = 1 VA = 1 VC/s Energy (≈ the ability to do work) 1 Joule (J) = 1 Nm = 1 Ws = 1 CV Energy is often given in Whr = 3600 J Note that work and and energy has the same unit 2017 MCC092: Integrated Circuit Design

Power in circuit elements EC is energy stored in Capacitor Note that it is ½ VQ 2017 MCC092: Integrated Circuit Design

MCC092: Integrated Circuit Design Charging a capacitor When the gate output rises Energy stored in capacitor: Energy drawn from supply: Half is dissipated in the pMOS transistor as heat, other half stored in capacitor When the gate output falls Energy in capacitor is dumped to GND Dissipated as heat in the nMOS transistor 2017 MCC092: Integrated Circuit Design

MCC092: Integrated Circuit Design Voltages Currents Instantaneous power Energy W & H: Fig 5.5 short-circuit current “blip” 150 fJ for one switching. If we have fsw = 1 GHz the dynamic power is 150 fJ * 1 GHz Example of switching waveforms: VDD = 1.0 V, CL = 150 fF, f = 1 GHz 2017 MCC092: Integrated Circuit Design

Switching waveforms Example: VDD = 1.0 V, CL = 150 fF, f = 1 GHz   vIN vOUT VDD VSS CLOAD iSS iDD VIN VOUT iLOAD iSC Short-circuit power dissipation: Both transistors conduct at the same time Dynamic power dissipation: First pMOS then nMOS conducts Ipeak tSC

Switching power due to charging CL Energy per transition: Unit: Joules (J) Number of low-to-high transitions per second: Unit: 1/second CL Power: Unit: Joules/second = Watts 2017 MCC092: Integrated Circuit Design

MCC092: Integrated Circuit Design Activity factor Suppose the system clock frequency = f Let fsw = af, where a = activity factor If the signal is a clock, a = 1 If the signal switches once per cycle, a = ½ Dynamic power: 2016 MCC092: Integrated Circuit Design

Activity factor - definition = Probability that output switches from 0 to 1 = probability that node i is 1 = probability that node i is 0 If the probabilities are uncorrelated: For random data: so See W&H section 5.2.1 2016 MCC092: Integrated Circuit Design

Power-dissipation sources Ptotal = Pdynamic + Pstatic Dynamic power: Pdynamic = Pswitching + Pshortcircuit Switching load capacitances Short-circuit current Static power: Pstatic = (Isub + Igate + Ijunct + Icontention)VDD Subthreshold leakage Gate leakage Junction leakage Contention current 2016 MCC092: Integrated Circuit Design

Short-circuit current When transistors switch, both nMOS and pMOS networks may be momentarily ON at once Leads to a blip of “short-circuit” current. < 10% of dynamic power if rise/fall times are comparable for input and output We will generally ignore this component But if rise or fall times are long it may dominate! 2017 MCC092: Integrated Circuit Design

Dynamic power: an example 1 billion transistor chip 50M logic transistors Average width: 12 l = 12x25 nm = 300 nm Activity factor = 0.1 950M memory transistors Average width: 4 l = 100 nm Activity factor = 0.02 1.0 V 65 nm process C = 1 fF/mm (gate) + 0.8 fF/mm (diffusion) Estimate dynamic power consumption @ 1 GHz. Neglect wire capacitance and short-circuit current. 2017 MCC092: Integrated Circuit Design

Dynamic power: an example 1.0 V 65 nm process C = 1 fF/mm (gate) + 0.8 fF/mm (diffusion/parasitic) Estimate power dissipation at 1 GHz! 1 billion transistor chip 50M logic transistors Average width: 300 nm Activity factor = 0.1 950M memory transistors Average width: 100 nm Activity factor = 0.02 W & H: Example 5.1 2017 MCC092: Integrated Circuit Design

Dynamic power reduction Try to minimize: Activity factor Capacitance Supply voltage Frequency 2017 MCC092: Integrated Circuit Design

1. Reduce activity factor = Probability that output switches from 0 to 1 = probability that node i is 1 = probability that node i is 0 If probabilities are uncorrelated: For random data: so Data is often not completely random After AND or OR gates is lower than at inputs Design dependent but typically See W&H section 5.2.1 2017 MCC092: Integrated Circuit Design

Switching probabilities W&H: Table 5.1 2017 MCC092: Integrated Circuit Design

MCC092: Integrated Circuit Design NAND Textbook example 5.2a A 4-input AND is built out of two levels of gates Estimate the activity factor at each node if the inputs have P = 0.5 NAND2: PY = 1 - PAPB NOR2: PY = PA PB 2017 MCC092: Integrated Circuit Design

MCC092: Integrated Circuit Design Clock gating The best way to reduce activity is to turn off the clock to registers in unused blocks = sleep mode Saves clock activity (clock has a = 1) Eliminates all switching activity in the block Requires determining if block will be used 2017 MCC092: Integrated Circuit Design

MCC092: Integrated Circuit Design 2. Reduce capacitance Reduce gate capacitance Fewer stages of logic Small gate sizes Reduce wire capacitance Good floorplanning to keep communicating blocks close to each other Drive long wires with inverters or buffers rather than complex gates 2017 MCC092: Integrated Circuit Design

3. Reduce supply voltage – Multi-VDD System-on-chip 0.9 V   CPU 1.0 V Cache RAM 1.2 V 2017 MCC092: Integrated Circuit Design

MCC092: Integrated Circuit Design 4. Reduce frequency Do not run clock faster than necessary! Multiple frequency domains Often integer factors & synchronized clocks among domains Lower clock frequency can be combined with smaller transistors and lower VDD which saves even more power. 2017 MCC092: Integrated Circuit Design

Tradeoff: Textbook example 5.3 Generate an energy-delay trade-off curve for the circuit below as delay varies from the minimum possible (Dmin=23.44 t) to 50t. Assume all input probabilities are 0.5. 2017 MCC092: Integrated Circuit Design

MCC092: Integrated Circuit Design Textbook example 4.3 2017 MCC092: Integrated Circuit Design

MCC092: Integrated Circuit Design Textbook example 5.3 2017 MCC092: Integrated Circuit Design

MCC092: Integrated Circuit Design Voltage domains Run each block at the lowest possible voltage and frequency that meets performance requirements Voltage domains Provide separate supplies to different blocks System-on-chip 0.9 V Cache RAM 1.2 V CPU 1.0 V   2017 MCC092: Integrated Circuit Design

MCC092: Integrated Circuit Design Voltage domains Run each block at the lowest possible voltage and frequency that meets performance requirements Voltage domains Provide separate supplies to different blocks Level converters required when crossing from low to high VDD domains 2016 MCC092: Integrated Circuit Design

Dynamic voltage scaling (DVS) Run each block at the lowest possible voltage and frequency that meets performance requirements Voltage domains Provide separate supplies to different blocks Level converters required when crossing from low to high VDD domains Dynamic Voltage Scaling Adjust VDD and f according to workload 2017 MCC092: Integrated Circuit Design

Conclusion dynamic power reduction Activity factor Clock gating Reduce logic depth –> reduced glitching Capacitance Minimum transistor sizes Short wires Supply voltage Multiple VDD domains Dynamic voltage/frequency scaling Frequency Multiple clock domains 2017 MCC092: Integrated Circuit Design

MCC092: Integrated Circuit Design From DAT093 2017 MCC092: Integrated Circuit Design

MCC092: Integrated Circuit Design From DAT093 2017 MCC092: Integrated Circuit Design

MCC092: Integrated Circuit Design Static power Static power is consumed even when chip is quiescent. Leakage draws power from nominally OFF devices VSS VDD VOUT 3 Drain leakage 1. Sub-threshold leakage 2. Gate leakage 4. Contention current (in NMOS) 2017 MCC092: Integrated Circuit Design

Reducing sub-VT leakage: Multi-VT In 65 nm processes and below, libraries with multiple (typically 3) VT has become a common way of reducing leakage currents. 2017 MCC092: Integrated Circuit Design

Static power: textbook example 5.4 Subthreshold leakage: SVT: 100 nA/mm; HVT: 10 nA/mm Gate leakage : 5 nA/mm; Junction leakage: negligible Estimate static power consumption! 1 billion transistor chip 50M logic transistors Average width: 300 nm Activity factor = 0.1 5% standard VT (SVT), 95% high-VT (HVT) 950M memory transistors Average width: 100 nm Activity factor = 0.02 All MOSFETs are high-VT (HVT) 2017 MCC092: Integrated Circuit Design

Static power: textbook example 5.4 Solution: Assumption half of transistors are ON and give gate leakage) half are OFF give subthreshold leakage) 860 mW is 14% of the 6.1 W dynamic power calculated earlier! Will deplete battery of handheld device rapidly 2017 MCC092: Integrated Circuit Design

MCC092: Integrated Circuit Design Subthreshold leakage For VDS > 50 mV Ioff = leakage at Vgs = 0, VDS = VDD Typical values in 65 nm Ioff = 100 nA/mm @ VT = 0.3 V Ioff = 10 nA/mm @ VT = 0.4 V Ioff = 1 nA/mm @ VT = 0.5 V s = 0.1 V-1 Subthreshold slope: S = 100 mV/decade 2016 MCC092: Integrated Circuit Design

Subthreshold leakage – stacking effect VDD VX VSS Two OFF MOSFETs in series Subthreshold current reduced to IOFF/10. A factor of 10 reduction! VSS VX VDD Two ON MOSFETs in series →Current reduced to ION/2 i.e. a factor of 2 reduction! How can that be? 2016 MCC092: Integrated Circuit Design

MCC092: Integrated Circuit Design Subthreshold leakage Series OFF transistors have less leakage Vx > 0, so N2 has negative Vgs Leakage through 2-stack reduces ~10x Leakage through 3-stack reduces further 2016 MCC092: Integrated Circuit Design

MCC092: Integrated Circuit Design 2. Gate leakage Extremely strong function of tox and VGS Negligible for older processes Approaches subthreshold leakage at 65 nm and below in some processes An order of magnitude less for pMOS than nMOS Control leakage in the process using tox > 10.5 Å High-k gate dielectrics help Some processes provide multiple tox e.g. thicker oxide for 3.3 V I/O transistors Control leakage in circuits by limiting VDD 2017 MCC092: Integrated Circuit Design

NAND3 leakage variation due to input pattern 100 nm process Gate leakage: Ign = 6.3 nA, Igp = 0 Subthreshold leakage: Ioffn = 5.63 nA, Ioffp = 9.3 nA More than two orders of magnitude difference in leakage current! Table 5.2 In W&H All current values are in nA 2017 MCC092: Integrated Circuit Design

MCC092: Integrated Circuit Design 3. Junction leakage From reverse-biased p-n junctions Between diffusion and substrate or well Ordinary diode leakage is negligible Band-to-band tunneling (BTBT) can be significant Especially in high-VT transistors where other leakage is small Worst at Vdb = VDD Gate-induced drain leakage (GIDL) exacerbates Worst for Vgd = -VDD (or more negative) 2017 MCC092: Integrated Circuit Design

How to reduce: Supply gating Turn OFF power to blocks when they are idle to save leakage Use virtual VDD (VDDV) Gate outputs to prevent invalid logic levels to next block Voltage drop across sleep transistor degrades performance during normal operation Size the transistor wide enough to minimize impact Switching wide sleep transistor costs dynamic power Only justified when circuit sleeps long enough 2017 MCC092: Integrated Circuit Design

MCC092: Integrated Circuit Design Leakage control Leakage and delay trade off Aim for low leakage in sleep and low delay in active mode To reduce leakage: Increase VT: multiple VT Use low VT only in delay critical circuits Increase Vs: stack effect Input vector control in sleep Decrease Vb Reverse body bias in sleep Or forward body bias in active mode 2017 MCC092: Integrated Circuit Design

MCC092: Integrated Circuit Design Summary Dynamic (active) is mainly due to switching: Static is mainly due to subthreshold leakage : Exponential dependence Modern power reduction techniques require knowledge about high-level aspects of the application 2017 MCC092: Integrated Circuit Design