EE115C Digital Electronic Circuits Homework #6

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

EE115C Digital Electronic Circuits Homework #4

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

EE115C Digital Electronic Circuits Homework #5

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

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

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

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

Lecture 12 CMOS Delay & Transient Response

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

ECE321 Electronics I

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

Digital Integrated Circuits A Design Perspective

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

Interconnect (2) Buffering Techniques. Logical Effort

Digital Integrated Circuits A Design Perspective

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

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

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

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

Homework Assignment #5 EE 477 Spring 2017 Professor Parker

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

Lecture 5: DC & Transient Response

Properties of CMOS Gates Snapshot

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

VLSI Design, Fall Logical Effort. Jacob Abraham

ESE 570: Digital Integrated Circuits and VLSI Fundamentals

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

EEE 421 VLSI Circuits

ESE 570: Digital Integrated Circuits and VLSI Fundamentals

Very Large Scale Integration (VLSI)

Integrated Circuits & Systems

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

Lecture 5: DC & Transient Response

EECS 141: SPRING 09 MIDTERM 2

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

ENEE 359a Digital VLSI Design

5.0 CMOS Inverter. W.Kucewicz VLSICirciuit Design 1

Lecture 4: DC & Transient Response

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

Lecture 6: DC & Transient Response

CPE/EE 427, CPE 527 VLSI Design I L07: CMOS Logic Gates, Pass Transistor Logic. Review: CMOS Circuit Styles

5. CMOS Gate Characteristics CS755

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

EE5780 Advanced VLSI CAD

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

Static CMOS Circuits. Example 1

Lecture 5. MOS Inverter: Switching Characteristics and Interconnection Effects

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

THE INVERTER. Inverter

PASS-TRANSISTOR LOGIC. INEL Fall 2014

EECS 141: FALL 05 MIDTERM 1

ENEE 359a Digital VLSI Design

Digital Integrated Circuits A Design Perspective

Logical Effort. Sizing Transistors for Speed. Estimating Delays

UNIVERSITY OF CALIFORNIA

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

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

The CMOS Inverter: A First Glance

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

EE371 - Advanced VLSI Circuit Design

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

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

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

ECE 342 Electronic Circuits. Lecture 35 CMOS Delay Model

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

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

Arithmetic Building Blocks

ECE 342 Solid State Devices & Circuits 4. CMOS

ECE 546 Lecture 10 MOS Transistors

CMOS Inverter (static view)

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

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

EE141. Administrative Stuff

EECS 312: Digital Integrated Circuits Midterm Exam 2 December 2010

Integrated Circuits & Systems

The CMOS Inverter: A First Glance

The Physical Structure (NMOS)

AE74 VLSI DESIGN JUN 2015

COMBINATIONAL LOGIC. Combinational Logic

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

CHAPTER 15 CMOS DIGITAL LOGIC CIRCUITS

Lecture 7 Circuit Delay, Area and Power

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

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.

Digital Integrated Circuits

Chapter 9. Estimating circuit speed. 9.1 Counting gate delays

Integrated Circuits & Systems

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

Bit-Sliced Design. EECS 141 F01 Arithmetic Circuits. A Generic Digital Processor. Full-Adder. The Binary Adder

CPE/EE 427, CPE 527 VLSI Design I Pass Transistor Logic. Review: CMOS Circuit Styles

EECS 312: Digital Integrated Circuits Midterm Exam 2 December 2010

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

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

CMOS Digital Integrated Circuits Lec 10 Combinational CMOS Logic Circuits

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

Digital EE141 Integrated Circuits 2nd Combinational Circuits

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

MASSACHUSETTS INSTITUTE OF TECHNOLOGY Department of Electrical Engineering and Computer Sciences

CMOS Transistors, Gates, and Wires

Transcription:

