ESE 570: Digital Integrated Circuits and VLSI Fundamentals

Similar documents
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

! 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.

ESE 570: Digital Integrated Circuits and VLSI Fundamentals

EE141Microelettronica. CMOS Logic

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.

Digital Integrated Circuits A Design Perspective

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

ELCT201: DIGITAL LOGIC DESIGN

Integrated Circuits & Systems

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

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

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

GMU, ECE 680 Physical VLSI Design

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

Digital Integrated Circuits A Design Perspective

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

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

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

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

Digital Integrated Circuits A Design Perspective

LOGIC CIRCUITS. Basic Experiment and Design of Electronics

Topic 8: Sequential Circuits

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

CMPEN 411. Spring Lecture 18: Static Sequential Circuits

Lecture 9: Sequential Logic Circuits. Reading: CH 7

MODULE 5 Chapter 7. Clocked Storage Elements

EE241 - Spring 2000 Advanced Digital Integrated Circuits. Announcements

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

Sequential vs. Combinational

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

Synchronous Sequential Logic

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

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

Lecture 8-1. Low Power Design

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

THE INVERTER. Inverter

Homework Assignment #1 Solutions EE 477 Spring 2017 Professor Parker

Chapter 7 Sequential Logic

University of Toronto. Final Exam

Lecture 5. MOS Inverter: Switching Characteristics and Interconnection Effects

Clock Strategy. VLSI System Design NCKUEE-KJLEE

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

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

EET 310 Flip-Flops 11/17/2011 1

ESE 570: Digital Integrated Circuits and VLSI Fundamentals

ELEC Digital Logic Circuits Fall 2014 Sequential Circuits (Chapter 6) Finite State Machines (Ch. 7-10)

ESE 570: Digital Integrated Circuits and VLSI Fundamentals

Computers also need devices capable of Storing data and information Performing mathematical operations on such data

Sequential Logic. Rab Nawaz Khan Jadoon DCS. Lecturer COMSATS Lahore Pakistan. Department of Computer Science

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

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

EE 434 Lecture 33. Logic Design

Circuit A. Circuit B

F14 Memory Circuits. Lars Ohlsson

Lecture 3 Review on Digital Logic (Part 2)

Lecture 5. Logical Effort Using LE on a Decoder

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

EECS 312: Digital Integrated Circuits Midterm Exam 2 December 2010

Unit 7 Sequential Circuits (Flip Flop, Registers)

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

ESE 570: Digital Integrated Circuits and VLSI Fundamentals

Lecture 7: Logic design. Combinational logic circuits

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

Vidyalankar S.E. Sem. III [ETRX] Digital Circuits and Design Prelim Question Paper Solution

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

EE371 - Advanced VLSI Circuit Design

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

MAHALAKSHMI ENGINEERING COLLEGE TIRUCHIRAPALLI

Gates and Flip-Flops

Sequential Logic Circuits

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

EE141- Spring 2007 Digital Integrated Circuits

Digital Logic: Boolean Algebra and Gates. Textbook Chapter 3

Digital Integrated Circuits A Design Perspective

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

MODULE III PHYSICAL DESIGN ISSUES

Digital Integrated Circuits Designing Combinational Logic Circuits. Fuyuzhuo

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

EE40 Lec 15. Logic Synthesis and Sequential Logic Circuits

MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION (Autonomous) (ISO/IEC Certified)

on candidate s understanding. 7) For programming language papers, credit may be given to any other program based on equivalent concept.

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

Chapter 5 CMOS Logic Gate Design

MOSFET and CMOS Gate. Copy Right by Wentai Liu

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

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

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

EECS 141: FALL 05 MIDTERM 1

L4: Sequential Building Blocks (Flip-flops, Latches and Registers)

COMBINATIONAL LOGIC. Combinational Logic

CSE140: Components and Design Techniques for Digital Systems. Midterm Information. Instructor: Mohsen Imani. Sources: TSR, Katz, Boriello & Vahid

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

Unit II Chapter 4:- Digital Logic Contents 4.1 Introduction... 4

EE5311- Digital IC Design

Transcription:

ESE 570: Digital Integrated Circuits and VLSI Fundamentals Lec 17: March 23, 2017 Energy and Power Optimization, Design Space Exploration, Synchronous MOS Logic

