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

Similar documents
MOSFET and CMOS Gate. Copy Right by Wentai Liu

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

ECE321 Electronics I

ECE 342 Electronic Circuits. Lecture 34 CMOS Logic

Lecture 5: DC & Transient Response

Lecture 4: DC & Transient Response

Lecture 5: DC & Transient Response

Topic 4. The CMOS Inverter

Digital Integrated Circuits

EE5780 Advanced VLSI CAD

EE115C Digital Electronic Circuits Homework #4

ECE 342 Solid State Devices & Circuits 4. CMOS

CMOS Inverter (static view)

VLSI Design and Simulation

DC and Transient Responses (i.e. delay) (some comments on power too!)

Lecture 6: DC & Transient Response

Digital Integrated Circuits A Design Perspective

MOS Transistor Theory

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

Homework Assignment #5 EE 477 Spring 2017 Professor Parker

THE INVERTER. Inverter

ESE 570: Digital Integrated Circuits and VLSI Fundamentals

Properties of CMOS Gates Snapshot

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

EEE 421 VLSI Circuits

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

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

ECE 342 Electronic Circuits. Lecture 35 CMOS Delay Model

Lecture 12 CMOS Delay & Transient Response

DC & Transient Responses

EE141Microelettronica. CMOS Logic

EECS 141: FALL 05 MIDTERM 1

Chapter 11. Inverter. DC AC, Switching. Layout. Sizing PASS GATES (CHPT 10) Other Inverters. Baker Ch. 11 The Inverter. Introduction to VLSI

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

VLSI Circuit Design (EEC0056) Exam

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

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

Digital Microelectronic Circuits ( ) The CMOS Inverter. Lecture 4: Presented by: Adam Teman

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

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

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

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

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

Homework Assignment #1 Solutions EE 477 Spring 2017 Professor Parker

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]

1. (50 points, BJT curves & equivalent) For the 2N3904 =(npn) and the 2N3906 =(pnp)

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

ECE 546 Lecture 10 MOS Transistors

EE141-Fall 2011 Digital Integrated Circuits

EE5311- Digital IC Design

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

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

ENEE 359a Digital VLSI Design

5. CMOS Gate Characteristics CS755

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

EE115C Digital Electronic Circuits Homework #3

Lecture 14. Ozgur Aktas. March 20, 2006

EE241 - Spring 2000 Advanced Digital Integrated Circuits. Announcements

Next, we check the race condition to see if the circuit will work properly. Note that the minimum logic delay is a single sum.

Design of Analog Integrated Circuits

EE371 - Advanced VLSI Circuit Design

MOS Transistor Theory

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

Lecture 12 Digital Circuits (II) MOS INVERTER CIRCUITS

ESE 570: Digital Integrated Circuits and VLSI Fundamentals

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

Lecture 12 Circuits numériques (II)

EE105 Fall 2014 Microelectronic Devices and Circuits. NMOS Transistor Capacitances: Saturation Region

ESE 570: Digital Integrated Circuits and VLSI Fundamentals

Lecture 13 - Digital Circuits (II) MOS Inverter Circuits. March 20, 2003

Static CMOS Circuits. Example 1

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

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

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

EE105 - Fall 2005 Microelectronic Devices and Circuits

Chapter 2 CMOS Transistor Theory. Jin-Fu Li Department of Electrical Engineering National Central University Jungli, Taiwan

EE115C Digital Electronic Circuits Homework #6

CMOS Logic Gates. University of Connecticut 181

Power Dissipation. Where Does Power Go in CMOS?

Chapter 9. Estimating circuit speed. 9.1 Counting gate delays

CMOS Digital Integrated Circuits Lec 13 Semiconductor Memories

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

5.0 CMOS Inverter. W.Kucewicz VLSICirciuit Design 1

Lecture 11 VTCs and Delay. No lab today, Mon., Tues. Labs restart next week. Midterm #1 Tues. Oct. 7 th, 6:30-8:00pm in 105 Northgate

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

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

E40M. Binary Numbers. M. Horowitz, J. Plummer, R. Howe 1

ESE 570: Digital Integrated Circuits and VLSI Fundamentals

Digital Integrated Circuits A Design Perspective

EE 434 Lecture 33. Logic Design

CMOS Logic Gates. University of Connecticut 172

COMP 103. Lecture 16. Dynamic Logic

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.

High-to-Low Propagation Delay t PHL

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

