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

Similar documents
ESE 570: Digital Integrated Circuits and VLSI Fundamentals

ESE 570: Digital Integrated Circuits and VLSI Fundamentals

! 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

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

EE141Microelettronica. CMOS Logic

ESE 570: Digital Integrated Circuits and VLSI Fundamentals

ESE 570: Digital Integrated Circuits and VLSI Fundamentals

Hold Time Illustrations

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

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

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

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

LOGIC CIRCUITS. Basic Experiment and Design of Electronics. Ho Kyung Kim, Ph.D.

Digital Integrated Circuits A Design Perspective

ELCT201: DIGITAL LOGIC DESIGN

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

Topics. Dynamic CMOS Sequential Design Memory and Control. John A. Chandy Dept. of Electrical and Computer Engineering University of Connecticut

Integrated Circuits & Systems

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

Jan M. Rabaey Anantha Chandrakasan Borivoje Nikolic. November Digital Integrated Circuits 2nd Sequential Circuits

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

GMU, ECE 680 Physical VLSI Design

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

LOGIC CIRCUITS. Basic Experiment and Design of Electronics

THE INVERTER. Inverter

Digital Integrated Circuits A Design Perspective

University of Toronto Faculty of Applied Science and Engineering Edward S. Rogers Sr. Department of Electrical and Computer Engineering

EE241 - Spring 2000 Advanced Digital Integrated Circuits. Announcements

Digital Integrated Circuits A Design Perspective

Topics. CMOS Design Multi-input delay analysis. John A. Chandy Dept. of Electrical and Computer Engineering University of Connecticut

ESE 570: Digital Integrated Circuits and VLSI Fundamentals

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

Topic 8: Sequential Circuits

Lecture 8-1. Low Power Design

Lecture 9: Sequential Logic Circuits. Reading: CH 7

ESE 570: Digital Integrated Circuits and VLSI Fundamentals

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

ESE 570: Digital Integrated Circuits and VLSI Fundamentals

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

University of Toronto. Final Exam

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

University of California at Berkeley College of Engineering Department of Electrical Engineering and Computer Sciences

CMPEN 411. Spring Lecture 18: Static Sequential Circuits

EE 434 Lecture 33. Logic Design

EECS 141: FALL 05 MIDTERM 1

EE5311- Digital IC Design

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

MODULE 5 Chapter 7. Clocked Storage Elements

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

Clock Strategy. VLSI System Design NCKUEE-KJLEE

Circuit A. Circuit B

The Physical Structure (NMOS)

UNIVERSITY OF BOLTON SCHOOL OF ENGINEERING BENG (HONS) ELECTRICAL & ELECTRONICS ENGINEERING EXAMINATION SEMESTER /2017

Lecture 5. MOS Inverter: Switching Characteristics and Interconnection Effects

ECEN 248: INTRODUCTION TO DIGITAL SYSTEMS DESIGN. Week 7 Dr. Srinivas Shakkottai Dept. of Electrical and Computer Engineering

Where Does Power Go in CMOS?

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

Topic 4. The CMOS Inverter

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

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

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

EE115C Digital Electronic Circuits Homework #4

Synchronous Sequential Logic

Topic 8: Sequential Circuits. Bistable Devices. S-R Latches. Consider the following element. Readings : Patterson & Hennesy, Appendix B.4 - B.

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

EE5311- Digital IC Design

MOSFET and CMOS Gate. Copy Right by Wentai Liu

Integrated Circuits & Systems

Unit 7 Sequential Circuits (Flip Flop, Registers)

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

Digital Integrated Circuits

Lecture 7: Logic design. Combinational logic circuits

COMBINATIONAL LOGIC. Combinational Logic

MASSACHUSETTS INSTITUTE OF TECHNOLOGY Department of Electrical Engineering and Computer Sciences

Vidyalankar S.E. Sem. III [CMPN] Digital Logic Design and Analysis Prelim Question Paper Solution

Dynamic operation 20

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

EECS 312: Digital Integrated Circuits Midterm Exam 2 December 2010

Chapter 7 Sequential Logic

Digital Integrated Circuits A Design Perspective

Power Dissipation. Where Does Power Go in CMOS?

Lecture 5: DC & Transient Response

ESE 570: Digital Integrated Circuits and VLSI Fundamentals

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

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

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

Lecture 6: DC & Transient Response

Lecture 14: State Tables, Diagrams, Latches, and Flip Flop

Introduction to Computer Engineering. CS/ECE 252, Fall 2012 Prof. Guri Sohi Computer Sciences Department University of Wisconsin Madison

Lecture 320 Improved Open-Loop Comparators and Latches (3/28/10) Page 320-1

Chapter 13. Clocked Circuits SEQUENTIAL VS. COMBINATIONAL CMOS TG LATCHES, FLIP FLOPS. Baker Ch. 13 Clocked Circuits. Introduction to VLSI

