Introduction to CMOS VLSI Design (E158) Lecture 20: Low Power Design

Similar documents
Lecture 7 Circuit Delay, Area and Power

EE115C Winter 2017 Digital Electronic Circuits. Lecture 6: Power Consumption

CSE140L: Components and Design Techniques for Digital Systems Lab. Power Consumption in Digital Circuits. Pietro Mercati

Where Does Power Go in CMOS?

Lecture 8-1. Low Power Design

Power in Digital CMOS Circuits. Fruits of Scaling SpecInt 2000

EE 466/586 VLSI Design. Partha Pande School of EECS Washington State University

CARNEGIE MELLON UNIVERSITY DEPARTMENT OF ELECTRICAL AND COMPUTER ENGINEERING DIGITAL INTEGRATED CIRCUITS FALL 2002

EECS 427 Lecture 11: Power and Energy Reading: EECS 427 F09 Lecture Reminders

EE241 - Spring 2000 Advanced Digital Integrated Circuits. Announcements

Fig. 1 CMOS Transistor Circuits (a) Inverter Out = NOT In, (b) NOR-gate C = NOT (A or B)

MODULE III PHYSICAL DESIGN ISSUES

Spiral 2 7. Capacitance, Delay and Sizing. Mark Redekopp

Lecture 2: CMOS technology. Energy-aware computing

Power Dissipation. Where Does Power Go in CMOS?

Lecture 4: DC & Transient Response

Topic 4. The CMOS Inverter

THE INVERTER. Inverter

EECS 141: FALL 05 MIDTERM 1

Lecture 16: Circuit Pitfalls

CSE493/593. Designing for Low Power

EE141Microelettronica. CMOS Logic

E40M Capacitors. M. Horowitz, J. Plummer, R. Howe

Lecture 4: CMOS Transistor Theory

ECE 438: Digital Integrated Circuits Assignment #4 Solution The Inverter

C.K. Ken Yang UCLA Courtesy of MAH EE 215B

EECS150 - Digital Design Lecture 22 Power Consumption in CMOS. Announcements

Dynamic operation 20

CMPEN 411 VLSI Digital Circuits Spring Lecture 14: Designing for Low Power

Design for Manufacturability and Power Estimation. Physical issues verification (DSM)

CMPEN 411 VLSI Digital Circuits. Lecture 04: CMOS Inverter (static view)

EECS 151/251A Homework 5

ESE570 Spring University of Pennsylvania Department of Electrical and System Engineering Digital Integrated Cicruits AND VLSI Fundamentals

EE241 - Spring 2001 Advanced Digital Integrated Circuits

MOS Transistor Theory

Announcements. EE141- Fall 2002 Lecture 7. MOS Capacitances Inverter Delay Power

9/18/2008 GMU, ECE 680 Physical VLSI Design

Lecture 5: DC & Transient Response

ESE 570: Digital Integrated Circuits and VLSI Fundamentals

Last Lecture. Power Dissipation CMOS Scaling. EECS 141 S02 Lecture 8

Lecture 14: Circuit Families

Lecture 12 Digital Circuits (II) MOS INVERTER CIRCUITS

ESE570 Spring University of Pennsylvania Department of Electrical and System Engineering Digital Integrated Cicruits AND VLSI Fundamentals

Lecture 6: DC & Transient Response

Switched-Capacitor Circuits David Johns and Ken Martin University of Toronto

Integrated Circuits & Systems

ESE 570: Digital Integrated Circuits and VLSI Fundamentals

Lecture 6 Power Zhuo Feng. Z. Feng MTU EE4800 CMOS Digital IC Design & Analysis 2010

Midterm. ESE 570: Digital Integrated Circuits and VLSI Fundamentals. Lecture Outline. Pass Transistor Logic. Restore Output.

DC and Transient Responses (i.e. delay) (some comments on power too!)

Digital Integrated Circuits A Design Perspective

Lecture 5. Logical Effort Using LE on a Decoder

Using MOS Models. C.K. Ken Yang UCLA Courtesy of MAH EE 215B

EE371 - Advanced VLSI Circuit Design

2007 Fall: Electronic Circuits 2 CHAPTER 10. Deog-Kyoon Jeong School of Electrical Engineering

VLSI Design I; A. Milenkovic 1

EE371 - Advanced VLSI Circuit Design

EE 466/586 VLSI Design. Partha Pande School of EECS Washington State University

Lecture 12 CMOS Delay & Transient Response

EE5780 Advanced VLSI CAD

Lecture 11 VTCs and Delay. No lab today, Mon., Tues. Labs restart next week. Midterm #1 Tues. Oct. 7 th, 6:30-8:00pm in 105 Northgate

Digital Integrated Circuits

