UNIVERSITY OF CALIFORNIA, BERKELEY College of Engineering Department of Electrical Engineering and Computer Sciences

Similar documents
UNIVERSITY OF CALIFORNIA, BERKELEY College of Engineering Department of Electrical Engineering and Computer Sciences

Elad Alon Homework #2 EECS141 Due Thursday, September 9, 5pm, box in 240 Cory

UNIVERSITY OF CALIFORNIA, BERKELEY College of Engineering Department of Electrical Engineering and Computer Sciences

UNIVERSITY OF CALIFORNIA, BERKELEY College of Engineering Department of Electrical Engineering and Computer Sciences

UNIVERSITY OF CALIFORNIA, BERKELEY College of Engineering Department of Electrical Engineering and Computer Sciences

EE115C Digital Electronic Circuits Homework #6

UNIVERSITY OF CALIFORNIA, BERKELEY College of Engineering Department of Electrical Engineering and Computer Sciences

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

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

UNIVERSITY OF CALIFORNIA, BERKELEY College of Engineering Department of Electrical Engineering and Computer Sciences

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

Circuit A. Circuit B

Digital Integrated Circuits A Design Perspective

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

Properties of CMOS Gates Snapshot

Integrated Circuits & Systems

EE115C Digital Electronic Circuits Homework #4

Digital Integrated Circuits A Design Perspective

ECE 342 Electronic Circuits. Lecture 35 CMOS Delay Model

EE115C Digital Electronic Circuits Homework #5

ECE 342 Solid State Devices & Circuits 4. CMOS

Lecture 7: SPICE Simulation

have followed. Submit the necessary plots showing the trade-off between propagation delays and transistor widths.

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

THE INVERTER. Inverter

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

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

EE141Microelettronica. CMOS Logic

Digital Integrated Circuits

EE141. Administrative Stuff

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

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

EECS 151/251A Homework 5

ECE251 VLSI System Design Spring Homework 1. Jinfeng Liu

Lecture 5: DC & Transient Response

The Physical Structure (NMOS)

Lecture 8-1. Low Power Design

UNIVERSITY OF CALIFORNIA, BERKELEY College of Engineering Department of Electrical Engineering and Computer Sciences

ESE 570: Digital Integrated Circuits and VLSI Fundamentals

Integrated Circuits & Systems

ECE251. VLSI System Design

Lecture 12 CMOS Delay & Transient Response

EECS 141: SPRING 09 MIDTERM 2

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

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

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

EEE 421 VLSI Circuits

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

UNIVERSITY OF CALIFORNIA

Interconnect (2) Buffering Techniques. Logical Effort

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

Lecture 5: DC & Transient Response

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

ENEE 359a Digital VLSI Design

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

The CMOS Inverter: A First Glance

Lecture 5. Logical Effort Using LE on a Decoder

ECE321 Electronics I

Announcements. EE141- Spring 2003 Lecture 8. Power Inverter Chain

EE371 - Advanced VLSI Circuit Design

COMBINATIONAL LOGIC. Combinational Logic

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

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

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

ECE 546 Lecture 10 MOS Transistors

7. Combinational Circuits

EECS 141: FALL 05 MIDTERM 1

Lecture 4: DC & Transient Response

Power Dissipation. Where Does Power Go in CMOS?

Digital Integrated Circuits 2nd Inverter

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

EE5780 Advanced VLSI CAD

EE5311- Digital IC Design

Pluging in values for the parameters from table 6.1 we obtain switching resistance,

EECS 312: Digital Integrated Circuits Midterm Exam 2 December 2010

EE5311- Digital IC Design

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

VLSI Design, Fall Logical Effort. Jacob Abraham

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

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

CMOS Inverter. Performance Scaling

VLSI Circuit Design (EEC0056) Exam

Lecture 8: Combinational Circuit Design

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

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

Lecture 6: DC & Transient Response

The CMOS Inverter: A First Glance

Integrated Circuits & Systems

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

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

High-to-Low Propagation Delay t PHL

MOSFET and CMOS Gate. Copy Right by Wentai Liu

EECS150 - Digital Design Lecture 22 Power Consumption in CMOS. Announcements

COMP 103. Lecture 16. Dynamic Logic

Digital Integrated Circuits A Design Perspective

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

EE141-Fall 2011 Digital Integrated Circuits

CMOS Technology Worksheet

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

CMOS Logic Gates. University of Connecticut 181

