Circuit A. Circuit B

Similar documents
EE115C Digital Electronic Circuits Homework #4

EEE 421 VLSI Circuits

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

ECE 342 Electronic Circuits. Lecture 35 CMOS Delay Model

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

EE141Microelettronica. CMOS Logic

ECE 342 Solid State Devices & Circuits 4. CMOS

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

Digital Integrated Circuits A Design Perspective

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

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

Lecture 4: DC & Transient Response

EE5780 Advanced VLSI CAD

EECS 141: FALL 05 MIDTERM 1

Power Dissipation. Where Does Power Go in CMOS?

EECS 141: SPRING 09 MIDTERM 2

Digital Integrated Circuits

ECE 342 Electronic Circuits. Lecture 34 CMOS Logic

Lecture 5: DC & Transient Response

Lecture 6: DC & Transient Response

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

EE 434 Lecture 33. Logic Design

CHAPTER 15 CMOS DIGITAL LOGIC CIRCUITS

Hold Time Illustrations

Lecture 5: DC & Transient Response

EE241 - Spring 2000 Advanced Digital Integrated Circuits. Announcements

EECS 151/251A Homework 5

MOSFET and CMOS Gate. Copy Right by Wentai Liu

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

Chapter 5 CMOS Logic Gate Design

ESE 570: Digital Integrated Circuits and VLSI Fundamentals

EE241 - Spring 2001 Advanced Digital Integrated Circuits

Andrei Vladimirescu Homework #6 EECS141 Due Friday, April 1 st, Cory. X A B C D E F G using complementary

Topic 4. The CMOS Inverter

CMOS Logic Gates. University of Connecticut 172

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

CMPEN 411 VLSI Digital Circuits Spring Lecture 14: Designing for Low Power

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

THE INVERTER. Inverter

Digital Integrated Circuits A Design Perspective

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

Lecture Outline. ESE 570: Digital Integrated Circuits and VLSI Fundamentals. Total Power. Energy and Power Optimization. Worksheet Problem 1

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

Digital Integrated Circuits A Design Perspective

Jan M. Rabaey Anantha Chandrakasan Borivoje Nikolic. November Digital Integrated Circuits 2nd Sequential Circuits

EE 330 Lecture 37. Digital Circuits. Other Logic Families. Propagation Delay basic characterization Device Sizing (Inverter and multiple-input gates)

CMOS Logic Gates. University of Connecticut 181

Dynamic operation 20

Digital Integrated Circuits A Design Perspective

The Physical Structure (NMOS)

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

Digital Integrated Circuits A Design Perspective

ECE 546 Lecture 10 MOS Transistors

ESE 570: Digital Integrated Circuits and VLSI Fundamentals

COMBINATIONAL LOGIC. Combinational Logic

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

Where Does Power Go in CMOS?

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

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

EE141-Fall 2011 Digital Integrated Circuits

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

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

EECS 312: Digital Integrated Circuits Midterm Exam 2 December 2010

Digital Integrated Circuits Designing Combinational Logic Circuits. Fuyuzhuo

Static CMOS Circuits. Example 1

MODULE 5 Chapter 7. Clocked Storage Elements

GMU, ECE 680 Physical VLSI Design

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

Lecture 8-1. Low Power Design

Combinatorial and Sequential CMOS Circuits Dr. Lynn Fuller Webpage:

Last Lecture. Power Dissipation CMOS Scaling. EECS 141 S02 Lecture 8

5. CMOS Gate Characteristics CS755

Power Consumption in CMOS CONCORDIA VLSI DESIGN LAB

EE 560 CHIP INPUT AND OUTPUT (I/0) CIRCUITS. Kenneth R. Laker, University of Pennsylvania

EECS 141 F01 Lecture 17

MASSACHUSETTS INSTITUTE OF TECHNOLOGY Department of Electrical Engineering and Computer Sciences

Lecture 12 CMOS Delay & Transient Response

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

EE115C Digital Electronic Circuits Homework #6

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

Digital Integrated Circuits A Design Perspective

Homework Assignment #1 Solutions EE 477 Spring 2017 Professor Parker

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

EE371 - Advanced VLSI Circuit Design

DC & Transient Responses

Chapter 9. Estimating circuit speed. 9.1 Counting gate delays

5.0 CMOS Inverter. W.Kucewicz VLSICirciuit Design 1

Topics. Dynamic CMOS Sequential Design Memory and Control. John A. Chandy Dept. of Electrical and Computer Engineering University of Connecticut

Integrated Circuits & Systems

Low Power CMOS Dr. Lynn Fuller Webpage:

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

UNIVERSITY OF CALIFORNIA

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

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

CPE100: Digital Logic Design I

COMP 103. Lecture 16. Dynamic Logic

ECE321 Electronics I

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

Transcription:

UNIVERSITY OF CALIFORNIA College of Engineering Department of Electrical Engineering and Computer Sciences Last modified on November 19, 2006 by Karl Skucha (kskucha@eecs) Borivoje Nikolić Homework #9 EE 141 Problem #1: Power in CMOS A B G1 G2 C G3 G4 D G5 G6 50 ff Circuit A A B C G1 G2 D 50 ff Circuit B Let s evaluate the effect of logic choice on power dissipation. Circuit A is an AND4 implemented as a NAND2 chain while Circuit B implements the same function using a 4 input gate. a) Size circuit A and circuit B for minimum delay with Cin of 3fF and Cout of 50fF. Report your answer in terms of the input capacitance seen at each gate. Circuit A H=50/3 * (4/3) 3 =39.51 h=h 1/6 =1.845 G1 G2 G3 G4 G5 G6 3fF 4.15fF 7.66fF 10.60fF 19.55fF 27.06fF

