ESE 570: Digital Integrated Circuits and VLSI Fundamentals

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

ESE 570: Digital Integrated Circuits and VLSI Fundamentals

ESE 570: Digital Integrated Circuits and VLSI Fundamentals

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

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

ESE 570: Digital Integrated Circuits and VLSI Fundamentals

Lecture Outline. ESE 570: Digital Integrated Circuits and VLSI Fundamentals. Review: CMOS Inverter: Visual VTC. Review: CMOS Inverter: Visual VTC

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

ESE 570: Digital Integrated Circuits and VLSI Fundamentals

! Inverter Power. ! Dynamic Characteristics. " Delay ! P = I V. ! Tricky part: " Understanding I. " (pairing with correct V) ! Dynamic current flow:

Lecture Outline. ESE 570: Digital Integrated Circuits and VLSI Fundamentals. Review: 1st Order RC Delay Models. Review: Two-Input NOR Gate (NOR2)

THE INVERTER. Inverter

Digital Integrated Circuits

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

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

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

ESE 570: Digital Integrated Circuits and VLSI Fundamentals

EE5311- Digital IC Design

ESE 570: Digital Integrated Circuits and VLSI Fundamentals

CMOS Inverter (static view)

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

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

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

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

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

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

EEE 421 VLSI Circuits

MOSFET and CMOS Gate. Copy Right by Wentai Liu

ECE321 Electronics I

Lecture 4: DC & Transient Response

Lecture 5: DC & Transient Response

ESE 570: Digital Integrated Circuits and VLSI Fundamentals

ECE 546 Lecture 10 MOS Transistors

Name: Answers. Grade: Q1 Q2 Q3 Q4 Q5 Total. ESE370 Fall 2015

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

Lecture 6: DC & Transient Response

EE115C Digital Electronic Circuits Homework #4

EECS 141: FALL 05 MIDTERM 1

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

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

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

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

EE115C Digital Electronic Circuits Homework #3

Lecture 12 Digital Circuits (II) MOS INVERTER CIRCUITS

Topic 4. The CMOS Inverter

EE5780 Advanced VLSI CAD

EE5311- Digital IC Design

The CMOS Inverter: A First Glance

5.0 CMOS Inverter. W.Kucewicz VLSICirciuit Design 1

EE 434 Lecture 33. Logic Design

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

Dynamic operation 20

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

Lecture 5: DC & Transient Response

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

DC and Transient. Courtesy of Dr. Daehyun Dr. Dr. Shmuel and Dr.

MOS Transistor Theory

ECE 342 Solid State Devices & Circuits 4. CMOS

Name: Grade: Q1 Q2 Q3 Q4 Q5 Total. ESE370 Fall 2015

ESE 570: Digital Integrated Circuits and VLSI Fundamentals

! MOS Capacitances. " Extrinsic. " Intrinsic. ! Lumped Capacitance Model. ! First Order Capacitor Summary. ! Capacitance Implications

High-to-Low Propagation Delay t PHL

The Physical Structure (NMOS)

Lecture 13 - Digital Circuits (II) MOS Inverter Circuits. March 20, 2003

Power Dissipation. Where Does Power Go in CMOS?

Lecture 7 Circuit Delay, Area and Power

Lecture 4: CMOS review & Dynamic Logic

VLSI Design and Simulation

CHAPTER 15 CMOS DIGITAL LOGIC CIRCUITS

Lecture 12 Circuits numériques (II)

Integrated Circuits & Systems

Lecture 14 - Digital Circuits (III) CMOS. April 1, 2003

Lecture 12 CMOS Delay & Transient Response

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

EE241 - Spring 2000 Advanced Digital Integrated Circuits. Announcements

CMOS Technology for Computer Architects

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

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

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

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

Today s lecture. EE141- Spring 2003 Lecture 4. Design Rules CMOS Inverter MOS Transistor Model

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

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

Lecture 8-1. Low Power Design

Integrated Circuits & Systems

University of Pennsylvania Department of Electrical Engineering. ESE 570 Midterm Exam March 14, 2013 FORMULAS AND DATA

MOS Transistor Theory

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

EE141Microelettronica. CMOS Logic

COMBINATIONAL LOGIC. Combinational Logic

Digital Integrated Circuits A Design Perspective

The CMOS Inverter: A First Glance

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

Answers. Name: Grade: Q1 Q2 Q3 Q4 Total mean: 83, stdev: 14. ESE370 Fall 2017

