Logic Gate Sizing. The method of logical effort. João Canas Ferreira. March University of Porto Faculty of Engineering

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

Logical Effort. Sizing Transistors for Speed. Estimating Delays

VLSI Design, Fall Logical Effort. Jacob Abraham

Digital Integrated Circuits A Design Perspective

ECE429 Introduction to VLSI Design

Interconnect (2) Buffering Techniques. Logical Effort

Lecture 6: Logical Effort

EE M216A.:. Fall Lecture 5. Logical Effort. Prof. Dejan Marković

EE115C Digital Electronic Circuits Homework #5

Logical Effort EE141

Logical Effort: Designing for Speed on the Back of an Envelope David Harris Harvey Mudd College Claremont, CA

EE 447 VLSI Design. Lecture 5: Logical Effort

EE141. Administrative Stuff

Integrated Circuits & Systems

Advanced VLSI Design Prof. A. N. Chandorkar Department of Electrical Engineering Indian Institute of Technology- Bombay

Introduction to CMOS VLSI Design. Lecture 5: Logical Effort. David Harris. Harvey Mudd College Spring Outline

Lecture 5. Logical Effort Using LE on a Decoder

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

ESE 570: Digital Integrated Circuits and VLSI Fundamentals

EE115C Digital Electronic Circuits Homework #6

Very Large Scale Integration (VLSI)

Introduction to CMOS VLSI Design. Logical Effort B. Original Lecture by Jay Brockman. University of Notre Dame Fall 2008

Lecture 8: Logic Effort and Combinational Circuit Design

Lecture 8: Combinational Circuit Design

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

EE141-Fall 2012 Digital Integrated Circuits. Announcements. Homework #3 due today. Homework #4 due next Thursday EECS141 EE141

Digital Logic. Lecture 5 - Chapter 2. Outline. Other Logic Gates and their uses. Other Logic Operations. CS 2420 Husain Gholoom - lecturer Page 1

VLSI Circuit Design (EEC0056) Exam

Announcements. EE141-Spring 2007 Digital Integrated Circuits. CMOS SRAM Analysis (Read/Write) Class Material. Layout. Read Static Noise Margin

Digital EE141 Integrated Circuits 2nd Combinational Circuits

Chapter 2 DESIGN OF ENERGY EFFICIENT DIGITAL CIRCUITS

EE241 - Spring 2000 Advanced Digital Integrated Circuits. Announcements

7. Combinational Circuits

High-to-Low Propagation Delay t PHL

EE 330 Lecture 37. Digital Circuits. Other Logic Families. Propagation Delay basic characterization Device Sizing (Inverter and multiple-input gates)

COMP 103. Lecture 10. Inverter Dynamics: The Quest for Performance. Section 5.4.2, What is this lecture+ about? PERFORMANCE

! Delay when A=1, B=0? ! CMOS Gates. " Dual pull-down and pull-up networks, only one enabled at a time

CHAPTER 15 CMOS DIGITAL LOGIC CIRCUITS

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

ECE 546 Lecture 10 MOS Transistors

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

Dynamic operation 20

Chapter 4. Digital Integrated Circuit Design I. ECE 425/525 Chapter 4. CMOS design can be realized meet requirements from

Topic 4. The CMOS Inverter

EE 434 Lecture 33. Logic Design

and V DS V GS V T (the saturation region) I DS = k 2 (V GS V T )2 (1+ V DS )

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

ECE 342 Electronic Circuits. Lecture 34 CMOS Logic

CMPEN 411. Spring Lecture 18: Static Sequential Circuits

ENEE 359a Digital VLSI Design

EE M216A.:. Fall Lecture 4. Speed Optimization. Prof. Dejan Marković Speed Optimization via Gate Sizing

Properties of CMOS Gates Snapshot

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

CMOS Inverter (static view)

Integrated Circuits & Systems

THE INVERTER. Inverter

Digital Integrated Circuits A Design Perspective

Lecture 6: DC & Transient Response

Physical Extension of the Logical Effort Model

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

L ECE 4211 UConn F. Jain Scaling Laws for NanoFETs Chapter 10 Logic Gate Scaling