Problem 1 Sizing of adder blocks Electrical Engineering Department Spring 2010 EE115C Digital Electronic Circuits Homework #6 Solution Figure 1: Mirror adder. Study the mirror adder cell (textbook, pages 566-567). Assume unit sized inverter with the following parameters (W p = 480nm, W n = 240nm, L p = L n = 100nm.). Also assume that each output is driving a load capacitor of 20fF, and C in = C intrinsic =1.5fF. 1A 1B Size the above adder topology to minimize worst-case t p_y. Provide transistor sizes in absolute units (nm or μm). Assume that y can be either S or C out, and t p_y is the propagation delay of any input node to node y. Please write down the strategies to show your thinking process. Create schematic of the adder with the sizing from (a) and measure the propagation delay in Spectre. Please turn in screen-shot of the schematic and simulation waveforms. This problem can be solved in several different ways, depending on the assumptions you make. Remember, as far your assumptions are good, the solution will also be good. One possible strategy to solving the adder sizing problem was demonstrated in class. Here, we will discuss few alternative approaches, starting with a very simple strategy. Strategy #1: keep adder sizing intact, tweak output buffers only. The reasoning for this could simply be that C L /C in = 20/1.5 = 13.3, so if the inverter gets sized up a little, it will nicely distribute the total effort to about 3 or 4. Not exact, but seems like a good idea, so let s try it out The sizing procedure starts by modeling the adder as shown below:

All transistors except the inverters are sized as specified in the Table. The following assumptions are made: 1) the pull-up and pull-down networks are symmetrical, and 2) the NMOS has two times more driving capability then the PMOS transistor. Given that the outputs are driving the load of 20fF, M1, M2, M4, M13, M15, and M16 should be sized as followed (2, 2, 2, 4, 4, 4). Now the rest of the problem is sizing the inverters that drive the load caps. Analyze the path to Cout (critical path highlighted in red) Assume that X is the size of the inverter driving Cout, in _ cap _ sum _ Stage2 + X 20 ff t p_ Cout= τ( parasitic + LE1) + τ( parasitic + LE2) in _ cap _ Stage X 1.5F Logical effort: First stage: LE = 2 Second stage (inverter): LE = 1 1 t make X 20 ff 1 ( )/ X = 0 1.5F p_ Cout 2 X = 3.65 Analyze the path to S (critical path highlighted in blue) Assume Y is the size of the inverter driving Sum, 20 ff t p_ S= t ( _ 1) ( 2) p C O + τ parasitic + Y LE + τ parasitic + LE Y 1.5F Logical effort: First stage: LE = 2 Second stage (inverter): LE = 1 We assume that the sizing of the Cout driver (previously determined) is independent of this process, so could be considered as a constant. t p _ C O

t make Y 20 ff 1 ( )/ Y = 0 1.5F p_ S 2 Y = 3.65 A slightly more accurate model: If we consider the branching effect at node C out, we get: Fan-out = (2.6 (M25,26) +2(M9,M18) ) /2 = 2.3 Logical effort for the input C in is 2 Fan-out of the inverter driving Cout is 5.1 If we want to decrease the delay from Cin to Cout, we could try to size up M1, M2, M4, M13, M15, M16 to match the Stage-Effort with the expense of increasing parasitic capacitance. Alternative solutions: You could also argue that the optimal stage effort is 4 to minimize the delay. Given that the logical effort of the Stage 1 and Stage 2 is 2, you could simply find values of X and Y. Cout path: Stage effort of the first stage (solving for unknown X): SE = FO LE = (X + 2)/2 2 = 4 X = 2 Working backwards from Cout to solve for unknown X SE = FO LE = 20/(1.5 X) 1 = 4 X = 3.3 S path: Stage effort of the second stage (solving for unknown Y): SE = FO LE = Y/2 2 = 4 Y = 2 Working backwards from S to solve for unknown Y SE = FO LE = 20/(1.5 Y) 1 = 4 Y = 3.3 Note: averaging X and Y from the aforementioned steps would give X = Y = 2.65. M1 M2 M3 M4 M5 M6 M7 M8 2 2 2 2 2 2 2 2 M9 M10 M11 M12 M13 M14 M15 M16 2 3 3 3 4 4 4 4 M17 M18 M19 M20 M21 M22 M23 M24 4 4 4 4 4 6 6 6 M25 M26 M27 M28 2.6 5.2 2.6 5.2

Note: it is also OK if you took the values from the book for the transistors in the carry generation stage (PMOS = 12 / NMOS = 6). I hope this analysis gives you ideas about the approaches you can adopt in your project. Answering with any of the above solutions (in combination with sizes from the book) will give you the full credit for this problem. (b) Finally, we run Spectre simulation to measure the delay for transistor sizing as indicated in the table Spectre simulation results (next page)