Transcription:

UNIVERSITY OF CALIFORNIA, BERKELEY College of Engineering Department of Electrical Engineering and Computer Sciences Elad Alon Homework #7 Solutions EECS141 PROBLEM 1: Logical Effort with Velocity Saturated Transistors Recall HW#4, where we calculated the ratio of currents between transistors with minimum channel length (0.25µm) and twice the minimum channel length (0.5µm). We saw that if the device was quadratic (i.e., long-channel), doubling the channel length (while keeping the width constant) halved the drain current. However, in velocity saturation, the drain current for the 0.5µm long transistor was more than half of the 0.25µm long transistor s drain current. Throughout this problem, you should assume that sizing an inverter with W p = 2W n makes t phl equal to t plh. Also, you should turn in your SPICE decks for parts c) and d). a) Draw the schematic for a static CMOS gate implementing the function F = NOT(AB+CD). b) Assuming that the devices behave quadratically (i.e., are not velocity saturated), size the transistors in the gate for equal t phl and t plh. Still assuming quadratic devices, what is the logical effort of this gate? c) Using HSPICE and the sizing you calculated in part b), plot the t p,avg of this gate vs. fanout with A transitioning, B=1, C=0, and D=1. You should measure the delay at a fanout of 1, 2, 3, and 4. Note that in this simulation, you should use L=0.24µm for all of your transistors. Because of slope effects, you will need to be careful in setting this simulation up please attend one of the discussion sessions for instructions on how to correctly set up this simulation. d) Using the simulation results of part c) and a simulation of inverter delay vs. fanout, what is the simulated logical effort of this gate?

Solutions: a) b) LE = (4+2)/3 = 2 c) Plot in (d) SPICE Deck: * Homework 7 Problem 1d.LIB '/home/ff/ee141/models/g25.mod' TT * Function SUBCKT Definition.SUBCKT aoi22 vdd gnd a b c d out

Mpa out a x vdd PMOS W=4u L=0.24u Mpb out b x vdd PMOS W=4u L=0.24u Mpc x c vdd vdd PMOS W=4u L=0.24u Mpd x d vdd vdd PMOS W=4u L=0.24u Mna out a y gnd NMOS W=2u L=0.24u Mnb y b gnd gnd NMOS W=2u L=0.24u Mnc out c z gnd NMOS W=2u L=0.24u Mnd z d gnd gnd NMOS W=2u L=0.24u.ENDS * Voltage Sources Vdd vdd 0 2.5V Vstep vstep 0 PULSE 0V 2.5V 10p 1p 1p 5n 10n * Applying Fanout.param fo = 1 xaoi1 vdd 0 vstep vdd gnd vdd vi aoi22 M=1 xaoi2 vdd 0 vi vdd gnd vdd vout aoi22 M='fo' xaoi3 vdd 0 vout vdd gnd vdd v3 aoi22 M='fo*fo' xaoi4 vdd 0 v3 vdd gnd vdd v4 aoi22 M='fo*fo*fo' * options.option post=2 nomod * analysis.tran 1PS 10NS sweep fo 1 4 1.MEASURE TRAN tphl TRIG V(vi) VAL=1.25V RISE=1 TARG V(vout) VAL=1.25V FALL=1.MEASURE TRAN tplh TRIG V(vi) VAL=1.25V FALL=1 TARG V(vout) VAL=1.25V RISE=1.MEASURE TRAN tpavg PARAM='(tpHL+tpLH)/2'.END d) SPICE Deck: * Homework 7 Problem 1e.LIB '/home/ff/ee141/models/g25.mod' TT * Inverter SUBCKT Definition.SUBCKT inv vdd gnd in out Mp out in vdd vdd PMOS W=2u L=0.24u Mn out in gnd gnd NMOS W=1u L=0.24u.ENDS * Voltage Sources V1 vdd 0 2.5V V2 vstep 0 PULSE 0V 2.5V 10p 1p 1p 5n 10n * Applying Fanout.param fo = 1 xinv1 vdd 0 vstep vi inv M=1 xinv2 vdd 0 vi vout inv M='fo' xinv3 vdd 0 vout v3 inv M='fo*fo' xinv4 vdd 0 v3 v4 inv M='fo*fo*fo' * options.option post=2 nomod

