Chapter 9. Estimating circuit speed. 9.1 Counting gate delays

Similar documents
Lecture 5: DC & Transient Response

Lecture 6: DC & Transient Response

Lecture 5: DC & Transient Response

Lecture 12 CMOS Delay & Transient Response

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

EE5780 Advanced VLSI CAD

Lecture 4: DC & Transient Response

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

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

Very Large Scale Integration (VLSI)

E40M Capacitors. M. Horowitz, J. Plummer, R. Howe

THE INVERTER. Inverter

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

Lecture 7 Circuit Delay, Area and Power

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

EE115C Digital Electronic Circuits Homework #4

Lecture 4: CMOS Transistor Theory

ENEE 359a Digital VLSI Design

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.

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

2005 AP PHYSICS C: ELECTRICITY AND MAGNETISM FREE-RESPONSE QUESTIONS

MASSACHUSETTS INSTITUTE OF TECHNOLOGY Department of Electrical Engineering and Computer Sciences

CMOS Digital Integrated Circuits Lec 10 Combinational CMOS Logic Circuits

MOSFET and CMOS Gate. Copy Right by Wentai Liu

Topic 4. The CMOS Inverter

EE141Microelettronica. CMOS Logic

CMOS Technology Worksheet

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

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

VLSI VLSI CIRCUIT DESIGN PROCESSES P.VIDYA SAGAR ( ASSOCIATE PROFESSOR) Department of Electronics and Communication Engineering, VBIT

CMOS Inverter (static view)

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

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

5. CMOS Gate Characteristics CS755

EEE 421 VLSI Circuits

ENEE 359a Digital VLSI Design

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

Integrated Circuits & Systems

MOS Transistor Theory

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

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

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

E40M Review - Part 1

ESE 570: Digital Integrated Circuits and VLSI Fundamentals

Static CMOS Circuits. Example 1

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

MOS Transistor Theory

SEMICONDUCTOR MEMORIES

Slide Set 6. for ENEL 353 Fall Steve Norman, PhD, PEng. Electrical & Computer Engineering Schulich School of Engineering University of Calgary

Digital Integrated Circuits A Design Perspective

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

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

Lecture 23. CMOS Logic Gates and Digital VLSI I

Computer Science 324 Computer Architecture Mount Holyoke College Fall Topic Notes: Digital Logic

EE115C Digital Electronic Circuits Homework #6

UNIVERSITY OF CALIFORNIA College of Engineering Department of Electrical Engineering and Computer Sciences. Professor Oldham Fall 1999

Hw 6 and 7 Graded and available Project Phase 2 Graded Project Phase 3 Launch Today

ESE 570: Digital Integrated Circuits and VLSI Fundamentals

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

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

Digital Electronics Part II Electronics, Devices and Circuits

Problem Set 4 Solutions

Topics to be Covered. capacitance inductance transmission lines

CMPEN 411 VLSI Digital Circuits Spring 2012

Homework Assignment #3 EE 477 Spring 2017 Professor Parker , -.. = 1.8 -, 345 = 0 -

Introduction to CMOS VLSI. Chapter 2: CMOS Transistor Theory. Harris, 2004 Updated by Li Chen, Outline

EE141- Fall 2002 Lecture 27. Memory EE141. Announcements. We finished all the labs No homework this week Projects are due next Tuesday 9am EE141

VLSI. Faculty. Srikanth

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

Digital Integrated Circuits A Design Perspective

The Physical Structure (NMOS)

Semiconductor Memories

EECS 312: Digital Integrated Circuits Midterm Exam 2 December 2010

CHAPTER 15 CMOS DIGITAL LOGIC CIRCUITS

3. Design a stick diagram for the PMOS logic shown below [16] Y = (A + B).C. 4. Design a layout diagram for the CMOS logic shown below [16]

5.0 CMOS Inverter. W.Kucewicz VLSICirciuit Design 1