ECE 342 Electronic Circuits. Lecture 35 CMOS Delay Model

EECS 312: Digital Integrated Circuits Final Exam Solutions 23 April 2009

Homework #2 10/6/2016. C int = C g, where 1 t p = t p0 (1 + C ext / C g ) = t p0 (1 + f/ ) f = C ext /C g is the effective fanout

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

Additional Gates COE 202. Digital Logic Design. Dr. Muhamed Mudawar King Fahd University of Petroleum and Minerals

CMOS Digital Integrated Circuits Lec 10 Combinational CMOS Logic Circuits

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

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

EECS 312: Digital Integrated Circuits Midterm Exam 2 December 2010

Lecture 5: DC & Transient Response

Chapter 9. Estimating circuit speed. 9.1 Counting gate delays

Lecture 12 CMOS Delay & Transient Response

EE141-Fall 2011 Digital Integrated Circuits

Lecture 4: DC & Transient Response

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

VLSI GATE LEVEL DESIGN UNIT - III P.VIDYA SAGAR ( ASSOCIATE PROFESSOR) Department of Electronics and Communication Engineering, VBIT

Digital Microelectronic Circuits ( ) Logical Effort. Lecture 7: Presented by: Adam Teman

EECS 141: SPRING 09 MIDTERM 2

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

EECS 151/251A Homework 5

EE5780 Advanced VLSI CAD

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

Lecture 1: Gate Delay Models

Integrated Circuits & Systems

Interconnect (2) Buffering Techniques.Transmission Lines. Lecture Fall 2003

Designing Information Devices and Systems II Fall 2017 Miki Lustig and Michel Maharbiz Homework 1. This homework is due September 5, 2017, at 11:59AM.

EE 330 Lecture 39. Digital Circuits. Propagation Delay basic characterization Device Sizing (Inverter and multiple-input gates)

Lecture 8-1. Low Power Design

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

VLSI. Faculty. Srikanth

EGC221: Digital Logic Lab

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

Static CMOS Circuits. Example 1

Circuits & Boolean algebra.

Lecture 8: Combinational Circuits

Lecture 5: DC & Transient Response

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

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

The Inverter. Digital Integrated Circuits A Design Perspective. Jan M. Rabaey Anantha Chandrakasan Borivoje Nikolic

Transcription:

Logic Gate Sizing The method of logical effort João Canas Ferreira University of Porto Faculty of Engineering March 016

Topics 1 Modeling CMOS Gates Chain of logic gates João Canas Ferreira (FEUP) Logic Gate Sizing March 016 /

Relative dimensions of logic gates A CMOS logic gate may be characterized by four parameters: 1 input capacitance C in intrinsic output capacitance C p 3 pull-up resistance R up 4 pull-down resistance R dn For each type of logic gate we can define a template (a reference gate) 1 input capacitance C t intrinsic output capacitance C pt 3 symmetric output resistance R t = R upt = R dnt For a sized gate (a larger): 1 C in = a C t R up = R dn = R out = R t /a 3 C p = a C pt João Canas Ferreira (FEUP) Logic Gate Sizing March 016 3 /

Propagation delay model (1) Absolute propagation delay of a logic gate: t pabs = 0.69 R out (C out + C p ) = 0.69 R out C out + 0.69 R out C p For each gate type, this can be written in terms of the template: ( ) ( ) Rt C t pabs = 0.69 C out Rt a in + 0.69 (a C C in a pt ) t pabs = 0.69 R t C t f + 0.69 R t C pt Let s map this to an equation of the form t pabs = τ (g f + p) f = Cout /C in g = R t C t R (inv) t C (inv) t R t C pt p = R (inv) t C (inv) t (inv) τ = 0.69 R t C (inv) t (parameters of the template inverter) d = g f + p propagation delay in units of τ João Canas Ferreira (FEUP) Logic Gate Sizing March 016 4 /

Propagation delay model () Gate delay Logical effort d = h + p h: effort delay p: intrinsic delay h = g f g: logical effort f: effective fan-out d = g f + p Logical effort depends only on gate topology, not its size. Intrinsic delay is constant for each gate type. Effective fan-out depends on the relation between load and input capacitance (size of the gate). By definition, g inv = 1. p inv = γ, the relation between input and output capacitance of the inverter. João Canas Ferreira (FEUP) Logic Gate Sizing March 016 5 /

