Lecture 8-1. Low Power Design

Similar documents
EE241 - Spring 2000 Advanced Digital Integrated Circuits. Announcements

EE241 - Spring 2001 Advanced Digital Integrated Circuits

Power Dissipation. Where Does Power Go in CMOS?

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

Dynamic operation 20

CSE493/593. Designing for Low Power

Topic 4. The CMOS Inverter

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

Integrated Circuits & Systems

THE INVERTER. Inverter

Where Does Power Go in CMOS?

Integrated Circuits & Systems

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

EE141Microelettronica. CMOS Logic

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

VLSI Design I; A. Milenkovic 1

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

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

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

Lecture 2: CMOS technology. Energy-aware computing

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

EE241 - Spring 2005 Advanced Digital Integrated Circuits. Admin. Lecture 10: Power Intro

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

MODULE III PHYSICAL DESIGN ISSUES

ESE 570: Digital Integrated Circuits and VLSI Fundamentals

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

Announcements. EE141- Spring 2003 Lecture 8. Power Inverter Chain

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

ESE 570: Digital Integrated Circuits and VLSI Fundamentals

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

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

Delay and Power Estimation

Lecture 4: CMOS review & Dynamic Logic

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

COMP 103. Lecture 16. Dynamic Logic

Integrated Circuits & Systems

EEC 118 Lecture #5: CMOS Inverter AC Characteristics. Rajeevan Amirtharajah University of California, Davis Jeff Parkhurst Intel Corporation

Digital Integrated Circuits

EECS 141: FALL 05 MIDTERM 1

MASSACHUSETTS INSTITUTE OF TECHNOLOGY Department of Electrical Engineering and Computer Sciences

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

ESE 570: Digital Integrated Circuits and VLSI Fundamentals

The Physical Structure (NMOS)

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

Chapter 5. The Inverter. V1. April 10, 03 V1.1 April 25, 03 V2.1 Nov Inverter

Digital Integrated Circuits 2nd Inverter

Digital Integrated Circuits A Design Perspective

Properties of CMOS Gates Snapshot

Semiconductor Memories

Lecture Outline. ESE 570: Digital Integrated Circuits and VLSI Fundamentals. Total Power. Energy and Power Optimization. Worksheet Problem 1

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

EEC 116 Lecture #5: CMOS Logic. Rajeevan Amirtharajah Bevan Baas University of California, Davis Jeff Parkhurst Intel Corporation

Lecture 7 Circuit Delay, Area and Power

CMOS Inverter (static view)

EE5311- Digital IC Design

Dynamic Combinational Circuits. Dynamic Logic

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

5.0 CMOS Inverter. W.Kucewicz VLSICirciuit Design 1

Digital Integrated Circuits Designing Combinational Logic Circuits. Fuyuzhuo

ECE321 Electronics I

Dynamic Combinational Circuits. Dynamic Logic

EEC 118 Lecture #6: CMOS Logic. Rajeevan Amirtharajah University of California, Davis Jeff Parkhurst Intel Corporation

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

MOSFET and CMOS Gate. Copy Right by Wentai Liu

Digital Integrated Circuits A Design Perspective

Digital Integrated Circuits A Design Perspective

ESE 570: Digital Integrated Circuits and VLSI Fundamentals

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

ECE 342 Electronic Circuits. Lecture 34 CMOS Logic

Based on slides/material by. Topic 3-4. Combinational Logic. Outline. The CMOS Inverter: A First Glance

ΗΜΥ 307 ΨΗΦΙΑΚΑ ΟΛΟΚΛΗΡΩΜΕΝΑ ΚΥΚΛΩΜΑΤΑ Εαρινό Εξάμηνο 2018

EE115C Digital Electronic Circuits Homework #4

Digital Integrated Circuits A Design Perspective. Semiconductor. Memories. Memories

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

Digital Integrated Circuits A Design Perspective

! Energy Optimization. ! Design Space Exploration. " Example. ! P tot P static + P dyn + P sc. ! Steady-State: V in =V dd. " PMOS: subthreshold

COMBINATIONAL LOGIC. Combinational Logic

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

Power Consumption in CMOS CONCORDIA VLSI DESIGN LAB

Integrated Circuits & Systems

Lecture 5: DC & Transient Response

Lecture 4: CMOS Transistor Theory

EEC 216 Lecture #2: Metrics and Logic Level Power Estimation. Rajeevan Amirtharajah University of California, Davis

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

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

CMOS logic gates. João Canas Ferreira. March University of Porto Faculty of Engineering

Chapter 5 CMOS Logic Gate Design

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

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

Chapter 11. Inverter. DC AC, Switching. Layout. Sizing PASS GATES (CHPT 10) Other Inverters. Baker Ch. 11 The Inverter. Introduction to VLSI

EE5311- Digital IC Design

EEE 421 VLSI Circuits

Lecture 4: DC & Transient Response