* analysis.tran 1PS 10NS sweep fo 1 4 1.MEASURE TRAN tphl TRIG V(vi) VAL=1.25V RISE=1 TARG V(vout) VAL=1.25V FALL=1.MEASURE TRAN tplh TRIG V(vi) VAL=1.25V FALL=1 TARG V(vout) VAL=1.25V RISE=1.MEASURE TRAN tpavg PARAM='(tpHL+tpLH)/2'.END 250 t p,avg vs Fanout 200 y = 35.64x + 75.4 tp,avg (ps) 150 100 F INV 50 y = 20.94x + 25.9 0 0 1 2 3 4 5 Fanout LE = slope of F / slope of inverter = 35.64/20.94 = 1.7 Note that this value is lower than the calculated LE of 2 in (b) due to the fact that a stack of two velocity saturated transistors in series has more than half of the current of a single transistor. Note also that you will measure a slightly different LE depending upon whether you placed the transistors connected to A closer to the supply or closer to the output (i.e., at the top or bottom of the stack).

PROBLEM 2: Logical Effort and Gate Sizing In this problem, use C G = 2fF/µm and assume quadratic transistors for calculating LE. In a 0.5µm 0.5µm b Out c d e C load = 85fF a) What is the total path effort from In to Out? b) To minimize the delay, what should the EF/stage for this chain of gates be? c) Size the gates in this chain to minimize the delay from In to Out. d) Using this sizing, what is the delay (in units of t inv ) of your chain from In rising to Out falling? You can assume that the critical input of the complex gates is always at the top of the transistor stacks (i.e., the critical input is always closest to the output node), and that C D /C G = γ = 0.5. e) Is there a way you can reduce the total logical effort of this chain of gates by changing the types of only two of the gates (but still using static gates)? If not, why? If so, draw the improved schematic (you do not need to provide the gate sizes). Solutions: a) ПLE = (4/3) * 1 * (7/3) * 1 * 1 = 28/9 F = C out /C in 85 ff = = 42.5 ( 0.5µ m + 0.5µ m) 2 ff/ µ m ПB = 4 PE = ПLE*F*ПB = 528.89 b) EF = N PE = 5 528. 89 = 3.505

c) d) Cout * LE * B Cin = EF 85 ff*1*1 e = = 24.25 ff 3.505 24.25 ff*1* 4 d = = 27.68 ff 3.505 27.68 ff* (7 / 3) *1 c = = 18.43 ff 3.505 18.43 ff*1*1 b = = 5.26 ff 3.505 Delay = N i= 1 ( pi + LEi * fi) = N i= 1 ( pi + EF) = N * EF + Delay = 5*3.505 + (2γ + γ + 3γ + γ + γ) Delay = 17.525 + 8γ = 21.525 t inv N i= 1 pi e) As long as the other inputs to the gates are not critical, there are many possible ways you can restructure this chain to lower its overall logical effort. The best such restructuring is shown below: we replace the INV-NOR3 stages (b,c) with a NAND2- INV stage. Note the NOR2 that must be added off-path to maintain logical equivalence - since this gate is not on the critical path, it does not contribute to the path effort calculation. This reduces ПLE from 28/9 to 16/9. Note that any answer that reduces ПLE while maintaining logical equivalence will receive full credit. In 0.5µm 0.5µm C load = 85fF PROBLEM 3: Decoder Warm-up Implementing an address decoder boils down to building an N-input AND gate. For this problem, we'll be looking at a hypothetical 4-input decoder. You can assume that the transistors behave quadratically for your LE calculations. a) Draw the schematic of a 4-input AND implemented as a 4-input NAND followed by an inverter. What is the total LE of this implementation?

b) Now draw the schematic of a 4-input AND implemented with 2 2-input NAND s followed by a 2-input NOR. What is the total LE now? c) Finally, draw a 4-input AND implemented with 3 2-input NAND s and 3 inverters and calculate the LE of this implementation. d) Assuming that the total LE of a 4-input AND is 2 and that the total load that this 4-input AND needs to drive is 128 times the input capacitance of the first stage, what is the optimal number of stages that should be used to minimize the delay? Solutions: a) NAND4 Schematic: b) LE = ((4+2)/3) * 1 = (6/3)*1 = 2 LE = (4/3) * (5/3) = 20/9

c) LE = (4/3) * 1 * (4/3) * 1 = 16/9 d) ПLE = 2 F = C out /C in = 128 PE = LE * F = 256 So, to get an EF/stage of 4, we should set N = log 4 (PE). Thus: N = log 4 (256) = 4