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.

Similar documents
Designing Information Devices and Systems II Spring 2016 Anant Sahai and Michel Maharbiz Homework 5. This homework is due February 29, 2016, at Noon.

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

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

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

EE115C Digital Electronic Circuits Homework #4

Lecture 5: DC & Transient Response

Lecture 4: DC & Transient Response

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

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

THE INVERTER. Inverter

EE5780 Advanced VLSI CAD

Designing Information Devices and Systems II Spring 2018 J. Roychowdhury and M. Maharbiz Discussion 1A

5. CMOS Gate Characteristics CS755

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

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

Lecture 6: DC & Transient Response

Lecture 5: DC & Transient Response

Delay and Power Estimation

COMBINATIONAL LOGIC. Combinational Logic

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

Chapter 9. Estimating circuit speed. 9.1 Counting gate delays

EECS 151/251A Homework 5

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

Lecture 12 CMOS Delay & Transient Response

Properties of CMOS Gates Snapshot

MASSACHUSETTS INSTITUTE OF TECHNOLOGY Department of Electrical Engineering and Computer Sciences

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

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

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

Designing Information Devices and Systems II Spring 2016 Anant Sahai and Michel Maharbiz Midterm 2

Lecture 7 Circuit Delay, Area and Power

Digital Integrated Circuits A Design Perspective

MASSACHUSETTS INSTITUTE OF TECHNOLOGY Department of Electrical Engineering and Computer Sciences

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

ESE 570: Digital Integrated Circuits and VLSI Fundamentals

Topic 4. The CMOS Inverter

CHAPTER 15 CMOS DIGITAL LOGIC CIRCUITS

University of California at Berkeley College of Engineering Department of Electrical Engineering and Computer Sciences

Digital Integrated Circuits Designing Combinational Logic Circuits. Fuyuzhuo

EE115C Digital Electronic Circuits Homework #5

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

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

COMP 103. Lecture 16. Dynamic Logic

Lecture 12 Digital Circuits (II) MOS INVERTER CIRCUITS

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

Department of Electrical Engineering and Computer Sciences University of California, Berkeley. Final Exam Solutions

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

Introduction to Computer Engineering ECE 203

EECS 141: FALL 05 MIDTERM 1

Digital Integrated Circuits A Design Perspective

Integrated Circuits & Systems

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

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

EE5311- Digital IC Design

E40M Review - Part 1

Floating Point Representation and Digital Logic. Lecture 11 CS301

CMOS Inverter. Performance Scaling

Digital Integrated Circuits A Design Perspective

MOSFET and CMOS Gate. Copy Right by Wentai Liu

CPE100: Digital Logic Design I

EECS 312: Digital Integrated Circuits Midterm Exam 2 December 2010

ECE 546 Lecture 10 MOS Transistors

EEE 421 VLSI Circuits

EE115C Digital Electronic Circuits Homework #6

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

EECS 312: Digital Integrated Circuits Midterm Exam 2 December 2010

ENEE 359a Digital VLSI Design

DC & Transient Responses

Topics. CMOS Design Multi-input delay analysis. John A. Chandy Dept. of Electrical and Computer Engineering University of Connecticut

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

ENGR4300 Fall 2005 Test 3A. Name. Section. Question 1 (25 points) Question 2 (25 points) Question 3 (25 points) Question 4 (25 points)

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

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]

Static CMOS Circuits. Example 1

Capacitors. Chapter How capacitors work Inside a capacitor

MOS Transistor Theory

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

Chapter 7 Combinational Logic Networks

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

CMOS Digital Integrated Circuits Lec 13 Semiconductor Memories

Lecture 6: Time-Dependent Behaviour of Digital Circuits

EE 330 Lecture 6. Improved Switch-Level Model Propagation Delay Stick Diagrams Technology Files

EE371 - Advanced VLSI Circuit Design

Lecture 6 Power Zhuo Feng. Z. Feng MTU EE4800 CMOS Digital IC Design & Analysis 2010

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

Intro To Digital Logic

High-to-Low Propagation Delay t PHL

Homework Assignment 09

5.0 CMOS Inverter. W.Kucewicz VLSICirciuit Design 1

EE5311- Digital IC Design

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

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

Lecture 12 Circuits numériques (II)