CMOS INVERTER. Last Lecture. Metrics for qualifying digital circuits. »Cost» Reliability» Speed (delay)»performance

CIS 371 Computer Organization and Design

! Charge Leakage/Charge Sharing. " Domino Logic Design Considerations. ! Logic Comparisons. ! Memory. " Classification. " ROM Memories.

ECE 342 Solid State Devices & Circuits 4. CMOS

CMOS Transistors, Gates, and Wires

CHAPTER 15 CMOS DIGITAL LOGIC CIRCUITS

ESE 570: Digital Integrated Circuits and VLSI Fundamentals

Logical Effort: Designing for Speed on the Back of an Envelope David Harris Harvey Mudd College Claremont, CA

CMOS Inverter (static view)

ASIC FPGA Chip hip Design Pow Po e w r e Di ssipation ssipa Mahdi Shabany

Integrated Circuits & Systems

Digital Integrated Circuits A Design Perspective

ENGR890 Digital VLSI Design Fall Lecture 4: CMOS Inverter (static view)

CMPEN 411 VLSI Digital Circuits Spring 2011 Lecture 07: Pass Transistor Logic

Miscellaneous Lecture topics. Mary Jane Irwin [Adapted from Rabaey s Digital Integrated Circuits, 2002, J. Rabaey et al.]

Low Power VLSI Circuits and Systems Prof. Ajit Pal Department of Computer Science and Engineering Indian Institute of Technology, Kharagpur

Objective and Outline. Acknowledgement. Objective: Power Components. Outline: 1) Acknowledgements. Section 4: Power Components

EECS 141 F01 Lecture 17

ECE 546 Lecture 10 MOS Transistors

Lecture 4: CMOS review & Dynamic Logic

COMBINATIONAL LOGIC. Combinational Logic

CPE/EE 427, CPE 527 VLSI Design I Delay Estimation. Department of Electrical and Computer Engineering University of Alabama in Huntsville

ESE 570: Digital Integrated Circuits and VLSI Fundamentals

KINGS COLLEGE OF ENGINEERING DEPARTMENT OF ELECTRONICS AND COMMUNICATION ENGINEERING QUESTION BANK

EECS 141: SPRING 09 MIDTERM 2

CSE140L: Components and Design Techniques for Digital Systems Lab. FSMs. Instructor: Mohsen Imani. Slides from Tajana Simunic Rosing

Semiconductor Memories

Lecture 1: Gate Delay Models

VLSI GATE LEVEL DESIGN UNIT - III P.VIDYA SAGAR ( ASSOCIATE PROFESSOR) Department of Electronics and Communication Engineering, VBIT

COMP 103. Lecture 16. Dynamic Logic

EE115C Digital Electronic Circuits Homework #4

Delay and Power Estimation

MASSACHUSETTS INSTITUTE OF TECHNOLOGY Department of Electrical Engineering and Computer Sciences

A capacitor is a device that stores electric charge (memory devices). A capacitor is a device that stores energy E = Q2 2C = CV 2

Parallel Processing and Circuit Design with Nano-Electro-Mechanical Relays

Lecture 15: Scaling & Economics

Topics to be Covered. capacitance inductance transmission lines

Chapter 5 CMOS Logic Gate Design

Transcription:

Harris Introduction to CMOS VLSI Design (E158) Lecture 20: Low Power Design David Harris Harvey Mudd College David_Harris@hmc.edu Based on EE271 developed by Mark Horowitz, Stanford University MAH E158 Lecture 20 1

Overview Reading W&E 4.7.1-4.7.3 Power Dissipation Introduction In addition to performance, power is becoming a significant concern for designers. CMOS was originally a low power technology, but it is not low power any more. CMOS chips can dissipate 50Watts. This power comes from charging and discharging capacitors and is fundamental to all circuits that drive wires. This lecture will look at power dissipation in CMOS circuits, and discuss various proposed methods for reducing the power. The key areas are technology, and algorithm. Both can make a huge difference in power. MAH E158 Lecture 20 2

Power Trend in CMOS power dissipation is a little frightening Power seems to be proportional to area and frequency MAH E158 Lecture 20 3

Power Issues Three reasons that power is important: 1. Hard to get large current into a chip (Amps of current) 50W at 2.5V is 20Amps 2. Cheap device Must use plastic package, in a low-cost box No fans, so thermal resistance is high (35 o C/Watt) Power must be under 2W 3. For a portable system Need to carry the energy (Power * Time) you use Energy is heavy (20 Wh / lb) Lower power means less battery weight T chip T amb MAH E158 Lecture 20 4

Power Power is current times voltage iv There are two types of current that need to be considered Static - Current caused by a resistor between the supply - nmos style circuits - Current easy to estimate, V/R Dynamic - Current used to charge and discharge capacitors - Current depends on how often the capacitor changes state - Dominant current in CMOS chips (sometimes only current) MAH E158 Lecture 20 5

