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

Similar documents
ESE 570: Digital Integrated Circuits and VLSI Fundamentals

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)

ESE 570: Digital Integrated Circuits and VLSI Fundamentals

THE INVERTER. Inverter

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

Digital Integrated Circuits

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

CMOS Inverter (static view)

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

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

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

EE5311- Digital IC Design

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

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

Lecture 5: DC & Transient Response

MOSFET and CMOS Gate. Copy Right by Wentai Liu

Lecture 4: DC & Transient Response

EEE 421 VLSI Circuits

Lecture 6: DC & Transient Response

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

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

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

ECE321 Electronics I

EECS 141: FALL 05 MIDTERM 1

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

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

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

ECE 546 Lecture 10 MOS Transistors

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

ESE 570: Digital Integrated Circuits and VLSI Fundamentals

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

EE115C Digital Electronic Circuits Homework #4

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

EE5780 Advanced VLSI CAD

EE115C Digital Electronic Circuits Homework #3

Lecture 5: DC & Transient Response

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

The CMOS Inverter: A First Glance

Topic 4. The CMOS Inverter

5.0 CMOS Inverter. W.Kucewicz VLSICirciuit Design 1

Lecture 12 Digital Circuits (II) MOS INVERTER CIRCUITS

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

EE5311- Digital IC Design

ESE 570: Digital Integrated Circuits and VLSI Fundamentals

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

EE 434 Lecture 33. Logic Design

MOS Transistor Theory

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

Dynamic operation 20

CHAPTER 15 CMOS DIGITAL LOGIC CIRCUITS

Lecture 4: CMOS review & Dynamic Logic

ECE 342 Solid State Devices & Circuits 4. CMOS

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

The Physical Structure (NMOS)

High-to-Low Propagation Delay t PHL

Integrated Circuits & Systems

Power Dissipation. Where Does Power Go in CMOS?

Lecture 12 CMOS Delay & Transient Response

Lecture 7 Circuit Delay, Area and Power

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

COMBINATIONAL LOGIC. Combinational Logic

VLSI Design and Simulation

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

Lecture 12 Circuits numériques (II)

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

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

EE141Microelettronica. CMOS Logic

CMOS Technology for Computer Architects

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

EE241 - Spring 2000 Advanced Digital Integrated Circuits. Announcements

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

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

MOS Transistor Theory

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

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

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

Digital Integrated Circuits A Design Perspective

ESE 570: Digital Integrated Circuits and VLSI Fundamentals

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

Integrated Circuits & Systems

Lecture 8-1. Low Power Design

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

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

Digital Integrated Circuits EECS 312

Name: Answers. Mean: 83, Standard Deviation: 12 Q1 Q2 Q3 Q4 Q5 Q6 Total. ESE370 Fall 2015

5. CMOS Gate Characteristics CS755

The CMOS Inverter: A First Glance

EE213, Spr 2017 HW#3 Due: May 17 th, in class. Figure 1

Digital Integrated Circuits A Design Perspective

Transcription:

ESE 570: Digital Integrated Circuits and VLSI Fundamentals Lec 16: March 21, 2017 Transmission Gates, Euler Paths, Energy Basics Review Midterm! Midterm " Mean: 79.5 " Standard Dev: 14.5 2 Lecture Outline! Pass Transistor Logic! Euler Path for Layout! Energy and Power Basics! Energy and Power Optimization Pass Transistor Logic 3 Output! What is Vout if A=0, B=0? if A=1, B=0? Restore Output A B Y 0 0 0 0 1 1 1 0 1 1 1 0 5 6 1

Chain Together Analyze Stage 7 8 Delay A=1, B=1, C diff 0? (W=1) Delay A=1, B=1, C diff 0? (W=1)! What s the equivalent RC circuit? 9 10 Transmission Gates CMOS Transmission Gates 12 2