Circuit B H=50/3 * (6/3) = 33.33 H=H 1/2 =5.77 G1=3fF G2=8.66fF b) Given that P(A=1) = P(B=1) = P(C=0) = P(D=0) = 0.25, calculate the probability of energy consuming transitions P(0 1) at the outputs of the gates in both circuits. Circuit A P(0 1) = P(0) * P(1) = (1-P(0)) * P(0) In1 In2 Out 0 (x) 0 (y) 1 (xy) 0 (x) 1 (1-y) 1 (x-xy) 1 (1-x) 0 (y) 1 (y-xy) 1 (1-x) 1 (1-y) 0 (1-y-x+xy) NAND2 Truth Table with Probabilities P(0) = 1-y-x+xy P(1) = x+y-xy For G1, P(In1=0) =.75 and P(In2=0) =.75 so P(0) =.0625 For G2, P(0) =.9375 For G3, P(In1=0) = P(G2=0) =.9375, while P(In2=0) = P(C=0)=.25. Therefore P(G3=0) =.0469 For G4, P(0) =.9531 For G5, P(In1=0) = P(G4=0) =.9531, while P(In2=0) = P(D=0)=.25. Therefore P(G5=0) =.0352 For G6, P(0) =.9648 G1 G2 G3 G4 G5 G6 P(0).0625.9375.0469.9531.0352.9648 P(0 1).0586.0586.0447.0447.034.034

Circuit B P(NAND4=0) = P(In1=1, In2=1, In3=1, In4=1) = 3/4 2 *1/4 2 =.03516 G1 G2 P(0).03516.96484 P(0 1).034.034 c) Assuming both circuits are operating at 1 GHz, calculate the dynamic power consumption of the circuit. Assume γ = 1, Vdd = 2.5V, and only consider capacitances at the inputs and output of the gates. Circuit A At primary inputs, P(0 1)=1/4*3/4=3/16 For a NAND2 gate, the capacitance at the output node is 6 γ /4 times bigger than the capacitance at the gate. There are 2 2x PMOS and 1 2x NMOS devices at the output node while the capacitance at each input is 4 units. That gives us 6/4. We need to add gamma to skew it for the technology. A quick way to figure it out is pγ /g for simpler logic gates like NAND s NOR s. It might not be accurate for AOI (and-or-invert) since the topology is not unique. P dyn = V dd 2 f ((2*3 + 7.66 + 19.55)fF*3/16 + (4.15+3*3γ/2)fF*α G1 + (7.66+4.15γ)fF*α G2 + (10.6+7.66*3γ/2)fF*α G3 + (19.55+10.6γ)fF*α G4 + (27.06+19.55*3γ/2)fF*α G5 + (50+27.06γ)fF*α G6 ) = 38.92 + 3.17 + 4.33 + 6.17 + 8.42 + 11.98 + 16.38 = 89.37µW Circuit B For a NAND4 gate, the capacitance at the output node is 12 γ/6. P dyn = V dd 2 f (4*3fF*3/16 + (3*12 γ/6+8.66)ff*α G1 + (8.66+50)fF*α G2 ) = 14.06 + 3.12 + 12.47 = 29.65µW Shorter logic depth reduces power consumption. Problem #2: Schmitt Trigger The circuit on the following page is a pseudo-nmos Schmitt trigger. Assume that the PMOS transistor remains in saturation over entire range of operation. Vdd = 1.5V, Vtn = Vtp = 0.4V, kn =115uA/V 2, kp=30ua/v 2

a) Compute V OH and V OL. b) Compute the switching points V M+ (for input making low-to-high transition) and V M- (for the input making a high-to-low transition).

c) Sketch the VTC. Compare results with SPICE simulations. In particular, you should obtain different VTC curves for high-to-low transitions and low-to-high transitions. Perform a transient analysis with the following as input:- Vtest vin 0 PWL 0 0 50n 0 100n Vdd 150n Vdd 200n 0

Problem #3: Pulse-triggered latch X Clkd Figure above shows a practical implementation of a pulse-triggered latch. Clock Clk is ideal with 50% duty cycle. Data : t p,inv = 200ps, Clkd = 10fF, Cx = 10fF, CQ = CQ = 20fF a) Draw the waveforms at nodes Clk, Clkd, X and Q for two clock cycles, with D equals 0 in one cycle and 1 in the other. b) Are the setup and hold times positive, negative, or approximately zero? T setup is negative. D can switch slightly after the clock switches because switching delay to pull down node X will be significantly less that 600ps (many of your full-blown decoders had delays less than this)

T hold is positive. D needs to be held stable for a correct value to settle at node X and node Q. c) If the probability that D will change its logic value in one clock cycle is α, with equal probability of being 0 or 1, what is the power consumption of this circuit? (excluding the power consumption in the clock line) Assume fclk = 100 MHz. P = CV dd 2 f 0 1 = C x V dd 2 f clk (0.5) + (C Q + C Q ) V dd 2 f clk (0.5)α+ C clkb V dd 2 f clk = 10 f V dd 2 (100 M)(0.5) + (20 f +20 f) V dd 2 (100 M)(0.5)( α)+(10 f ) V dd 2 (100 M) P= (1.5 V dd 2 + 2 αv dd 2 ) µw