Static Power Current flows whenever the output is low Assume that the output is low 50% of the time. Sometimes do this in CMOS to get large fanin gates. Also occurs in analog like circuits Memory,PLL,V bb generators, etc. In a 1µ technology, the current is 170µA/µ of width for the pmos. This means that the current for a 4:2 device would be around 340µA, and the power would be 1.7mWatts (on average) for the gate. 10K gates -- 17Watts Leakage is another source of static power In i leak MAH E158 Lecture 20 6

Dynamic Power Takes current from the power supply to charge up the capacitor. When the capacitor is discharged the current does not get put back to the supply. The amplitude of the current spike when charging the capacitor depends on the resistance of the switch (i = V/R). But the total charge required does not depend on the switch, since must be equal to C V. C V C MAH E158 Lecture 20 7

Dynamic Power The average current that the capacitor needs is just equal to the charge required to switch the capacitor time the number of times per second the capacitor switches. The latter term is just the frequency that the line is toggling at. This is a fundamental power that is needed to switch capacitors (without inductors). MAH E158 Lecture 20 8

Dynamic (Short Circuit) Power Short Circuit current occurs when the input of a gate is in transition and both the P- channel and N-channel devices are conducting at the same time. (see W&E 4.7.3 for derivation) In i sc In general the percentage of the total dynamic power due to the short circuit current is much smaller than that used to charge and discharge the capacitive loads. Very slow rise and fall times on the inputs could however make this current significant, and must be considered for gates at the end of long wires with large RC delays. In a well designed circuit, this current is small. To first order it can be ignored. MAH E158 Lecture 20 9

Dynamic Power Total Power P = ÿ n 1 --C 2 n VV dd α n F n ranges over all nodes in the circuit α n =average number of times that node n transitions/cycle 1 Generally the signal swing is equal to Vdd P=C eff V 2 F Dominate power in CMOS circuits Static power is usually pretty small If the circuit is idle most of the time, the static power can still be important, since it uses energy whether the circuit is doing anything or not. 1. The 1/2 in the formula is because signal must make two transitions (up and down) for a cycle MAH E158 Lecture 20 10

Low Power Design Need to: Understand the basic trade-offs Make low power a design objective - Along with design time, and performance Don t be stupid Find smart ways to reduce power Slower is usually lower power - CV 2 F,lowerFlowerpower Need some metrics for low power designs - Provides a way to compare designs - Which design / style is better - What should a designer expect MAH E158 Lecture 20 11

Metrics - Power Obvious choice Sets battery life in hours, packaging limits Problem Dynamic power proportional to F Watts time Often want to do more, not have it take longer Comparing the power of two designs can be misleading Lower power design could simply be slower MAH E158 Lecture 20 12

Metric-Energy/Operation Rather than look at power, look at the total energy needed to complete some operation. Fixes obvious problems with the energy metric, since changing the operating frequency does not change the answer Energy/Op = Power Delay/Op = kc VVdd Watts time The energy is the area under the curve. While this metric looks promising, the problem is that one can decrease the energy/op by doing stuff that will slow down the chip -- like lowering the supply voltage, or using small transistors. MAH E158 Lecture 20 13

Metric - Energy/Op and Delay/Op Since lower energy solutions might simply be lower performance, we need to have a metric that includes both energy and performance. One solution is to think about a 2-D solution space: Energy c a d b 1/Delay Clearly b is lower power than c. But can we say anything about b and d? While d is slightly lower power, it is also much slower. MAH E158 Lecture 20 14

Proposal: Energy/Op * Delay/Op Energy delay = Power (Delay/Op) 2 Constant energy-delay products are straight-lines in the graph: Energy c a d b lower ED 1/Delay Implies one can trade lower energy/op for increased delay Try to show you why this is true MAH E158 Lecture 20 15

Voltage Scaling Changing power supply voltage: Has a large effect on power, since P = CV 2 F Affects performance too CV t d = ----------------------------- kv ( ) α V th Energy Delay is: ED = V 3 γ-------------------------- ( V ) α V th (α is between 1-2 and models velocity saturation) MAH E158 Lecture 20 16

Voltage Scaling For quadratic device it is often drawn as: Looks like this is an important optimal point But you should be cautious: No labels on the graph 3V th MAH E158 Lecture 20 17

Energy-Delay for Quadratic Devices 0.8 Energy 0.6 Energy Delay 0.4 0.2 Delay Energy-delay is pretty flat. 0.0 1.0 2.4 3.8 5.2 6.6 supply voltage MAH E158 Lecture 20 18