Lecture Outline! Energy and Power Optimization " Tradeoffs! Design Space Exploration " Design Problem Example: Match Circuit 2

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 3

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 6

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 7

Energy and Power Optimization

Reminder: 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 9

Reduce V dd (Worksheet #2)! V dd =520mV, V thn = V thp =300mV V in I static I dynamic I sc 0V 140mV 260mV 360mV 500mV 10

Reduce V dd (Worksheet #2)! V dd =520mV, V thn = V thp =300mV V in I static I dynamic I sc 0V 180pA 39.6uA 140mV 6nA 14.4uA 260mV 111nA 360mV 6nA 10.8uA 500mV 180pA 36uA 11

Design Tradeoffs

Reduce V dd! What happens as reduce V? " Energy? " Static " Switching " Delay? 13

Reduce V dd :! τ gd =Q/I=(CV)/I! I d =(µc OX /2)(W/L)(V gs -V TH ) 2! τ gd impact?! τ gd 1 V 14

Reduce V dd :! τ gd =Q/I=(CV)/I! I d =(µc OX /2)(W/L)(V gs -V TH ) 2! τ gd impact?! τ gd 1 V! Ignoring leakage: E V 2 Eτ 2 Const 15

Reduce V dd (Worksheet #3)! 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 700mV 500mV 350mV 260mV 16

Reduce V dd (Worksheet #3)! 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 126uA 1 1 1 700mV 72uA 1.225 0.49.6 500mV 36uA 1.75 0.25.437 350mV 9uA 4.9 0.12.588 260mV 111nA 295 0.07 20.6 17

Reduce Short-Circuit Power?! P sc = ac sc V 2 f # # E = V dd I peak t sc % 1& & % (( $ $ 2' ' Vin Vdd-Vthp Vthn time Vdd Vdd Isc Vout tsc tsc time 18

Increase V th (Worksheet #4)! What is impact of increasing threshold on " Delay? " Leakage?! 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 / 300mV 460mV 600mV 19

Increase V th (Worksheet #4)! What is impact of increasing threshold on " Delay? " Leakage?! 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 / 300mV 126uA 1 180pA 1 460mV 97uA 1.3 3.6pA 0.02 600mV 72uA 1.75 108fA 0.0006 20

Idea! Tradeoff " Speed " Switching energy " Leakage energy! Energy-Delay tradeoff: Eτ 2 21

Design Space Exploration 22

Design Problem! 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 23

Idea: Design Space Explore! Identify options " All the knobs you can turn! Explore space systematically! Formulate continuum where possible " i.e. formulate trends 24

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? 25

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

Total Power! Static CMOS: " P tot a(½c load +C sc )V 2 f+vi s (W/L)e-Vt/(nkT/q)! What can we do to reduce power? 27

Knobs! What are the options and knobs we can turn? 28

Design Space Dimensions! 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 29

How Reduce Short-Circuit Power?! P sc = ac sc V 2 f # # E = V I t % 1& & dd % ( peak sc ( $ $ 2' ' 30

Gate! What gates might we build?! High fanin?! Serial-Parallel? 31

Logic Family! Considerations for each logic family? " CMOS " Ratioed with PMOS load " Ratioed with NMOS load 32

Sizing! How do we want to size gates? 33

Reduce Vdd! What happens as reduce V? " Energy? " Dynamic " Static " Switching Delay?! How low can we push Vdd? 34

Reduce V dd $ τ gd =Q/I=(CV)/I $ I d =(µc OX /2)(W/L)(V gs -V TH ) 2 $ τ gd impact? $ τ gd α 1/V 35

Increase V th?! What is impact of increasing threshold on " Dynamic Energy? " Leakage Energy? " Delay? 36

Design Problem! 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 37

Design Space Dimensions! 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

Ideas! Three components of power " P tot = P static + P dyn + P sc! 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 39

Sequential MOS Logic

Classes of Logic Circuits 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. 41

Functions Using Sequential Operations 42

Sequential Circuit (or State Machine) Construct Inputs Outputs V o1 Vo2.... V o3 Present State -> 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 REGISTER.... Next State Clock 43

Static Bistable Sequential Circuits Basic Crosscoupled Inverter pair Q Q 44

Static Bistable Sequential Circuits Basic Crosscoupled Inverter pair Q Q 45

Static Bistable Sequential Circuits Basic Crosscoupled Inverter pair Q Q 46

Static Bistable Sequential Circuits Basic Crosscoupled Inverter pair Q V OH = V DD Q 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. 47

Basic Sequential Circuits (Cells)! Latches! Registers 48

Latch! Level-sensitive device! Positive Latch " Output follows input if CLK high! Negative Latch " Output follows input if CLK low Q = CLK Q + CLK In 49

Register! Edge-triggered storage element! Positive edge-triggered " Input sampled on rising CLK edge! Negative edgetriggered " Input sampled on falling CLK edge 50

Shift Register! How do you make a shift register out of latches? 51

Two Phase Non-Overlapping Clocks! Build master-slave register from pair of latches! Control with non-overlapping clocks 52

Two Phase Non-Overlapping Clocks! Build master-slave register from pair of latches! Control with non-overlapping clocks 53

Two Phase Non-Overlapping Clocks! Build master-slave register from pair of latches! Control with non-overlapping clocks 54

Two Phase Non-Overlapping Clocks! What could go wrong if the overlap? 55

Clocking Discipline! 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

CMOS SR Latch NOR2 * * 57

CMOS SR Latch NOR2 basic crosscoupled inverter pair 58

CMOS SR Latch NOR2 basic crosscoupled inverter pair 59

CMOS SR Latch NOR2 SET OP: S = 1, R = 0 basic crosscoupled inverter pair 60

CMOS SR Latch NOR2 RESET OP: R = 1, S = 0 basic crosscoupled inverter pair 61

CMOS SR Latch NOR2 HOLD OP: S = 0, R = 0 basic crosscoupled inverter pair 62

CMOS SR Latch NOR2 HOLD OP: S = 0, R = 0 basic crosscoupled inverter pair 63

CMOS SR Latch NOR2 ACTIVE HIGH * * 64

CMOS SR Latch NAND2 basic cross-coupled inverter pair 65

CMOS SR Latch NAND2 ACTIVE LOW * * * * 66

Synchronous Latches NAND SR SR Latch LATCH NOTE: S and R are asynchronous. S/R S /R' CK 67

Synchronous Latches NAND SR SR Latch LATCH NOTE: S and R are asynchronous. S/R S /R' CK SET STATE: CK = 1, S = 1, R = 0 => S' = 0, R' = 1 => Q n+1 = 1, Q n+1 = 0 RESET STATE: CK = 1, S = 0, R = 1 => S' = 1, R' = 0 => Q n+1 = 0, Q n+1 = 1 NOT ALLOWED: CK = 1, S = 1, R = 1 => S' = 0, R' = 0 IS CK = 1, S = 0, R = 0 a HOLD STATE? 68

Synchronous Latches HOLD STATE: CK = 1, S = 0, R = 0 T glitch Q error due to glitch on S R 69

Latch! Level-sensitive device! Positive Latch " Output follows input if CLK high! Negative Latch " Output follows input if CLK low Q = CLK Q + CLK In 70

Static CMOS D-Latch S If CK = 1 R LATCH If CK = 0, HOLD 71

Static CMOS D-Latch S If CK = 1 R LATCH If CK = 0, HOLD 18 Transistors CK D S' R' Q n+1 Q n+1 1 1 0 1 1 0 SR-Set 1 0 1 0 0 1 SR-Reset 0 x 0 0 Q n Q n SR-Hold + NO TOGGLE + NO NOT-ALLOWED INPUTS 72

Static CMOS TG D-LATCH 8 Transistors 8 Transistors **Transistor level implementation using transmission gates requires fewer transistors 73

Static CMOS TG D-LATCH CK D CK Q CK Q CK 74

Static CMOS TG D-LATCH When CK = 1 output Q = D, and tracks D until CK = 0, the D-Latch is referred to positive level triggered. When CK 1 to 0, the Q = D is captured, held (or stored) in the Latch. 75

D-LATCH Timing Requirements 76

Ideas! 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 77

Admin! HW 6 due 3/28 @ midnight 78