Definitions of logical effort The following definitions of logical effort are all equivalent: Definition 1: The logical effort of a gate is how many times the output current of that gate is lower than the output current of an inverter with the same input capacitance. Definition : The logical effort of a gate is given by the relation of its input capacitance to the input capacitance of an inverter with the same output current. Definition 3: The logical effort of a gate is given by the slope of its delay vs. fan-out curve divided by the slope of the corresponding curve for an inverter. João Canas Ferreira (FEUP) Logic Gate Sizing March 016 6 /

Logical effort of some basic gates The logical effort of a gate is given by the relation of its input capacitance to the input capacitance of an inverter with the same output current. a 1 x a b x a b 4 4 1 1 x (a) (b) (c) g=1 g=4/3 g=5/3 João Canas Ferreira (FEUP) Logic Gate Sizing March 016 7 /

Summary of the logical effort of some basic gates Number of inputs 1 3 n inverter 1 nand 4/3 5/3 (n+)/3 nor 5/3 7/3 (n+1)/3 xor 4 1 João Canas Ferreira (FEUP) Logic Gate Sizing March 016 8 /

Graphical model Source: [Sutherland99] (Illustrates definition 3) João Canas Ferreira (FEUP) Logic Gate Sizing March 016 9 /

Estimation of the intrinsic delay The intrinsic delay of some type of logic gate is X times the intrinsic delay of the template inverter p inv where X is : the ratio between the sum of the diffusion areas (proportional to their widths) of sources or drains connected to the output node of the gate to the corresponding areas of the template inverter. (Condition for having the same output current as the template inverter.) p = ( ) W p 1 + β inv with β = (W/L) p (W/L) n Estimation assumes that all transistors have the same length of the diffusion areas (contacts as close as possible to the channel). For better results, calibrate the model from simulation data. João Canas Ferreira (FEUP) Logic Gate Sizing March 016 10 /

Table of estimated intrinsic delays Gate Inverter n-input NAND n-input NOR n-input XOR or XNOR Intrinsic delay p inv n p inv n p inv n (n 1) p inv João Canas Ferreira (FEUP) Logic Gate Sizing March 016 11 /

Examples Find the delay of the FO4 (fan-out of 4) inverter d = f g + p = 1 4 + p inv = 4 + 1 = 5 Find the delay of a NOR4 gate that drives 10 identical gates d = f g + p = 3 10 + 4 1 = 34 Find the frequency of oscillation of a ring with N identical inverters (N odd) For each inverter: Propagation delay around the ring: Frequency of oscillation: d = f g + p = 1 1 + p inv = F = T = N d τ 1 N d τ João Canas Ferreira (FEUP) Logic Gate Sizing March 016 1 /

Topics 1 Modeling CMOS Gates Chain of logic gates João Canas Ferreira (FEUP) Logic Gate Sizing March 016 13 /

Branching effort Problem: when sizing a logic path it is necessary to account for the loads imposed by gates that do not belong to that path. C i C on 1 C total a dimensionar When sizing the gates on the path, the size of logic gate 1 must take into account not just the load of gate, but also the load C off (which is constant as the gate is not being sized). C off Define b, the branching effort, as b = C path + C off C path Then, the effective fan-out of gate 1 is: f 1 = C path + C off C in = C path C in C path + C off C path = f percurso b João Canas Ferreira (FEUP) Logic Gate Sizing March 016 14 /

Minimizing the delay of two gates Input capacitance: Logical effort: Parasitic delay: Gate 1 C 1 g 1 p 1 Gate C g p C 3 Source: [Sutherland99] D = (g 1 f 1 + p 1 ) + (g f + p ) f 1 = C f C = C 3 f 1 C 1 f = C 3 = F C 1 ( ) g F D = (g 1 f 1 + p 1 ) + + p f 1 In general δd = g δf 1 g F 1 f = 0 g 1 f 1 = g f 1 Delay is minimized when each stage has the same effort h = g f. This fact is independent of the size and intrinsic delays; it is valid for any number of stages and branching effort (included in f). João Canas Ferreira (FEUP) Logic Gate Sizing March 016 15 /