Another View of Voltage Scaling Voltage scaling is pretty straight on the Energy 1/Delay plot 0.5 energy/cycle 0.25 Voltage Scaled CMOS 0 0 0.25 0.5 1/Delay Plots energy of quadratic inverter, verses its performance (1/delay) MAH E158 Lecture 20 19

Energy Delay for Real Devices Data from a real 0.35µ technology. MAH E158 Lecture 20 20

Voltage Scaling of a Real Device E*D product changes by +/- 30% over voltage operating range data has been normalized With modern technologies, max operating voltages is not very energy efficient Reason modern processors are using aggressively scaled supplies 1/delay MAH E158 Lecture 20 21

Transistor Sizing Using smaller transistors is another method of reducing the power Power decreases since the low capacitance decreases Delay increases since the driving resistance increases Modeling is a little difficult, since not all path are critical Making transistors on non-critical paths smaller is good -- lower power and no delay change Simple example of critical path changes C C C C MAH E158 Lecture 20 22

Sizing Energy Delay 1.0 0.8 energy*delay 0.6 0.4 0.2 energy delay 0.0 0.0 0.2 0.4 0.6 0.8 1.0 Fraction of Load that is Gate Cap Over a reasonable set of load ratios, the energy-delay is pretty constant MAH E158 Lecture 20 23

Energy Delay Good metric Models intrinsic trade-off of technology Flat for a factor of 10 in voltage scaling Flat for a factor of 4 in transistor sizing Implies Optimized Power is proportional to (1/Delay) 2 1/2 Speed => Energy/Op = 1/2, Ops/sec = 1/2 Slower peak performance will be lower Energy/Op MIPS/Watt should be smaller for slower processors Performance is expensive! MAH E158 Lecture 20 24

Lower Energy Delay Some techniques: Better fabrication technology Helps both performance and energy Mostly need to normalize it out Dynamic Power Reduction Selective Activation Swing Reduction Problem reformulation This is where the greatest leverage is Redefine / code problem to reduce energy/delay MAH E158 Lecture 20 25

Technology Two kinds of technology scaling: Constant voltage (what we used to do) Scaled voltage (what we seem to be doing now) Constant Voltage: L=αL; V = V Cfallsasα 1 Energy/Op = k 1 CV 2 falls as α Delay = CV/i falls as α to α 2 depending on whether the transistors are velocity saturated Energy delay falls as α 2 to α 3 1. C/µm remains the same, but the wires get shorter. This is true even with fringing capacitance MAH E158 Lecture 20 26

Ideal Scaling Ideal scaling: L=αL; V = αv Energy/Op = k 1 CV 2 falls as α 3 Delay = CV/i falls as α Energy delay falls as α 4 Better than constant voltage scaling MAH E158 Lecture 20 27

Extra factor of α Optimal Energy-Delay product =kv th Scaling V th reduces dynamic power Minimum V th set by static leakage power When you turn a transistor off, there is still some leakage Leakage current is exponential on (V th -V gs ) Since minimum of V gs =0,needsomeV th to turn devices off In i leak I ds W ---- I L s exp V gs V th ----------------------- av T MAH E158 Lecture 20 28

Dynamic Power Reduction Try to prevent useless transitions Use selective activation If block is not being used, turn off the clock This will force the latches to hold their values Most of the signals will not change Try to reduce transitions on large capacitance nodes Prevent glitches when possible But this is mostly small changes, a factor or two if you are lucky MAH E158 Lecture 20 29

Big Wins The major way to reduce power is to rethink about the problem at the high level. Like most things, this is were the leverage is. There are two general techniques that will help with power: Use parallelism Improve delay, and thus energy delay Use voltage scaling / transistor sizing convert excess speed to low power Reformulate the problem Reduce required computation Improves energy/op and delay/op MAH E158 Lecture 20 30

Parallelism If the problem can be solved in a parallel fashion Energy/Op = 1 + e Have a small amount of overhead in distributing the operands Delay/Op = 1/n + d Again small overhead in making the solution parallel Energy delay = 1/n + overhead MAH E158 Lecture 20 31

Problem Reformulation Assume operation needs 100 instructions Energy = 100 E inst Delay = 100 T inst If another algorithm only needs 50 instructions Energy delay = 1/4 Old solution Could use a slower, lower power processor Works for hardware too Remove multiplies, need for FP, etc. Reduce the energy needed for operation, and time required MAH E158 Lecture 20 32

Low Power Design Good design has always meant careful trade-offs Used to worry about performance, area, and design time Need to consider energy too Energy delay metric is helpful in making these trade-offs Reminds about the trade-off between performance and power High speed techniques good for low power Parallelism very helpful Leverage is at the top and bottom Better technologies have much better energy-delay products Same performance at α 2 -α 4 the power Key is to think about the system-level problem Here one can make order of magnitude changes MAH E158 Lecture 20 33