Capacitors. Chapter How capacitors work Inside a capacitor

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

P. R. Nelson 1 ECE418 - VLSI. Midterm Exam. Solutions

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

Circuit A. Circuit B

Digital Electronics Part II - Circuits

RC, RL, and LCR Circuits

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

ECE251 VLSI System Design Spring Homework 1. Jinfeng Liu

Lecture 0: Introduction

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

Digital Integrated Circuits

Chapter 5 CMOS Logic Gate Design

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

Integrated Circuits & Systems

AE74 VLSI DESIGN JUN 2015

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

Interconnects. Wire Resistance Wire Capacitance Wire RC Delay Crosstalk Wire Engineering Repeaters. ECE 261 James Morizio 1

Switching circuits: basics and switching speed

EE382M-14 CMOS Analog Integrated Circuit Design

ECE 342 Electronic Circuits. Lecture 34 CMOS Logic

CMOS Digital Integrated Circuits Lec 13 Semiconductor Memories

Lecture 8-1. Low Power Design

CMPEN 411 VLSI Digital Circuits. Lecture 03: MOS Transistor

Transcription:

Chapter 9 Estimating circuit speed 9.1 Counting gate delays The simplest method for estimating the speed of a VLSI circuit is to count the number of VLSI logic gates that the input signals must propagate through to become output signals. This is a fairly straightforward method, except for the fact that a circuit symbol may actually be composed of multiple gates. For instance, in Figure 9.1, the S 0 is computed from the X 0, Y 0 and Carry in in 3 gate delays instead of, because the full adder is composed of two VLSI logic gates. One of the gates computes the carry from the three inputs, while the other computes the sum from the three inputs and the carry output. This is why the carry from the first full adder to the second full adder is computed in only two gate delays. X 1 Y 1 X 0 Y 0 Carry in Carry out 4 5 S 1 3 S 0 Figure 9.1: Two bit adder with computed gate delay. Other symbols such as the AND and OR logic gates also hide multiple VLSI logic gates. Since the AND logic gate cannot be created directly, the logic gate must be constructed from a NAND logic gate and an inverter or from two inverters and a NOR gate. Similarly, the OR logic gate must be constructed from a NOR logic gate and an inverter or from two inverters and a NAND gate. If the adder is optimized as described in Chapter 7 to eliminate inverters from the carry chain, then the gate delay changes as well, as shown in Figure 9.. Note that in the Figure 9., the carry from the first full adder reaches the second full adder with same gate delay as the inverted inputs. In contrast, in Figure 9.(b), the carry from the first full adder reaches the second full adder 51

with two gate delays, so that the sum takes longer to compute (although it will still be faster then the unoptimized adder of Figure 9.1 when extended to three or more bits). Carry out X 1 Y 1 1 S 1 3 X 0 Y 0 3 S 0 Carry in Carry out X 1 Y 1 X 0 Y 0 5 3 4 S 1 S 0 Carry in Figure 9.: Optimized two bit adder. 9. Computing RC delays Counting gate delays is a poor method for estimating circuit speed. It doesn t take into account the speed reduction that occurs when a VLSI logic gate drives many other VLSI logic gates, or the difference between series and parallel transistor structures within a VLSI logic gate. It also doesn t account for the effect of the transistor sizes on the VLSI logic gate s speed. A better method is to model each transistor as a capacitor and a resistor. In this method, each transistor is modeled as having a capacitor between its gate terminal and ground, and a resistor and an ideal switch in series between the source and drain terminals as shown in Figure 9.3. The capacitor models the effect of driving multiple VLSI logic gates, and the resistor models the reduced speed of the circuit when the transistors are connected in series. As before the switch is open or closed depending on the logic level at the gate terminal. Drain Drain Source Source Gate Gate Gate Gate Source Source Drain Drain Figure 9.3: RC transistor model. With this new transistor model, we can model the interaction between two logic gates. For instance, the model converts the two inverters shown in Figure 9.4 first into the circuit shown in Figure 9.4(b), then into the circuit shown in Figure 9.4(c). 5