Optimum delay For a path of N logic gates: f 1 f f N = BF with B = b 1 b b N Path effort: H = (g 1 f 1 )(g f ) (g N f N ) = GBF with G = g 1 g g N H does not depend on the size of the gates. The value of H is not changed by inserting inverters. All stages bear the same optimum effort ĥ: H = ĥ1/n or ĥ = N H The minimum delay is: ˆD = i (ĥ + p i ) = NH(1/N) + P with P = i p i João Canas Ferreira (FEUP) Logic Gate Sizing March 016 16 /

Optimum number of stages Scenario: path with n 1 stages and n inverters, N = n 1 + n Assume you can change n, because it does not change the path effort (H) ˆD = NH (1/N) + ( n1 ) p i + (N n 1 )p inv δˆd δn = H(1/N) ln(h (1/N) ) + H (1/N) + p inv = 0 Let ρ be the stage effort delay for the optimum number of stages: ρ = H (1/ˆN) : i=1 p inv + ρ(1 ln(ρ)) = 0 The value of ρ that satisfies this equation is the stage effort delay (h) for all stages of the path: it is independent of other path characteristics. João Canas Ferreira (FEUP) Logic Gate Sizing March 016 17 /

Pragmatic aspects If p inv = 0 then ρ = e =.718 Approximation: ρ 0.71 p inv +.8 For p inv = 1 we get ρ 3.59 Another approximation: ˆN log 4 (H) Use table: ( 1/ˆN ˆN ) H + p inv = ( ) (ˆN + 1) 1/(ˆN+1) H + pinv Fan-out of each stage: f i = ĥ/g i If there is branching at the output of that stage: f i = ĥ b g i p inv ˆN 0.0 0.6 0.8 1.0 1 4.0 5.13 5.48 5.83 11.4 17.7 0.0.3 3 31.6 59.4 70.4 8. 4 86.7 196 45 300 5 37 647 848 1090 6 648 130 930 390 7 1770 6980 10100 1400 8 480 900 34700 51000 9 13100 74900 10000 184000 Path effort H João Canas Ferreira (FEUP) Logic Gate Sizing March 016 18 /

Example: path optimization A C y z B C C C Source: [Sutherland99] C G = g 0 g 1 g = (4/3) 3 =.37 B = 1 F = 1 H =.37 ˆD = 3.37 1/3 +3 p inv = 10 ĥ = 4/3 z = C (4/3)/(4/3) = C y = C C Source: [Sutherland99] Assumes β = João Canas Ferreira (FEUP) Logic Gate Sizing March 016 19 /

Example: implementation of a logic function g = g = 1 g = g = 10 5 3 3 p = 8 p = 1 p = 4 p = (a ) D = N (FBG) 1/N + P (a) D = (3.33 F) 1/ + 9 (b) D = (3.33 F) 1/ + 6 (c) D = 4 (.86 F) 1/4 + 7 4 g = 3 p = 5 g = 3 p = 4 g = 3 p = g = 1 p = 1 (b) F = 1: use (b) D = 9.65 F = 1: use (c) D = 16.77 (c) Source: [Sutherland99] João Canas Ferreira (FEUP) Logic Gate Sizing March 016 0 /

Logical effort: summary Determine the path effort: H = BFG Determine the optimum number of stages: N log 4 (H) Find the optimum stage effort delay: h = N H Draw the logic path Find the input capacitance of each gate: C in = C out b g h If necessary, find the sizes of the transistors (using information from the template). João Canas Ferreira (FEUP) Logic Gate Sizing March 016 1 /

References Some figures come from the following books: Rabaey03 J. M. Rabaey et al, Digital Integrated Circuits, nd edition,prentice Hall, 003. http://bwrc.eecs.berkeley.edu/icbook/ Sutherland99 I. Sutherland, B. Sproull and D. Harris, Logical Effort, Morgan Kaufmann Publishers, 1999. João Canas Ferreira (FEUP) Logic Gate Sizing March 016 /