Lecture Outline. ESE 570: Digital Integrated Circuits and VLSI Fundamentals. Review: MOS Capacitor with External Bias

Digital Integrated Circuits A Design Perspective

CPE/EE 427, CPE 527 VLSI Design I L06: CMOS Inverter, CMOS Logic Gates. Course Administration. CMOS Inverter: A First Look

DC & Transient Responses

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

Where Does Power Go in CMOS?

Transcription:

ESE 570: Digital Integrated Circuits and VLSI Fundamentals Lec 15: March 15, 2018 Euler Paths, Energy Basics and Optimization

Midterm! Midterm " Mean: 89.7 " Standard Dev: 8.12 2

Lecture Outline! Euler Path for Layout! Energy and Power Basics! Energy and Power Optimization 3

Performance Design

NOR2 Layout 5

NAND2 Layout 6

Layout of Complex CMOS Gate S DDS GND 7

Layout of Complex CMOS Gate 8

Layout of Complex CMOS Gate diffusion breaks d d d. d d i.e. n, p Euler paths with identical sequences of inputs 9

Minimize Number of Diffusion Paths 10

Minimize Number of Diffusion Paths 11

Minimize Number of Diffusion Paths 12

Minimize Number of Diffusion Paths 13

Gate Layout Algorithm! 1. Find all Euler paths that cover the graph! 2. Find common n- and p- Euler paths! 3. If no common n- and p- Euler paths are found in step 2, partition the gate n- and p- graphs into the minimum number of sub-graphs that will result in separate common n- and p- Euler paths 14

Review Motivation, Abstraction, and Design Tradeoffs

Digital Logic: Gate Level! We care about design for performance " Functionality (e.g. F = A + B*C) " Speed " Each gate has a delay " Critical path defines delay " Power " Area " Switching power (comprised of dynamic and short circuit power) and static power (I.e P tot =P dyn +P SC + P stat ) " For a gate the standard cell area 16

Digital Logic: Transistor Level 17

Digital Logic: Transistor Level! We care about design for performance " Functionality (e.g. F = A + B*C) " Speed " Power " Area " Design for abstraction (VTC: switching voltage, restoration, noise margins) " Transistor sizing affects the output resistance and capacitance allowing for a tau estimate of each gate dependent on W and L of transistors " Switching power (comprised of dynamic and short circuit power) and static power (I.e P tot =P dyn +P SC + P stat ). Transistor sizing affects drive current and impacts power consumption " For a gate the standard cell area, dependent on W and L of transistors 18

Review: MOS Inverter Dynamic Performance! ANALYSIS (OR SIMULATION): For a given MOS inverter schematic and C load, estimate (or measure) the propagation delays! DESIGN: For given specs for the propagation delays and C load*, determine the MOS inverter schematic METHODS: 1. Average Current Model τ PHL C load 2. Differential Equation Model i C = C load dv out dt ΔV HL I avg,hl = C load V OH V 50% I avg,hl dv dt = C out load dt τ PHL or τ PLH 3. 1 st Order RC delay Model i C Assume V in ideal τ PHL 0.69 C load R n 19

Review: nmos IV Characteristics 2 4 4 4 4 4 I D = 3 4 4 4 4 4 5 I S! # " W L! # " $ &e % V GS V th nkt /q $ & %!! # " 1 e # " V DS $ & kt /q % $ & 1+ λv DS % ( ) V GS V Tn Subthreshold µ n C ox W ( 2 L 2 ( V GS V Tn (V SB ))V DS V 2 DS )(1+ λ V DS ) V GS > V Tn,V DS < V GS Linear µ n C ox W ( 2 L V V (V ) GS Tn SB ) 2 (1+ λ V DS ) V GS > V Tn,V DS V GS V Tn Saturation, v sat C OX W ( V GS V th ) V / dsat -. 2 0 1 E y > E cn (short channel) Velocity Saturation 20

nmos 1st Order RC Delay Model Equiv. R n κ n C d R n = R un /κ n κ n κ n C g ON/ OFF Where W n = κ n W un κ n 1, usually κ n = 1 κ n C d s κ p C d R p = R up /κ p Where W p = κ p W up κ p ON/ OFF κ p 1, usually κ p µ n /µ p κ p C g d κ p C d 21

Energy and Power Basics

Today! Power Sources " Static power " Dynamic switching power " Short circuit power 23

Power! P = I V! Tricky part: " Understanding I " (pairing with correct V) 24

Understanding Currents Static Power 25