VLSI Physical Design Prof. Indranil Sengupta Department of Computer Science and Engineering Indian Institute of Technology, Kharagpur

ESE 570: Digital Integrated Circuits and VLSI Fundamentals

F14 Memory Circuits. Lars Ohlsson

Introduction to Computer Engineering. CS/ECE 252, Spring 2017 Rahul Nayar Computer Sciences Department University of Wisconsin Madison

Homework Assignment #1 Solutions EE 477 Spring 2017 Professor Parker

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

CMOS Inverter (static view)

MAHALAKSHMI ENGINEERING COLLEGE TIRUCHIRAPALLI

Transcription:

ESE 570: Digital Integrated Circuits and VLSI Fundamentals Lec 16: March 20, 2018 Energy and Power Optimization, Design Space Exploration Lecture Outline! Energy and Power Optimization " Tradeoffs! Design Space Exploration " Design Problem Example: Match Circuit 3 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 Energy and Power Optimization! 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 4 Worksheet Problem 1 Power Sources Review: P tot = P static + P dyn + P sc V in I static I dynamic I sc 0V 140mV 400mV 500mV 600mV 860mV 1V 7 1

Worksheet Problem 1 Energy and Power Optimization 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 8 Reminder: Worksheet Problem 1 Reduce V dd (Worksheet #2)! V dd =520mV, V thn = V thp =300mV 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 V in I static I dynamic I sc 0V 140mV 260mV 360mV 500mV 1V 180pA 126uA 10 11 Reduce V dd (Worksheet #2)! V dd =520mV, V thn = V thp =300mV Design Tradeoffs V in I static I dynamic I sc 0V 180pA 396uA 140mV 6nA 144uA 260mV 111nA 360mV 6nA 108uA 500mV 180pA 36uA 12 2

Reduce V dd! What happens as reduce V dd? " Energy? " Static " Switching " Delay? Reduce V dd :! τ gd =/I=(CV)/I! I d =(µc OX /2)(W/L)(V gs -V TH ) 2! τ gd impact?! τ gd 1 V 14 15 Reduce V dd : Reduce V dd (Worksheet #3)! τ gd =/I=(CV)/I! I d =(µc OX /2)(W/L)(V gs -V TH ) 2! τ gd impact?! V thn = V thp =300mV, V in =V dd, estimate Eτ V dd I ds τ/(τ@v dd =1) E switch / (E switch @V dd =1) Eτ 1V! τ gd 1 V! Ignoring leakage: E V 2 Eτ 2 Const 700mV 500mV 350mV 260mV 16 17 Reduce V dd (Worksheet #3) Reduce Short-Circuit Power?! V thn = V thp =300mV, V in =V dd, estimate Eτ! P sc = ac sc V 2 f V dd I ds τ/(τ@v dd =1) E switch / (E switch @V dd =1) Eτ 1V 126uA 1 1 1 700mV 72uA 1225 049 6 500mV 36uA 175 025 437 350mV 9uA 49 012 588 260mV 111nA 295 007 206 # # E = V dd I peak t sc % 1& & % (( $ $ 2' ' Vin Vdd Vdd-Vthp Vthn time Vdd Isc Vout tsc tsc time 18 19 3

Increase V th (Worksheet #4) Increase V th (Worksheet #4)! What is impact of increasing threshold on! What is impact of increasing threshold on " Delay? " Delay? " Leakage? " Leakage?! V dd =1V, V in =V dd! V dd =1V, V in =V dd V thn = -V thp I ds τ/(τ@v th =300mV) I static (I stat @V th =300mV) I stat / V thn = -V thp I ds τ/(τ@v th =300mV) I static (I stat @V th =300mV) I stat / 300mV 300mV 126uA 1 180pA 1 460mV 460mV 97uA 13 36pA 002 600mV 600mV 72uA 175 108fA 00006 20 21 Idea! Tradeoff " Speed Design Space Exploration " Switching energy " Leakage energy! Energy-Delay tradeoff: Eτ 2 22 23 Design Problem Idea: Design Space Explore! Function: Identify equivalence of two 32bit inputs! Optimize: Minimize total energy! Assumptions: Match case uncommon! Identify options " All the knobs you can turn! Explore space systematically " Ie Most of the time, the inputs won t be matched! Formulate continuum where possible " ie formulate trends! Deliberately focus on Energy to complement project " but will still talk about delay 24 25 4

Problem Solvable! Is it feasible? " First, make sure we have a solution so we know our main goal is optimization! How do we decompose the problem? Problem Solvable! Is it feasible? " First, make sure we have a solution so we know our main goal is optimization! How do we decompose the problem?! What look like built out of nand2 gates and inverters? 26 27 Total Power Knobs! Static CMOS: " P tot a(½c load +C sc )V 2 f+vi s(w/l)e -Vt/(nkT/q)! What are the options and knobs we can turn?! What can we do to reduce power? 28 29 Design Space Dimensions How Reduce Short-Circuit Power?! Vdd! Topology " Gate choice, logical optimization " Fanin, fanout, Serial vs parallel! Gate style / logic family " CMOS, Ratioed (N load, P load)! Transistor Sizing! Vth! P sc = ac sc V 2 f # # E = V dd I peak t sc % 1& & % (( $ $ 2' '! The choices you make impact area, speed (delay), power 30 31 5

Gate Logic Family! What gates might we build?! Considerations for each logic family? " CMOS! High fanin?! Serial-Parallel? " Ratioed with PMOS load " Ratioed with NMOS load 32 33 Sizing Reduce Vdd! How do we want to size gates?! What happens as reduce V? " Energy? " Dynamic " Static " Switching Delay?! How low can we push Vdd? 34 35 Reduce V dd Increase V th? $ τ gd =/I=(CV)/I! What is impact of increasing threshold on $ I d =(µc OX /2)(W/L)(V gs -V TH ) 2 $ τ gd impact? $ τ gd α 1/V " Dynamic Energy? " Leakage Energy? " Delay? 36 37 6

Design Problem Design Space Dimensions! Function: Identify equivalence of two 32bit inputs! Optimize: Minimize total energy! Assumptions: Match case uncommon " Ie Most of the time, the inputs won t be matched! Deliberately focus on Energy to complement project " but will still talk about delay! Vdd! Topology " Gate choice, logical optimization " Fanin, fanout, Serial vs parallel! Gate style / logic family " CMOS, Ratioed (N load, P load)! Transistor Sizing! Vth! The choices you make impact area, speed (delay), power 38 39 Ideas! Three components of power " P tot = P static + P dyn + P sc Sequential MOS Logic! We know many things we can do to our circuits! Design space is large! Systematically identify dimensions! Identify continuum (trends) tuning when possible! Watch tradeoffs " don t over-tune 40 Classes of Logic Circuits Functions Using Sequential Operations two stable op pts Latch level triggered Flip-Flop edge triggered one stable op pt One-shot single pulse output no stable op pt Ring Oscillator Combinational Circuits: a Current Output(s) depend ONLY on Current Inputs b Suited to problems that can be solved using truth tables Sequential Circuits or State Machines: a Current Output(s) depend on Current Inputs and Past Inputs via State(s) b Suited to problems that are solved by completing several steps using current inputs and past outputs in a specific order or a sequential manner 42 43 7

Sequential Circuit (or State Machine) Construct Static Bistable Sequential Circuits Present State Inputs REGISTER V o1 Vo2 -> Register is used to Store Past Values of State(s) and Output(s) -> Synchronous Sequential Circuit clock, outputs change with clock event -> Asynchronous Sequential Circuit no clock, outputs change after inputs change 44 Outputs Next State Clock V o3 Basic Crosscoupled Inverter pair 45 Static Bistable Sequential Circuits Static Bistable Sequential Circuits Basic Crosscoupled Inverter pair Basic Crosscoupled Inverter pair 46 47 Static Bistable Sequential Circuits Basic Crosscoupled Inverter pair V OH = V DD Basic Sequential Circuits (Cells)! Latches! Registers V OL = 0 maintain stable state STATIC: V DD and GND are required to maintain a stable state Basic Bistable Cross-coupled Inverter Pair has no means to apply input(s) to change the circuit's State 48 49 8

Latch! Level-sensitive device! Positive Latch " Output follows input if CLK high! Negative Latch " Output follows input if CLK low = CLK + CLK In Register! Edge-triggered storage element! Positive edge-triggered " Input sampled on rising CLK edge! Negative edgetriggered " Input sampled on falling CLK edge 50 51 Shift Register Two Phase Non-Overlapping Clocks! How do you make a shift register out of latches?! Build master-slave register from pair of latches! Control with non-overlapping clocks 52 53 Two Phase Non-Overlapping Clocks Two Phase Non-Overlapping Clocks! Build master-slave register from pair of latches! Control with non-overlapping clocks! Build master-slave register from pair of latches! Control with non-overlapping clocks 54 55 9

Two Phase Non-Overlapping Clocks Clocking Discipline! What could go wrong if the overlap?! Follow discipline of combinational logic broken by registers! Compute " From state elements " Through combinational logic " To new values for state elements! As long as clock cycle long enough, " Will get correct behavior 56 57 Ideas Admin! Synchronize circuits " to external events (eg Clk) " disciplined reuse of circuitry! Leads to clocked circuit discipline " Uses state holding element (eg Latches and registers) " Prevents " Timing assumptions " (More) complex reasoning about all possible timings! HW 6 due 3/22 58 59 10