Logic Gates and Boolean Algebra

EE141. Administrative Stuff

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

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

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

Very Large Scale Integration (VLSI)

Transcription:

EECS 16 Designing Information Devices and Systems II Fall 017 Miki Lustig and Michel Maharbiz Homework 1 This homework is due September 5, 017, at 11:59M. 1. Fundamental Theorem of Solutions to Differential Equations In this question, you will discover the power of the fundamental theorem of solutions to differential equations. For convenience, we shall restate the theorem here. Theorem. Consider a differential equation of the form, Given n initial conditions of the form, there exists a unique solution (say, f ). (a) Consider the following functions. d n y dt n (t) + α d n 1 y n 1 dt n 1 (t) +... + α dy 1 dt (t) + α 0y(t) = 0 y(t 0 ) = a 0, dy dt (t 0) = a 1,..., dn 1 y dt n 1 (t 0) = a n 1, φ 1 (x) = e x,φ (x) = Prove that φ 1 (x) = φ (x) by showing that both functions satisfy the following differential equation: Side note: ssume 0 0 = 1. (b) Consider the following functions. n=0 x n n! d f (x) = f (x) with f (0) = 1 dx φ 1 (x) = cos(x),φ (x) = cos( x) Prove that φ 1 (x) = φ (x) by showing that both functions satisfy the following differential equation: d f d f (x) = f (x) with f (0) = 1, dx dx (0) = 0. Transistors and oolean Logic oolean formula can be implemented in digital circuitry using nmos and pmos transistors. In circuits, the truth value 1 (true) is represented by a high voltage, called POWER (V DD ). The truth value 0 (false) is represented by a low voltage, called GROUND (GND). In this problem, we will only use the truth values in EECS 16, Fall 017, Homework 1 1

order to simplify notations. That is, if you see = 1 for a point, then it means the voltage of is equal to V DD. Similarly, if = 0, then the voltage of is equal to GND. n inverter can be implemented with 1 nmos and 1 pmos, as shown in the figure below. When the input is 0, then the nmos is OFF and the pmos is ON. Thus, the output is pulled up to 1 because it is connected to V DD. Conversely, when is 1, then the nmos is ON and the pmos is OFF, and is pulled down to 0. Therefore, the circuit implements the oolean formula, =. V DD pmos pull-up network nmos pull-down network In general, a oolean-formula circuit has an nmos pull-down network to connect the output to 0 (GND) and a pmos pull-up network to connect the output to 1 (V DD ). The pull-up and pull-down networks in the inverter example each consist of a single transistor. In this problem, we will ask you to design pull-up networks when pull-down networks are given. (a) The pull-down network of the oolean formula (a -input NND gate), = ( ), is given below. Design the pull-up network (the dashed box) with pmos transistors. (b) The pull-down network of the oolean formula (a -input NOR gate), = ( + ), is given below. Design the pull-up network (the dashed box) with pmos transistors. EECS 16, Fall 017, Homework 1

( ) (c) The pull-down network of the oolean formula, = ( ) +C, is given below. Design the pull-up network (the dashed box) with 3 pmos transistors. C ( ) (d) The pull-down network of the oolean formula, = ( + ) C, is given below. Design the pull-up network (the dashed box) with 3 pmos transistors. EECS 16, Fall 017, Homework 1 3

C (e) ou have designed four pull-up networks. What can you conclude about the rules for designing pull-up networks when pull-down networks are given? (f) For the circuit below, write the truth table for inputs and with output. What boolean operation is this? Note some of the gate voltages are Ā and Ā Ā 3. RC Circuit Consider the circuit below, assume that when t 0, the capacitor has no charge stored (V c (t = 0) = 0). t t = 0, the switch closes. ssume V s = 15 V, R = 500Ω, and C = 100µF. EECS 16, Fall 017, Homework 1 4