Sum=0 Sum=1 ps ps Carry=0 Carry=1 ps ps (abc) (abc) tp LH tphl (abc) (abc) tp LH tphl 000 111 78 78 000 111 59 58 011 111 88 94 001 111 59 90 101 111 90 88 010 111 59 89 110 111 91 87 100 111 57 80 000 001 82 86 000 011 94 61 011 001 136 138 001 011 95 95 101 001 130 123 010 011 84 90 110 001 131 132 100 011 96 92 000 010 88 88 000 101 82 58 011 010 140 135 001 101 94 94 101 010 132 123 010 101 85 85 110 010 147 137 worse-case 100 101 100 98 worse-case 000 100 98 90 000 110 99 61 011 100 133 128 001 110 86 82 101 100 137 119 010 110 82 82 110 100 142 132 100 110 94 87 Problem 2 CMOS Gate Design and Delay 2A Design F = AB+ AC+ BC using the least number of devices in static CMOS. Draw the Logic Graphs corresponding to the circuit and identify the Euler paths. The logic gate can be simplified to F = A( B+ C) + BC. The Euler path corresponding to the circuit is consisted of C-B-A-B-C. Note that we are lucky in this problem, in the sense that it is not always possible to find one common Euler path for both NMOS and PMOS networks. F C C B V DD F B A GND 2B Use the Euler paths you found draw the stick diagram for the implementation. (If possible, try to use the appropriate colors to make your diagram clear.)

Electrical Engineering Department Spring 2010 The stick diagram is given in the right picture. Note that the effect of the presence of Euler paths is the two long diffusion lines. If we did not have those paths we would have ended up with broken diffusion (green sticks). Also since we were able to identify one common Euler path for both networks, we were able to use straight horizontal poly lines corresponding to the inputs. Vdd C B A B C Gnd 2C Capacitance of internal nodes = C int, Capacitance of loading = C L, Resistance of NMOS = R N, Resistance of PMOS = R P, calculate t phl and t plh for all possible input combinations (hint: Use Elmore delay model and consider C int.). A B C F t phl t plh 0 0 0 1-0.81 R P C L +1.38R p C int 0 0 1 1-1.38 R P C L +0.69R p C int 0 1 0 1-1.38 R P C L +0.69R p C int 0 1 1 0 1.38 R N C L +0.69R p C int - 1 0 0 1-1.73 R P C L +0.35R p C int 1 0 1 0 1.38 R N C L +0.69R p C int - 1 1 0 0 1.38 R N C L +0.69R p C int - 1 1 1 0 0.59R N C L +1.38R p C int - Problem 3 Layout Design Rules Answer the following questions using the 90-nm CMOS technology provided. You are welcome to layout the structures in Cadence. Hint: Refer to the DRM constraints which is given as a reference on the classwiki 3A What is the minimum separation between an N-type source/drain region and a P-type source/drain region?

Rule OXIDE.SP.3 states that minimum N+ active area to P+ active area spacing is 0.15um. 3B What is the minimum diffusion length (L DIFF ) without contacts? What is it with contacts? Without Contacts : By rule POLY.E.3= 0.20um With Contacts : CONT.SE.1=0.10um CONT.W.1=0.12um CONT.E.1=0.06um Minimum Diffusion Length=0.28um

3C What is the minimum metal1-to-metal1 pitch (center to center) without contacts? METAL1.W.1= 0.12um METAL1.SP.1.1= 0.12um Minimum metal-to-metal1 pitch = 0.24um 3D What is the minimum metal2-to-metal2 pitch (center to center) with vias? METALk.SP.1.1(k=2) = 0.14um VIAk.W.1 (k=2) = 0.14um VIAk.E.2 (k=2) = 0.06um 2*0.13um + 0.14um = 0.40um 3E What is the center-to-center pitch between the S/D diffusion areas of a transistor? POLY.E.3= 0.20um POLY.W.1= 0.1um 0.1um + 0.1um + 0.1um = 0.3um

Problem 4 Getting Familiar with Layout (Project Related) 4A A good way to get a feel for design rules is to use a layout editor. Start Cadence Virtuoso Layout Editor as described in Tutorial 3. Place an NMOS transistor (W = 240nm, L = minimum) and examine its dimensions. Determine and report the following: (1) Minimum Transistor Length (2) Source/Drain Area (3) Source/Drain Perimeter Hint: Use the ruler in Virtuso Layout Editor to measure the transistor dimensions (1) 100 nm (minimum channel length rule) (2) AS = AD = 240nm 280nm = 0.067 μm 2 (3) PS = PD = 280nm 2 + 240nm = 0.8 μm 0.24μm Geometry of NMOS transistor W n = 240nm, L n = 100nm 0.28μm