CMOS Transmission Gates CMOS Transmission Gates Note at t = 0 - : V in = 0, V out = 0 at t = 0 + : V in = 0 -> V DD Note at t = 0 - : V in = 0, V out = 0 at t = 0 + : V in = 0 -> V DD 13 - V Tp 14 CMOS Transmission Gates CMOS Transmission Gates Note at t = 0 - : V in = 0, V out = 0 at t = 0 + : V in = 0 -> V DD Note at t = 0 - : V in = 0, V out = 0 at t = 0 + : V in = 0 -> V DD - V Tp 15 - V Tp 16 CMOS Transmission Gates Transmission Gate, R eq k p (- V DD - V Tp ) 2 k p [2(- V DD - V tp ) (V out V DD ) - (V out V DD ) 2 ] k p [2(- V DD - V tp ) - (V out V DD )] - V Tp 17 k p [2(- V DD - V tp ) - (V out V DD )] 18 3

Transmission Gate, R eq Transmission Gate, R eq 19 20 Transmission Gate Layouts Performance Design 21 NOR2 Layout NAND2 Layout 23 24 4

Layout of Complex CMOS Gate Layout of Complex CMOS Gate S DDS GND 25 26 Layout of Complex CMOS Gate Minimize Number of Diffusion Paths diffusion breaks d d d. d d i.e. n, p Euler paths with identical sequences of inputs 27 28 Minimize Number of Diffusion Paths Minimize Number of Diffusion Paths 29 30 5

Minimize Number of Diffusion Paths 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 31 32 Digital Logic: Gate Level Review Motivation, Abstraction, and Design Tradeoffs! We care about design for performance " Functionality (e.g. F = A + B*C) " Speed " Each gate has a delay caused by the output resistance and capacitive load (which is the input capacitive load of the gate on the output) " Critical path defines delay " Power " Switching power (comprised of dynamic and short circuit power) and static power (I.e P tot =P dyn +P SC + P stat ) " Area " For a gate the standard cell area, dependent on W and L of transistors 34 Digital Logic: Transistor Level Digital Logic: Transistor Level! We care about design for performance " Functionality (e.g. F = A + B*C) " Design for abstraction (VTC: switching voltage, high gain, noise margins) " Speed " Transistor sizing affects the output resistance and capacitance " Power " 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 " Area " For a gate the standard cell area, dependent on W and L of transistors 35 36 6

Review: MOS Inverter Dynamic Performance Review: nmos IV Characteristics! 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 ΔV HL V τ PHL C load = C OH V 50% load I avg,hl I avg,hl 2. Differential Equation Model dv i C = C out dv load dt = C load out dt dt τ PHL or τ PLH 3. 1 st Order RC delay Model τ PHL 0.69 C load R n i C Assume V in ideal 2! V! W $ GS V th $ # &!! V DS $ # " nkt /q % I S # &e 1 e & $ 4 " kt /q % 4 " L % # &( 1+ λv DS ) 4 " % V GS V Tn Subthreshold 4 µ n C ox W 4 ( I D = 2 L 2( V V (V ) GS Tn SB DS DS )(1+ λ V DS ) 3 V GS > V Tn,V DS < V GS Linear 4 µ n C ox W 4 2 L V V (V ) GS Tn SB (1+ λ V DS ) 4 V GS > V Tn,V DS V GS V Tn Saturation 4, v sat C OX W ( V GS V th ) V / dsat 4 -. 2 0 1 5 E y > E cn (short channel) Velocity Saturation 37 38 nmos 1st Order RC Delay Model Equiv. R n κ n C d Energy and Power Basics 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 κ p C g ON/ OFF κ p 1, usually κ p µ n /µ p d κ p C d 39 Today Power! Power Sources " Static power " Dynamic switching power " Short circuit power! P = I V! Tricky part: " Understanding I " (pairing with correct V) 41 42 7