Operating Modes! Steady-State: What modes are the transistors in? " V in =V dd " V in =Gnd! What current flows in steady state? 26

Operating Modes! Steady-State: V in =V dd " PMOS: subthreshold " NMOS: resistive 27

Operating Modes! Steady-State: V in =V dd " PMOS: subthreshold " NMOS: resistive $ I DSp = I S #& W % L ' ) e ( $ & % V GS V T nkt / q ' $ $ V DS ) & ( 1 e % & % ' ) kt / q ( ' ) 1 λv DS ( ( ) I DSn = µ n C OX! # " W L $ ( & ( V GS V T )V DS V 2 DS * %) 2 + -, Which current determines I static? 28

Static Power! P = I V! What V should we use? " Where is the static current flowing? 29

Understanding Currents Dynamic Switching Currents 30

Power: During Switching! P = IV! Input switch: 1#0! Where does I go? " V in =Gnd 31

Power: During Switching! P = IV! Input switch: 1#0! Where does I go? " V in =Gnd 32

Power: During Switching! P = IV! Input switch: 1#0! Where does I go? " V in =Gnd (Saturation/Linear) I dyn Subtheshold Leakage 33

Power: During Switching! P = IV! Input switch 0#1! Where does I go? " V in =V dd 34

Power: During Switching! P = IV! Input switch 0#1! Where does I go? " V in =V dd 35

Power: During Switching! P = IV! Input switch 0#1! Where does I go? Subtheshold Leakage " V in =V dd I dyn (Saturation/Linear) 36

Switching Currents! Dynamic current flow: 37

Understanding Currents Short Circuit Currents 38

Power: During Switching! P = IV! Where does I go? " V in =V dd /2 " And V dd >V thn + V thp 39

Power: During Switching! P = IV! Where does I go? " V in =V dd /2 " And V dd >V thn + V thp Saturation Vout 1 0.9 0.8 0.7 0.6 0.5 0.4 0.3 0.2 0.1 0 CMOS Inverter DC Transfer 0 0.2 0.4 0.6 0.8 1 Vin Saturation 40

Switching Currents! Dynamic current flow:! If both transistor on: " Current path from V dd to Gnd " Short circuit current 41

Currents Summary! I changes over time! At least two components " I static no switching " I switch when switching " I dyn and I sc 42

Switching Dynamic Power 43

Switching Currents! I total (t) = I static (t)+i switch (t)! I switch (t) = I sc (t) + I dyn (t) I dyn I static I sc Penn ESE 570 Spring 2018 - Khanna 44

Charging! I dyn (t) why changing? " I ds = f(v ds,v gs ) " and V gs, V ds changing % I DS ν sat C OX W V GS V T V DSAT ' & 2 I DS = µ n C OX " $ # W L ( * ) %) ' ( V & GS V T )V DS V 2 DS + * 2,. - 45

Switching Energy! Do we know what this is? Q = I dyn (t)dt! What is Q? I dyn E = P(t)dt Q = CV = I(t)dt = I(t)V dd dt = V dd I(t)dt E = CV dd 2 Capacitor charging energy 46

Switching Power! Every time output switches 0#1 pay: " E = CV 2! P dyn = (# 0#1 trans) CV 2 / time! # 0#1 trans = ½ # of transitions! P dyn = (# trans) ½CV 2 / time 47

Switching Short Circuit Power 48

Short Circuit Power! Between V TN and V dd - V TP " Both N and P devices conducting Penn ESE 570 Spring 2018 - Khanna 49

Short Circuit Power! Between V TN and V dd - V TP " Both N and P devices conducting! Roughly: I sc Vin Vdd-Vthp Vthn time Vdd Vdd Isc Vout tsc tsc time 50

Peak Current! I peak around V dd /2 " If V TN = V TP and sized equal rise/fall % I DS ν sat C OX W V GS V T V ( DSAT ' * & 2 ) I(t)dt I t % ' 1( peak sc & 2 * ) # E = V dd I peak t sc % 1& ( $ 2' Vin Vdd-Vthp Vthn Vdd Isc Vdd time Vout tsc tsc time 51

Short Circuit Energy! Make it look like a capacitance, C SC " Q=I t " Q=CV " " E = V dd I peak t sc 1 %% $ $ '' # # 2 && E = V dd Q SC E = V dd (C SC V dd ) = C SC V 2 dd Penn ESE 570 Spring 2015 - Khanna 52

Short Circuit Energy! Every time switch " Also dissipate short-circuit energy: E = CV 2 " Different C = C sc " C cs fake capacitance (for accounting) Penn ESE 570 Spring 2018 - Khanna 53