Vout Vout Vout (b) (c) Figure 9.4: Modeling two inverters. When the output of the first inverter transitions from 1 to 0, the resistor originating from the NFET in the first inverter will discharge the capacitance originating from the transistors in the second inverter. ence the output will follow the exponential decay described by: Vout = Vdd e t R N C where t is time, R N is the NFET resistance and C is the total capacitance at the input of the second inverter (that is, the sum of the capacitance C N originating from the NFET and the capacitance C P originating from the PFET). This exponential decay is sketched in Figure 9.5, and the product R N C is referred to as the time constant. When the output of the first inverter transitions from 0 to 1, we also get an exponential decay, but one that approaches Vdd asymptotically instead of Gnd. This exponential decay is described by: Vout = Vdd (1 e t R PC ) and is sketched in Figure 9.5(b). The resistance R P in this equation is the resistance originating from the PFET, not the NFET, and may be quite different, so that the time constant R P C may also be quite different. Vout Vout Vdd 36.8% Gnd 0 RC time Vdd 63.% Gnd 0 RC (b) time Figure 9.5: Exponential decays. Decay to Gnd. (b) Decay to Vdd. 53

9.3 Effects of device sizing Consider the two transistors shown in Figure 9.6. We can draw these two transistors in a layout by drawing a vertical diffusion (or active) rectangle with two separate horizontal polysilicon rectangles as shown in Figure 9.6(b). owever, since the gates of both transistors are connected together, we can move the polysilicon rectangles towards one another until they touch as shown in Figure 9.6(c). This results in a single transistor of length L which is twice the length of the individual original transistors. Since the resistance of two series resistors adds and the capacitance of two parallel capacitors also adds, we can conclude that: R N L and C N L L (b) (c) Figure 9.6: Series transistors with common gate. Schematic. (b) Layout with separate polysilicon rectangles. (c) Layout with merged polysilicon rectangles. We can perform the same exercise with parallel transistors as shown in Figure 9.7 to observe the effect of the width W. Since the conductance (reciprocal of resistance) of two parallel resistors adds and the capacitance of two parallel capacitors also adds, we conclude that: R N 1 W and C N W W (b) (c) Figure 9.7: Parallel transistors with common gate. Schematic. (b) Layout with separate diffusion rectangles. (c) Layout with merged diffusion rectangles. 54

Similar conclusions hold for PFETs, so that in summary, we have: R N, R P L W and C N, C P L W 9.4 Adjusting device width and length In section 9. we found that the shape of the transient waveform for a high to low transition is an exponential decay. This means that the fall-time (the time from when the output starts to fall to when it reaches the input threshold of the next gate) is proportional to the time constant. This is because if Vinv is the input threshold for an inverter, then the fall-time t f is given by: t f ( ) R Vinv = Vdd e N C Vdd t f = R N C ln Vinv Similarly, the rise-time t r is also proportional to the time constant: ( ) Vinv = Vdd (1 e tr Vdd R PC ) t r = R P C ln Vdd Vinv t f R N (C N + C P ) t r R P (C N + C P ) If Vinv = Vdd then the average propagation delay is proportional to the average time constant t RC : where t pd = t f + t r R N + R P t RC = RC and R = R N + R P (C N + C P ) t pd t RC, C = C N + C P It is important to note that the resistance in these expressions is the output resistance of the transistors in the driving logic gate (such as the leftmost inverter in Figure 9.4) while the capacitance is the input capacitance of the transistors in the driven logic gate (such as the rightmost inverter in Figure 9.4). Obviously, if all transistors have the same width and length the distinction is superfluous. owever, suppose that we make the transistors in the driving logic gate w wider than the minimum size that we can draw, and the transistors in the driven logic gate β w wider than the minimum size that we can draw. Then the conductance of the driving logic gate increases by a factor of w, and the capacitance of the driven logic gate increases by a factor of β w. The effect on the propagation delay is: t RC = R N + R P w β w (C N + C P ) = β w w RC ence, to improve speed (i.e. reduce the propagation delay), we generally want to make the driving transistors wider and the driven transistors narrower. (Note that this relationship is somewhat approximate, because changing the device widths also affect the Vinv.) If on the other hand, if we make the transistors in the driving logic gate l longer than the minimum size that we can draw, and the transistors in the driven logic gate β l longer than the minimum size that we can draw, then the resistance of the driving logic gate increases by a factor 55