Operating Modes Understanding Currents! Steady-State: What modes are the transistors in? " V in =V dd Static Power " V in =Gnd! What current flows in steady state? 43 44 Operating Modes Operating Modes! Steady-State: V in =V dd " PMOS: subthreshold! Steady-State: V in =V dd " PMOS: subthreshold " NMOS: resistive " NMOS: resistive $ I DSp = I S # W ' & ) e & % % L ( $ V GS V T nkt / q ' $ $ V DS '' ) & ) ( 1 e % kt / q ( & ) 1 λv DS % ( ( )! W $ ( I DSn = µ n C OX # & ( V GS V T )V DS V 2 + DS * - " L %) 2, 45 46 Operating Modes Operating Modes! Steady-State: V in =V dd " PMOS: subthreshold! Steady-State: V in =V dd " PMOS: subthreshold " NMOS: resistive $ I DSp = I S # W ' & ) e & % % L ( $ V GS V T nkt / q ' $ $ V DS '' ) & ) ( 1 e % kt / q ( & ) 1 λv DS % ( ( ) " NMOS: resistive $ I DSp = I S # W ' & ) e & % % L ( $ V GS V T nkt / q ' $ $ V DS '' ) & ) ( 1 e % kt / q ( & ) 1 λv DS % ( ( )! W $ ( I DSn = µ n C OX # & ( V GS V T )V DS V 2 + DS * - " L %) 2,! W $ ( I DSn = µ n C OX # & ( V GS V T )V DS V 2 + DS * - " L %) 2, Which current determines I static? Which current determines I static? 47 48 8

Static Power! P = I V! What V should we use? Understanding Currents " Where is the static current flowing? Dynamic Switching Currents 49 50 Power: During Switching Power: During Switching! P = IV! P = IV! Input switch: 1#0! Where does I go?! Input switch: 1#0! Where does I go? " V in =Gnd " V in =Gnd 51 52 Power: During Switching Power: During Switching! P = IV! Input switch: 1#0! Where does I go? " V in =Gnd (Saturation/Linear)! P = IV! Input switch 0#1! Where does I go? " V in =V dd Subtheshold Leakage 53 54 9

Power: During Switching! P = IV! Input switch 0#1! Where does I go? " V in =V dd Power: During Switching! P = IV! Input switch 0#1! Where does I go? " V in =V dd Subtheshold Leakage (Saturation/Linear) 55 56 Switching Currents! Dynamic current flow: Understanding Currents Short Circuit Currents 57 58 Power: During Switching Power: During Switching! P = IV! Where does I go? " V in =V dd /2 " And V dd >V thn + V thp! P = IV! Where does I go? " V in =V dd /2 " And V dd >V thn + V thp Saturation CMOS Inverter DC Transfer Vout 1 0.9 0.8 0.7 0.6 0.5 0.4 0.3 0.2 0.1 0 0 0.2 0.4 0.6 0.8 1 Vin Saturation 59 60 10

Switching Currents! Dynamic current flow: Currents Summary! I changes over time! At least two components " I static no switching " I switch when switching " and I sc! If both transistor on: " Current path from V dd to Gnd " Short circuit current 61 62 Switching Currents Switching! I total (t) = I static (t)+i switch (t) Dynamic Power! I switch (t) = I sc (t) + (t) I static I sc 63 Penn ESE 570 Spring 2017 - Khanna 64 Charging Switching Energy focus on (t)! (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 ) " W %) I DS = µ n C OX $ ' ( V # L & GS V T )V DS V 2, DS +. * 2 - I sc I static 65 66 11