University of Toronto. Final Exam

P-MOS Device and CMOS Inverters

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

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

EEC 116 Lecture #3: CMOS Inverters MOS Scaling. Rajeevan Amirtharajah University of California, Davis Jeff Parkhurst Intel Corporation

Transcription:

Homework Assignment #3 EE 477 Spring 2017 Professor Parker Note:! " = $ " % &' ( ) * ),! + = $ + % &' (, *,, -.. = 1.8 -, 345 = 0 - Question 1: a) (8%) Define the terms V OHmin, V IHmin, V ILmax and V OLmax, and arrange them from lowest value to highest value. V OHmin : Lowest output voltage representing high output (logic 1) V OLmax : Highest output voltage representing low output (logic 0) V IHmin : Lowest input voltage recognized as high input (logic 1) V ILmax : Highest input voltage recognized as low input (logic 0) - 7*89' - ;*89' - ;<8=" - 7<8=" b) (8%) Suppose you want to achieve maximum noise margin and you can change each of the above values individually while keeping the others fixed. Which ones would you increase and which ones would you decrease? Example: If V IHmin, V ILmax and V OLmax are constant, V OHmin should increase/decrease? (Do this for all 4) So to increase noise margins, we need: V OHmin : Increase V OLmax : Decrease V IHmin : Decrease V ILmax : Increase >? < = - 7<8=" - ;<8=" and >? * = - ;*89' - 7*89' c) (4%) If you could get an ideal inverter in this technology, what would be the numerical values for V OHmin, V IHmin, V ILmax and V OLmax? Hint: An ideal inverter voltage transfer curve looks like a unit step. V OHmin = Vdd = 1.8 V V OLmax = Gnd = 0 V V IHmin = V ILmax = Vdd/2 = 0.9 V (of course V IHmin would be slightly greater than.9 and V ILmax would be slightly less to avoid confusion). Note: For this ideal inverter, NMH = NML = Vdd/2, which is the maximum possible.

Question 2: The diagram shows a 2-input NOR gate. a) (4%) Identify the inputs setting up your worst case rise and fall times by discharging/charging all transistors. Worst case rise time setup: A = 1, B = 0 (Discharge all caps) Worst case fall time setup: A = 0, B = 0 (Charge all caps) Remember that setup is the stage before the transition. b) (8%) Then, identify the input transition leading to worst case rise time and the one leading to worst case fall time. Explain why you chose these transitions. Your answer for each case should be a single transition, like you would do in Cadence. 1 input should be fixed while the other changes value. Worst case rise time transition: A transitions 1->0, B fixed at 0 Initially all capacitances were discharged. When A goes to 0, all capacitances get charged. Worst case fall time transition: A transitions 0->1, B fixed at 0 Initially all capacitances were charged. When A goes to 1, all capacitances get discharged. These transitions are chosen because they lead to maximum charge displacement, i.e. all capacitors change their state. So these give the worst case times. Note: The worst case transitions simply switch between the worst case rise and fall time cases. This is generally true for 2-input gates.

Question 3: Consider the logic function X = ~[(A.B)+(C+D).(E+F+G)] realized using this compound gate. a) (10%) Locate all the drain and source capacitances of all the NMOS and PMOS which will be charged/discharged.

b) (10%) Identify the critical path leading to worst case rise time. Clearly mention the logic level of each input. Your answer should only give the final logic levels of all inputs, transition is not required. Do all capacitors get charged? A = C = Vdd (NMOS on) B = D = E = F = G = Gnd (PMOS on) The equivalent circuit is shown below where transistors that are off have been removed. Note: All capacitors are charged since a path exists from all of them to Vdd There is no path connecting anything to Gnd

Note: Some of you may have done this: A = D = Vdd (NMOS on) B = C = E = F = G = Gnd (PMOS on) Based on what you have learnt so far, this is also correct since length of resistive path is maximum and all capacitances get charged. You ll get full marks if you have done this. (In reality, only the 1 st answer gives the worst case, not the 2 nd one. This can be shown using Elmore Delay calculations, which is not part of the present scope.)

c) (10%) Repeat part b) for worst case fall time. Do all capacitors get discharged? A = B = C = Vdd (NMOS on) D = E = F = G = Gnd (PMOS on) The equivalent circuit is shown below where transistors that are off have been removed. Note: All capacitors are discharged since a path exists from all of them to Gnd There is no path connecting anything to Vdd Just like for rise time, you can switch the results to make PMOS C on and NMOS D on. This is correct based on what you ve learnt so far.