Switching Power! Every time output switches 0#1 pay: " E = CV 2! P dyn = (# 0#1 trans) CV 2 / time! # 0#1 trans = ½ # of transitions! P dyn = (# trans) ½CV 2 / time 54

Charging Power! P dyn = (# trans) ½CV 2 / time! Often like to think about switching frequency! Useful to consider per clock cycle " Frequency f = 1/clock-period! P dyn = (#trans/clock) ½CV 2 f 55

Charging Power! P dyn = (# 0#1 trans) CV 2 / time! Often like to think about switching frequency! Useful to consider per clock cycle " Frequency f = 1/clock-period! P dyn = (# 0#1 trans/clock) CV 2 f 56

Switching Power! P dyn = (#0#1 trans/clock) CV 2 f! Let a = activity factor a = average #tran 0#1 /clock! P dyn = acv 2 f! P sc = ac sc V 2 f Penn ESE 570 Spring 2018 - Khanna 57

Activity Factor! Let a = activity factor " a = average #tran 0#1 /clock a = p(out i = 0) p(out i+1 =1) a = N N 0 1 2 N 2 = N 0 (2N N 0 ) N 2 2N Penn ESE 570 Spring 2018 - Khanna 58

Activity Factor! Let a = activity factor " a = average #tran 0#1 /clock a = p(out i = 0)p(out i+1 =1) a = N 0 N 1 2 N 2 = N (2 N 0 N 0 ) N 2 2 N Penn ESE 570 Spring 2018 - Khanna 59

Reduce Dynamic Power?! P dyn = acv 2 f! How do we reduce dynamic power? Penn ESE 570 Spring 2018 - Khanna 60

Reduce Activity Factor Tree Chain A B O 1 A B O 1 C D O 2 F C D O 2 F a = p(out i = 0)p(out i+1 =1) a = N 0 N 1 2 N 2 = N (2 N 0 N 0 ) N 2 2 N Penn ESE 570 Spring 2018 - Khanna 61

Reduce Activity Factor Tree Chain A B 3/16 O 1 A B O 1 C D O 2 3/16 F a = p(out i = 0)p(out i+1 =1) C D O 2 F a = N 0 N 1 2 N 2 = N (2 N 0 N 0 ) N 2 2 N Penn ESE 570 Spring 2018 - Khanna 62

Reduce Activity Factor Tree Chain A B 3/16 O 1 15/256 A B O 1 C D O 2 3/16 F a = p(out i = 0)p(out i+1 =1) C D O 2 F a = N 0 N 1 2 N 2 = N (2 N 0 N 0 ) N 2 2 N Penn ESE 570 Spring 2018 - Khanna 63

Reduce Activity Factor Tree Chain A B C D O 1 O 2 F A B C 3/16 O 1 D 7/64 O 2 15/256 F a = p(out i = 0)p(out i+1 =1) a = N 0 N 1 2 N 2 = N (2 N 0 N 0 ) N 2 2 N Penn ESE 570 Spring 2018 - Khanna 64

Reduce Activity Factor Tree Chain A B C D 3/16 O 1 O 2 3/16 15/256 F A B C 3/16 O 1 a = p(out i = 0)p(out i+1 =1) D 7/64 O 2 15/256 F a = N 0 N 1 2 N 2 = N (2 N 0 N 0 ) N 2 2 N Penn ESE 570 Spring 2018 - Khanna 65

Total Power! P tot = P static + P sc + P dyn! P sw = P dyn + P sc = a(c load V 2 f) + C sc V 2 f! P tot a(c load V 2 f) + C sc V 2 f + VI s (W/L)e-Vt/(nkT/q)! Let a = activity factor a = average #tran 0#1 /clock 66

Energy and Power Optimization

Power Sources Review: P tot = P static + P dyn + P sc

Worksheet Problem 1 V in I static I dynamic I sc 0V 140mV 400mV 500mV 600mV 860mV 1V 69

Worksheet Problem 1 V in I static I dynamic I sc 0V 180pA 126uA 140mV 6nA 100uA 400mV 36uA 18uA 500mV 36uA 600mV 36uA 18uA 860mV 6nA 100uA 1V 180pA 126uA 70

Idea! Gate layout optimization " Euler Paths! Power Basics Review! Energy and Power Tradeoffs 71

Admin! HW 6 " Out now " Due Tuesday 3/28 Penn ESE 570 Spring 2018 - Khanna 72