L16: Power Dissipation in Digital Systems. L16: Spring 2007 Introductory Digital Systems Laboratory

ECE 546 Lecture 10 MOS Transistors

Lecture 34: Portable Systems Technology Background Professor Randy H. Katz Computer Science 252 Fall 1995

EEC 216 Lecture #3: Power Estimation, Interconnect, & Architecture. Rajeevan Amirtharajah University of California, Davis

Digital Microelectronic Circuits ( ) The CMOS Inverter. Lecture 4: Presented by: Adam Teman

ESE 570: Digital Integrated Circuits and VLSI Fundamentals

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

Transcription:

Lecture 8 Konstantinos Masselos Department of Electrical & Electronic Engineering Imperial College London URL: http://cas.ee.ic.ac.uk/~kostas E-mail: k.masselos@ic.ac.uk Lecture 8-1

Based on slides/material by J. Rabaey http://bwrc.eecs.berkeley.edu/classes/icbook/instructors.html Digital Integrated Circuits: A Design Perspective, Prentice Hall D. Harris http://www.cmosvlsi.com/coursematerials.html Weste and Harris, CMOS VLSI Design: A Circuits and Systems Perspective, Addison Wesley Lecture 8-2

Recommended Reading J. Rabaey et. al. Digital Integrated Circuits: A Design Perspective : Chapter 5 (5.5), Chapter 11 (11.7) Weste and Harris, CMOS VLSI Design: A Circuits and Systems Perspective : Chapter 4 (4.4), Chapter 6 (6.5) Lecture 8-3

Why worry about power?-- Heat Dissipation source : arpa-esto microprocessor power dissipation DEC 21164 Lecture 8-4

Evolution in Power Dissipation Lecture 8-5

Why worry about power Portability BATTERY (40+ lbs) Multimedia Terminals Laptop Computers Digital Cellular Telephony Nominal Capacity (Watt-hours / lb) 50 40 30 20 10 0 Rechargable Lithium Nickel-Cadium Ni-Metal Hydride 65 70 75 80 85 90 95 Year Expected Battery Lifetime increase over next 5 years: 30-40% Lecture 8-6

Power and Energy Power is drawn from a voltage source attached to the V DD pin(s) of a chip. Instantaneous Power: Pt () = i () tv DD DD Energy: T E = P() t dt = i () t V dt T 0 0 DD DD Average Power: E 1 Pavg = = idd() t VDDdt T T T 0 Lecture 8-7

Where Does Power Go in CMOS? Dynamic Power Consumption Charging and Discharging Capacitors Short Circuit Currents Short Circuit Path between Supply Rails during Switching Leakage Leaking diodes and transistors Lecture 8-8

Dynamic Power Consumption Dynamic power is required to charge and discharge load capacitances when transistors switch. One cycle involves a rising and falling output. On rising output, charge Q = CV DD is required On falling output, charge is dumped to GND This repeats Tf sw times over an interval of T VDD i DD (t) f sw C Lecture 8-9

Dynamic Power Consumption T 1 Pdynamic = idd() t VDDdt T V = T 0 DD V = T = CV DD T 0 i [ Tf CV ] 2 DD DD f sw sw () t dt DD VDD i DD (t) f sw C Lecture 8-10

Activity Factor Suppose the system clock frequency = f Let f sw = αf, where α = activity factor If the signal is a clock, α = 1 If the signal switches once per cycle, α = ½ Dynamic gates: Switch either 0 or 2 times per cycle, α = ½ Static gates: Depends on design, but typically α = 0.1 Dynamic power: P = αcv f dynamic 2 DD Lecture 8-11

Dynamic Power Consumption Vdd Vin Vout C L Energy/transition = C L * V dd 2 Power = Energy/transition * f = C L * V dd 2 * f Not a function of transistor sizes! Need to reduce C L, V dd, and f to reduce power. Lecture 8-12

Dynamic Power Consumption - Revisited Power = Energy/transition * transition rate = C L * V 2 dd * f 0 1 = C L * V 2 dd * P 0 1 * f = C EFF * V 2 dd * f Power Dissipation is Data Dependent Function of Switching Activity C EFF = Effective Capacitance = C L * P 0 1 Lecture 8-13

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 Lecture 8-14

Short Circuit Currents Vdd Vin Vout C L 0.15 I VDD (ma) 0.10 0.05 0.0 1.0 2.0 3.0 V in (V) 4.0 5.0 Lecture 8-15

Impact of rise/fall times on short-circuit currents V DD V DD I SC 0 I SC I MAX V in V out V in V out C L C L Large capacitive load Small capacitive load Lecture 8-16

Short-circuit energy as a function of slope ratio ΔE / E 8 7 6 5 4 3 2 1 0 0 V DD = 5 V V DD = 3.3 V r 1 2 3 4 5 W/L P = 7.2μm/1.2μm W/L N = 2.4μm/1.2μm The power dissipation due to short circuit currents is minimized by matching the rise/fall times of the input and output signals. Lecture 8-17