of l, and the capacitance of the driven logic gate increases by a factor of β l. The effect on the propagation delay is: t RC = l R N + R P β l (C N + C P ) = β l l RC ence, to improve speed we generally want to make all transistors shorter. 9.5 Optimizing device width and length Since increasing the width of the transistors can both improve and degrade the performance of a circuit, it is necessary to find the optimal widths on a case by case basis. Suppose we have three inverters as shown in Figure 9.8. R C t RC = RC R t RC = RC C Figure 9.8: Time constant calculation for three inverters. If we increase the width of the transistors in the middle inverter by, then the overall time constant becomes: ( t RC () = t RC + t RC = + 1 ) RC To optimize the value of, we set the first derivative of t RC () to zero as follows: dt RC () d = (1 1 ) RC = 0 = 1 We should not conclude from this exercise that adjusting the transistor widths is pointless. Indeed, suppose that the middle inverter drives multiple inverters as shown in Figure 9.9. R C t RC = RC R t RC = 4RC 4C Figure 9.9: Time constant calculation for three inverters with a fan-out of 4. 56

The same optimization now yields: dt RC () d = (1 4 ) RC = 0 = 9.6 General optimization guidelines Suppose we have n+1 inverters as shown in Figure 9.10, labeled from 0 to n, where the width of the transistors in inverter i is i times wider than the minimum (and 0 = 1). 1 R 1 C t 1 RC = 1 RC 1 1 i i+1 n 1 n i i+1 n-1 n R R i i+1 C n 1 n C t i+1 RC t n RC = RC = i+1 i n n 1 RC Figure 9.10: Time constant calculation for many inverters. The overall time constant is the sum of all the individual time constants: n n t RC ( 1,..., n ) = t i i RC = RC i=1 i=1 i 1 Since t RC () is now a function of multiple variables, optimization require setting all the partial derivatives to zero as follows: δt RC ( 1,..., n ) δ i = 0 for i = 1... n For every i, there are only two terms in the summation that contain i : RC i i 1 and RC i+1 ence: ( δt RC ( 1,..., n ) 1 = ) i+1 RC = 0 δ i i 1 i = i 1 i+1 i This gives us the recurring relation: for which the solution is (proved by induction): i+1 = i i 1 and 0 = 1 i. i = i and = n N where N = n. This shows that the optimal transistor sizing yields a geometric progression, where each inverter is times bigger than the previous one. The overall time constant is now: t RC = RC n i=1 i i 1 = RC n = nrc = nrc n N i=1 57

If we allow n to vary while keeping the size of the last inverter constant, we find that we can also optimize the number of inverters to minimize the overall time constant. To facilitate the minimization, we will instead minimize the time constant as a function of. Since: = n N n = N n ln = ln N n = ln N ln we can express the overall time constant s dependence on as: t RC () = ln N RC = RC ln N ln ln If we plot as a function of, we get the curve shown in Figure 9.11. ln ln 4.0 3.8 3.6 3.4 3. 3.0 ln.8 e.6 1 e 3 4 5 6 7 8 9 Figure 9.11: Setting the derivative of t RC () to zero we get: dt RC () d The optimal value for and n is therefore: as a function of. ln = RC ln N ln 1 (ln ) = 0 ln = 1 = e and n = ln N 58