t = 0 I R (t) R + V R (t) + I c (t) + Vs V c (t) C Figure 1: RC Circuit with Voltage Source (a) What are the boundary conditions for I c (t) (i.e. what is I c (t = 0) and I c (t )?) (b) Use KVL and the relationship between charge and current (q = Idt) to find the first order differential equation in terms of the current through the capacitor, I c. ssume dv s dt = 0 (Hint: you will need to take a derivative with respect to time to get the equation) (c) What is the eigenvalue λ of this equation? (d) Using the eigenvalue and boundary conditions found in previous parts, find an expression for I c (t) in terms of V s, R and C (e) What order of magnitude of time (nanoseconds, milliseconds, 10 s of seconds, etc.) does this circuit settle (I c is <5% of it s initial value)? (f) Give ways to reduce the settling time of the circuit if we are allowed to change one component in the circuit. (g) Sketch the current vs time plot of I c (t) Make sure to label I c (t) at t = 0, t = τ, t = τ, and t = 3τ 4. From Transistors to Inverter The following circuit is an inverter built with one pmos and one nmos transistor. We assume V out is connected to the input of another identical inverter (not shown). We also assume there is a capacitance connected between V out and GND. In real transistors, this capacitance arises from a combination of capacitances contributed by the transistors of both the inverter in question and any inverters connected to the output. For the moment, we ll just call this capacitance C L (for load). The resistances associated with the pmos and nmos are R onp and R onn, respectively. Let the threshold voltage of the pmos be V t p, while that for the nmos be V tn. We will now model the action of the inverter as an RC circuit with two switches controlled by V in as what we did in lectures. (a) For starters, what are the on-off conditions of the two switches? Please draw the RC circuit modeling this inverter. EECS 16, Fall 017, Homework 1 5

V DD V in V out GND (b) ssume V in = V DD for t < 0, and V in = 0 for t 0. In other words, we are assuming the input to our inverter can switch states infinitely fast (this is not true in real life, but gives us a good lower bound on how fast an inverter can switch). How much energy does it take to fully charge C L? (c) Given the same condition as in (b), write down the differential equation that describes V out (t) for t 0. (d) What is the solution to this differential equation? Plot V out (t) for t > 0. (e) The term propagation delay is used to describe the amount of time it takes between when the input reaches V DD and when the output reaches V DD. Calculate the propagation delay for our inverter above (keep in mind that the input to our inverter changes instantly). Is propagation delay a function of V DD? (f) Now consider a serial chain of inverters, each driving the one before it. If we assume that V tn = V t p = V DD what is the propagation delay for one of these inverters, given (d) and (e)? (If you like, ignore the first inverter and assume it is driven by an input as in (a)). Here we let R onp = R onn = R. (g) Now let s consider the following scenario: there are N inverters on the chip in your cell phone. It takes E Joules of energy to charge all of the inverters at once (from zero to V DD ). What is the value of C L? (h) Here we interpret a voltage V as logic "1" when V > V DD, and logic "0" when V < V DD. Let s assume the maximum frequency, f, at which an inverter can switch back and forth between logic "0" and logic "1" at the output is the inverse of the propagation delay (i.e. we can only switch as fast as one propagation delay). Find an expression that links f, C L, and R. 5. Digital-analog converter digital-analog converter (DC) is a circuit for converting a digital representation of a number (binary) into a corresponding analog voltage. In this problem, we will consider a DC made out of resistors only (resistive DC) called the R-R ladder. Here is the circuit for a 3-bit resistive DC. Let b 0,b 1,b = {0,1} (that is, either 1 or 0), and let the voltage sources V 0 = b 0 V DD, V 1 = b 1 V DD, V = b V DD, where V DD is the supply voltage. EECS 16, Fall 017, Homework 1 6

s you may have noticed, (b,b 1,b 0 ) represents a 3-bit binary (unsigned) number where each of b i is a binary bit. We will now analyze how this converter functions. (a) If b,b 1,b 0 = 0,0,1, what is V out? Express your answer in terms of V DD. (b) If b,b 1,b 0 = 0,1,0, what is V out? Express your answer in terms of V DD. (c) If b,b 1,b 0 = 1,1,1, what is V out? Express your answer in terms of V DD. (d) If b,b 1,b 0 = 1,0,0, what is V out? Express your answer in terms of V DD. (e) Finally, solve for V out in terms of V DD and the binary bits b,b 1,b 0. (f) Explain how your results above show that the resistive DC converts the 3-bit binary number (b,b 1,b 0 ) to the output analog voltage V DD. Contributors: Siddharth Iyer. en-sheng Ho. Kyle Tanghe. u-un Dai. Edward Wang. EECS 16, Fall 017, Homework 1 7