Power Consumption is Data Dependent Example: Static 2 Input NOR Gate Assume: P(A=1) = 1/2 P(B=1) = 1/2 Then: C EFF = 3/16 * C L P(Out=1) = 1/4 P(0 1) = P(Out=0).P(Out=1) = 3/4 1/4 = 3/16 Lecture 8-18

Transition Probabilities for Basic Gates Lecture 8-19

Transition Probability of 2-input NOR Gate Lecture 8-20

Problem: Reconvergent Fanout A X B Z Reconvergence P(Z=1) = P(B=1). P(X=1 B=1) Becomes complex and intractable real fast Lecture 8-21

How about Dynamic Circuits? V DD φ M p Out In 1 In 2 In 3 PDN φ M e Power is Only Dissipated when Out=0! C EFF = P(Out=0).C L Lecture 8-22

4-input NAND Gate Example: Dynamic 2 Input NOR Gate Assume: P(A=1) = 1/2 P(B=1) = 1/2 Then: P(Out=0) = 3/4 C EFF = 3/4 * C L Switching Activity Is Always Higher in Dynamic Circuits Lecture 8-23

Transition Probabilities for Dynamic Gates Switching Activity for Precharged Dynamic Gates P 0 1 = P 0 Lecture 8-24

Glitching in Static CMOS also called: dynamic hazards A B X C Z ABC 101 000 X Z Unit Delay Observe: No glitching in dynamic circuits Lecture 8-25

Example: Adder Circuit C in Add0 Add1 Add2 Add14 Add15 S0 S1 S2 S14 S15 Sum Output Voltage, Volts 4.0 4 6 2.0 3 S10 Cin 5 S1 2 0.0 0 5 10 Time, ns S15 Lecture 8-26

How to Cope with Glitching? 0 0 F 1 1 F 2 0 2 0 F 3 0 0 0 0 F 1 F 2 1 1 F 3 Equalize Lengths of Timing Paths Through Design Lecture 8-27

Static Power Static power is consumed even when chip is quiescent. Ratioed circuits burn power in fight between ON transistors Leakage draws power from nominally OFF devices Lecture 8-28

Static Power Consumption Vdd I stat V out V in =5V C L P stat = P (In=1).V dd. I stat Dominates over dynamic consumption Not a function of switching frequency Lecture 8-29

Leakage Vdd Vout Drain Junction Leakage Sub-Threshold Current Sub-Threshold Current Dominant Factor Lecture 8-30

Sub-Threshold in MOS I D V T =0.2 V T =0.6 V GS Lower Bound on Threshold to Prevent Leakage Lecture 8-31

Reducing V dd NORMALIZED POWER-DELAY PRODUCT 1.5 1.00 0.70 0.50 0.30 0.20 0.15 0.1 0.07 0.05 0.03 quadratic dependence 51 stage ring oscillator 8-bit adder 1 2 5 Vdd (volts) P x t d = E t = C L * V dd 2 E (Vdd=2) = E (Vdd=5) (C L ) * (2) 2 (C L ) * (5) 2 E (Vdd=2) 0.16 E (Vdd =5) Strong function of voltage (V 2 dependence). Relatively independent of logic function and style. Power Delay Product Improves with lowering V DD. Lecture 8-32

Lower V dd Increases Delay 7.50 7.00 6.50 6.00 multiplier clock generator 2.0μm technology T d = C L * V dd I NORMALIZED DELAY 5.50 5.00 4.50 4.00 3.50 3.00 2.50 2.00 1.50 1.00 adder ring oscillator adder (SPICE) microcoded DSP chip T d(vdd=2) = (2) * (5-0.7) 2 T d(vdd=5) I ~ (V dd - V t ) 2 4 (5) * (2-0.7) 2 2.00 4.00 6.00 V dd (volts) Relatively independent of logic function and style. Lecture 8-33

Lowering the Threshold Delay I D 2V t V dd V t = 0 V t = 0.2 V GS Reduces the Speed Loss, But Increases Leakage Interesting Design Approach: DESIGN FOR P Leakage == P Dynamic Lecture 8-34

Transistor Sizing for Power Minimization Lower Capacitance Small W/L s Higher Voltage Higher Capacitance Large W/L s Lower Voltage Minimum sized devices are usually optimal for low-power. Lecture 8-35

Reducing Effective Capacitance Global bus architecture Local bus architecture Shared Resources incur Switching Overhead Lecture 8-36

Reduce dynamic power α: clock gating, sleep mode C: small transistors (esp. on clock), short wires V DD : lowest suitable voltage f: lowest suitable frequency Reduce static power Selectively use ratioed circuits Selectively use low V t devices Leakage reduction: stacked devices, body bias, low temperature Lecture 8-37

Summary Power Dissipation is becoming Prime Design Constraint requires Optimization at all Levels Sources of Power Dissipation are well characterized requires operation at lowest possible voltage and clock speed Lecture 8-38