Switching Energy focus on (t) Switching Energy! Do we know what this is? (t)dt E = P(t)dt = I(t)V dd dt = V dd I(t)dt E = P(t)dt = I(t)V dd dt = V dd I(t)dt 67 68 Switching Energy Switching Energy! Do we know what this is?! Do we know what this is? Q = (t)dt Q = (t)dt! What is Q? E = P(t)dt = I(t)V dd dt = V dd I(t)dt E = P(t)dt = I(t)V dd dt = V dd I(t)dt 69 70 Switching Energy Switching Energy! Do we know what this is?! Do we know what this is? Q = (t)dt Q = (t)dt! What is Q? E = P(t)dt = I(t)V dd dt = V dd I(t)dt Q = CV = I(t)dt! What is Q? E = P(t)dt = I(t)V dd dt = V dd I(t)dt Q = CV = E = CV dd 2 I(t)dt Capacitor charging energy 71 72 12

Switching Power! Every time output switches 0#1 pay: " E = CV 2 Switching! P dyn = (# 0#1 trans) CV 2 / time Short Circuit Power! # 0#1 trans = ½ # of transitions! P dyn = (# trans) ½CV 2 / time 73 74 Short Circuit Power Short Circuit Power! Between V TN and V dd - V TP " Both N and P devices conducting! Between V TN and V dd - V TP " Both N and P devices conducting! Roughly: I sc Vin Vdd-Vthp Vthn Vdd time Vdd Isc Penn ESE 570 Spring 2017 - Khanna 75 Vout tsc tsc time 76 Peak Current 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 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 * ) Vin Vdd-Vthp Vthn Vdd Vin Vdd-Vthp Vthn Vdd time time Vdd Isc Vdd Isc Vout tsc tsc time 77 Vout tsc tsc time 78 13

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& ( Vin $ 2' Vdd Vdd-Vthp Vthn time Vdd Isc 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 Vout tsc tsc time 79 Penn ESE 570 Spring 2015 - Khanna 80 Short Circuit Energy! Every time switch " Also dissipate short-circuit energy: E = CV 2 " Different C = C sc " C cs fake capacitance (for accounting) 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 Penn ESE 570 Spring 2017 - Khanna 81 82 Charging Power Switching 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! P dyn = (#trans/clock) ½CV 2 f! Let a = activity factor a = average #tran/clock! P dyn = a½cv 2 f! P sc = ac sc V 2 f 83 84 14

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 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 0(2 N N 0 ) N 2 2 N Penn ESE 570 Spring 2017 - Khanna 85 Penn ESE 570 Spring 2017 - Khanna 86 Reduce Dynamic Power? Reduce Activity Factor! P dyn = acv 2 f Tree Chain! How do we reduce dynamic power? A B C D O 1 O 2 F A B C O 1 D O 2 F a = p(out i = 0)p(out i+1 =1) a = N 0 N 1 2 N 2 = N 0(2 N N 0 ) N 2 2 N Penn ESE 570 Spring 2017 - Khanna 87 Penn ESE 570 Spring 2017 - Khanna 88 Reduce Activity Factor Reduce Activity Factor Tree Chain Tree Chain A B C D O 1 O 2 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 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 0(2 N N 0 ) N 2 2 N a = N 0 N 1 2 N 2 = N 0(2 N N 0 ) N 2 2 N Penn ESE 570 Spring 2017 - Khanna 89 Penn ESE 570 Spring 2017 - Khanna 90 15

Total Power! P tot = P static + P sc + P dyn Energy and Power Optimization! 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 91 Worksheet Problem 1 Power Sources Review: P tot = P static + P dyn + P sc V in I static amic I sc 0V 140mV 400mV 500mV 600mV 860mV 1V 94 Worksheet Problem 1 Idea! CMOS V in I static amic I sc " Design for worst case input switching case and delay 0V 180pA 126uA! There are other logic disciplines 140mV 6nA 100uA " Ratioed logic 400mV 36uA 18uA 500mV 36uA 600mV 36uA 18uA " Can use pass transistors for logic " Transmission gates " Will see in use in dynamic logic! Gate layout optimization 860mV 6nA 100uA " Euler Paths 1V 180pA 126uA! Power Basics Review 95 96 16

Admin! HW 6 " Out now " Due Tuesday 3/28 Penn ESE 570 Spring 2017 - Khanna 97 17