Question 4: The first diagram shows a Cadence inverter setup to do DC analysis, as shown in the discussion classes. Both the NMOS and PMOS have width = 300 nm and length = 200 nm. The second diagram shows results of the DC analysis: Vout vs Vin (top) and current vs Vin (bottom). Note that Vin = 678 mv corresponds to Vout = Vdd/2 = 900 mv. This value of Vin also gives a spike in current.

a) (2%) What region is each transistor in when Vin = 678 mv? Both transistors are in saturation. You can put values V tn = V tp = 500 mv, then compute V gs, V ds etc to verify that both are in saturation. b) (3%) What can you conclude about the relation between Kp and Kn? When both transistors are in saturation, equating current gives:! " 2 - EFG - HG I =! + 2 - FEJ - HJ I where V gate for both transistors = 0.678 V. => =>! +! " = - EFG - HG I - FEJ - HJ I =! +! " (0.678 0.5) I (1.8 0.678 0.5) I =>! +! " < 1 Note: You don t need to solve for the exact value of Kp/Kn since the threshold voltage values are just an assumption. But you should realize that Kp/Kn < 1. c) (3%) Which is greater: rise time or fall time? Since Kp < Kn, the PMOS is weaker (more resistive). So, rise time is greater. d) (6%) The beta ratio for this technology is given to be 4. How can you improve your design to make rise time and fall time almost equal? To make rise and fall time almost equal, we need Kp = Kn. So: Lengths are generally kept fixed and C ox is constant. Given: T ) T, = U = 4 So you should increase the PMOS width to 1.2 μm. $ + % &' R + S + = $ " % &' R " S " => $ + R + = $ " R " => R + R " = $ " $ + => W X = YW Z

Question 5: a) (8%) Visually inspect the Vout vs Vin curve from Q4 and estimate both the noise margins. Assume V OHmin = 1.8 V and V OLmax = 0 V. If you can t see the x-axis properly: The x-axis major markings are at every 0.3 V, starting from 0 up till 1.8. Each major interval has 5 minor markings, so each minor interval = 0.06 V. Approximate answers for noise margins are fine. The values shown are approximate. NMH = 1.8 0.76 = 1.04 V NML = 0.62 0 = 0.62 V Note: Since Kp/Kn < 1, the entire curve is shifted to the left, so NML < NMH. b) (6%) The width of the NMOS transistor is now increased from 300 nm to 600 nm. What is the effect on NMH and NML (do they increase/decrease)? Since! " = $ " % &' ( ) * ), when W n increases, Kn increases. So the ratio Kp/Kn decreases, which results in the voltage transfer curve shifting to the left even more. So NML decreases and NMH increases.

Question 6: Consider a 2-input XOR gate. It s logic equation can be written in 2 ways: Option 1: A XOR B = A.(~B) + (~A).B -> Sum-of-products uses 2-input NAND gates Option 2: A XOR B = (A + B). (~A + ~B) -> Product-of-sums uses 2-input NOR gates a) (8%) Assume beta ratio = 4 and all NMOS transistors have width = 300 nm. You need to design 2- input NAND and 2-input NOR gates so that worst case rise time = worst case fall time. Calculate the width of PMOS for the NAND and NOR. To get worst case rise time = worst case fall time, we need: R +,\] R ",\] = 4 where W p,eq and W n,eq are the PMOS and NMOS widths of the worst-case equivalent inverter (this technique was shown in the discussion). 2-input NAND: Since NMOS are in series, Assuming width of both PMOS transistors = W p : So we get: R ",\] = R " 2 R +,\] = R + = 150 4^ R + 150 = 4 => R + = _`` Za Note: A width of 150 nm is not actually allowed because it is less than the minimum width of 300 nm (for this technology). I have written W n,eq = 150 nm just to show that the series combination of 2 NMOS of width 300 nm behaves like a single equivalent NMOS of width 150 nm. This equivalent NMOS doesn t actually exist. 2-input NOR: R ",\] = R " = 300 4^ Assuming width of both PMOS transistors = W p, since PMOS are in series: So we get: R +,\] = R + 2 R + 2 300 = 4 => R + = c. Y da b) (2%) Which option of XOR is better for achieving a small design? NMOS sizes are the same for both gates, but 2-input NAND is definitely better because its PMOS size is much lower.