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

Similar documents
Circuit A. Circuit B

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

Digital Integrated Circuits A Design Perspective

CPE/EE 427, CPE 527 VLSI Design I L18: Circuit Families. Outline

EECS 141: FALL 05 MIDTERM 1

Digital Integrated Circuits Designing Combinational Logic Circuits. Fuyuzhuo

Dynamic Combinational Circuits. Dynamic Logic

Dynamic Combinational Circuits. Dynamic Logic

EECS 141 F01 Lecture 17

Exam 1 Review Solutions

MVT and Rolle s Theorem

EE141Microelettronica. CMOS Logic

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

Lecture 14: Circuit Families

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

On my honor as a student, I have neither given nor received unauthorized assistance on this exam.

3.4 Worksheet: Proof of the Chain Rule NAME

Digital EE141 Integrated Circuits 2nd Combinational Circuits

COMP 103. Lecture 16. Dynamic Logic

ECE 342 Electronic Circuits. Lecture 34 CMOS Logic

f a h f a h h lim lim

ECE 546 Lecture 10 MOS Transistors

Chapters 19 & 20 Heat and the First Law of Thermodynamics

2.11 That s So Derivative

Lecture 5: DC & Transient Response

Topics. Dynamic CMOS Sequential Design Memory and Control. 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

Power Dissipation. Where Does Power Go in CMOS?

ECE 342 Solid State Devices & Circuits 4. CMOS

Digital Integrated Circuits A Design Perspective

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

Properties of CMOS Gates Snapshot

Lecture 7 Circuit Delay, Area and Power

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

Digital Integrated Circuits A Design Perspective

Lecture 6: Circuit design part 1

(a) At what number x = a does f have a removable discontinuity? What value f(a) should be assigned to f at x = a in order to make f continuous at a?

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

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

Calculus I Homework: The Derivative as a Function Page 1

CMPEN 411 VLSI Digital Circuits Spring 2011 Lecture 07: Pass Transistor Logic

EECS 141: SPRING 09 MIDTERM 2

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

EEE 421 VLSI Circuits

COMBINATIONAL LOGIC. Combinational Logic

3 Minority carrier profiles (the hyperbolic functions) Consider a

3.1 Extreme Values of a Function

ΗΜΥ 307 ΨΗΦΙΑΚΑ ΟΛΟΚΛΗΡΩΜΕΝΑ ΚΥΚΛΩΜΑΤΑ Εαρινό Εξάμηνο 2018

Lecture 4: DC & Transient Response

1. Which one of the following expressions is not equal to all the others? 1 C. 1 D. 25x. 2. Simplify this expression as much as possible.

Function Composition and Chain Rules

Continuity and Differentiability Worksheet

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

1. State whether the function is an exponential growth or exponential decay, and describe its end behaviour using limits.

Lecture 6: DC & Transient Response

Pre-Calculus Review Preemptive Strike

MAT 145. Type of Calculator Used TI-89 Titanium 100 points Score 100 possible points

Time (hours) Morphine sulfate (mg)

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

Preface. Here are a couple of warnings to my students who may be here to get a copy of what happened on a day that you missed.

1. Questions (a) through (e) refer to the graph of the function f given below. (A) 0 (B) 1 (C) 2 (D) 4 (E) does not exist

EECS 151/251A Homework 5

Digital Integrated Circuits

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

Lecture 5: DC & Transient Response

MASSACHUSETTS INSTITUTE OF TECHNOLOGY Department of Electrical Engineering and Computer Sciences

Lecture XVII. Abstract We introduce the concept of directional derivative of a scalar function and discuss its relation with the gradient operator.

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

4. The slope of the line 2x 7y = 8 is (a) 2/7 (b) 7/2 (c) 2 (d) 2/7 (e) None of these.

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

EE5780 Advanced VLSI CAD

Topic 4. The CMOS Inverter

Consider a function f we ll specify which assumptions we need to make about it in a minute. Let us reformulate the integral. 1 f(x) dx.

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

University Mathematics 2

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

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

1. Consider the trigonometric function f(t) whose graph is shown below. Write down a possible formula for f(t).

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

Very Large Scale Integration (VLSI)

5. CMOS Gate Characteristics CS755

CHAPTER (A) When x = 2, y = 6, so f( 2) = 6. (B) When y = 4, x can equal 6, 2, or 4.

232 Calculus and Structures

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

Mathematics 105 Calculus I. Exam 1. February 13, Solution Guide

THE IDEA OF DIFFERENTIABILITY FOR FUNCTIONS OF SEVERAL VARIABLES Math 225

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

SFU UBC UNBC Uvic Calculus Challenge Examination June 5, 2008, 12:00 15:00

Where Does Power Go in CMOS?

HOMEWORK HELP 2 FOR MATH 151

EECS 312: Digital Integrated Circuits Midterm Exam 2 December 2010

Some Review Problems for First Midterm Mathematics 1300, Calculus 1

Math 1241 Calculus Test 1

ECE 342 Electronic Circuits. Lecture 35 CMOS Delay Model

ECE321 Electronics I

Order of Accuracy. ũ h u Ch p, (1)

2.8 The Derivative as a Function

The derivative function

Copyright c 2008 Kevin Long

Transcription:

UNIVERSITY OF CALIFORNIA College of Engineering Department of Electrical Engineering and Computer Sciences Last modified on Marc 15 t, 2005 by Cris Baker (crbaker@eecs) Andrei Vladimirescu Homework #6 EECS141 Due Friday, April 1 st, 4pm @240 Cory Problem 1 CMOS Analysis 1A Implement te equation = (( + )( + + ) + ) X A B C D E F G using complementary CMOS. Size te devices so tat te output resistance is te same as tat of an inverter wit an NMOS W/L = 2 and PMOS W/L = 6. Pull-down (W/L) n : Sizeof( A, B ) = 8 Sizeof (C, D, E ) = 12 Sizeof( F ) = 4 Sizeof( G ) = 2 Pull-up (W/L) p : Sizeof( G, F ) = 12 Sizeof( A, B, C, D, E ) = 24 1B Wic input pattern(s) would give te worst and best equivalent pull-up or pulldown resistance? Using te sizing from part a, find combination of inputs tat would maximize (worst) or minimize (best) resistance. For worst case analysis, for pull-down, want to carge up as many internal capacitances as possible; for pull-up, we want to discarge as many internal capacitances as possible.

Pull-down Pull-up Best G, F, A, B, C, D, E: 0 1 G, F, A, B, C, D, E: 1 0 Worst B, E: 0; F, A, C, D: 1; G: 0 1 B, E: 0; F, A, C, D: 1; G: 1 0 Wit B, E, and G equal to zero te pull down pat will be off and te pull-up network will carge up all internal capacitances because F, A, C, and D are on in te pull-down network. Once G transitions, all te carge stored on te output and internal nodes will ave to discarge troug one transistors. Similar reasoning ere; wit G in te pull-down network on, it discarges all internal nodes to zero; once G switces, te pullup network must carge up all internal nodes bot in te pullup networks, and pull-down networks. Tere could be a lot of variations on te interpretation of worse case. Te interpretation ere was to ave to carge or discarge te most capacitance. Anoter interpretation could be only exciting te longest series pat (toug we ve sized it suc tat tis pat is equivalent to te unit inverter). 1C Verify part b wit SPICE (using g25.mod).

* w6 prob 1c.lib '/ome/ff/ee141/models/g25.mod' TT.param low=0.param ig=2.5 VDD 1 0 ig VA 6 0 PWL 0 low 2n low 2.1n ig 4.1n ig 4.2n low 6.2n low 6.3n ig VB 16 0 PWL 0 low 2n low 2.1n ig 4.1n ig 4.2n low VC 4 0 PWL 0 low 2n low 2.1n ig 4.1n ig 4.2n low 6.2n low 6.3n ig VD 12 0 PWL 0 low 2n low 2.1n ig 4.1n ig 4.2n low 6.2n low 6.3n ig VE 7 0 PWL 0 low 2n low 2.1n ig 4.1n ig 4.2n low VF 13 0 PWL 0 low 2n low 2.1n ig 4.1n ig 4.2n low 6.2n low 6.3n ig VG 5 0 PWL 0 low 2n low 2.1n ig 4.1n ig 4.2n low 8.2n low 8.3n ig + 12.3n ig 12.4n low M0 11 5 1 1 pmos L=240E-9 W=3E-6 AD=1.8E-12 AS=1.8E-12 PD=7.2E-6 PS=7.2E-6 +M=1 M4 8 16 11 1 pmos L=240E-9 W=6E-6 AD=3.6E-12 AS=3.6E-12 PD=13.2E-6 +PS=13.2E-6 M=1 M5 8 6 11 1 pmos L=240E-9 W=6E-6 AD=3.6E-12 AS=3.6E-12 PD=13.2E-6 +PS=13.2E-6 M=1 M6 15 13 1 1 pmos L=240E-9 W=3E-6 AD=1.8E-12 AS=1.8E-12 PD=7.2E-6 +PS=7.2E-6 M=1 M1 15 7 8 1 pmos L=240E-9 W=6E-6 AD=3.6E-12 AS=3.6E-12 PD=13.2E-6 +PS=13.2E-6 M=1 M2 15 12 8 1 pmos L=240E-9 W=6E-6 AD=3.6E-12 AS=3.6E-12 PD=13.2E-6 +PS=13.2E-6 M=1 M3 15 4 8 1 pmos L=240E-9 W=6E-6 AD=3.6E-12 AS=3.6E-12 PD=13.2E-6 +PS=13.2E-6 M=1 * 7 = E * 12 = D * 16 = B * 6 = A, 4 = C, 3 = net34, 9 = net37 * 15 = X, 5 = G * 13 = F, 10 = net43 M7 14 7 0 0 nmos L=240E-9 W=3E-6 AD=1.8E-12 AS=1.8E-12 PD=7.2E-6 PS=7.2E-6 +M=1 M8 3 12 14 0 nmos L=240E-9 W=3E-6 AD=1.8E-12 AS=1.8E-12 PD=7.2E-6 +PS=7.2E-6 M=1 M9 9 16 0 0 nmos L=240E-9 W=1.98E-6 AD=1.188E-12 AS=1.188E-12 PD=5.16E-6 +PS=5.16E-6 M=1 M10 10 4 3 0 nmos L=240E-9 W=3E-6 AD=1.8E-12 AS=1.8E-12 PD=7.2E-6 +PS=7.2E-6 M=1 M11 10 6 9 0 nmos L=240E-9 W=1.98E-6 AD=1.188E-12 AS=1.188E-12 PD=5.16E-6 +PS=5.16E-6 M=1 M12 15 5 0 0 nmos L=240E-9 W=480E-9 AD=288E-15 AS=288E-15 PD=2.16E-6 +PS=2.16E-6 M=1 M13 15 13 10 0 nmos L=240E-9 W=1.02E-6 AD=612E-15 AS=612E-15 PD=3.24E-6 +PS=3.24E-6 M=1.options nmod post=2.tran 100p 15n.END

Pull-down Pull-up Best 165ps 51.8ps Worst 575ps 445ps Note te lack of symmetry; our sizing above for symmetry in te worst case doesn t account for te fact tat in te worst case, we re carging/discarging internal node capacitance. 1D If P(A=1)=P(F=1)=0.5, P(B=1)=0.2, P(C=1)=P(E=1)=0.3, P(D=1)=1, and P(G=1)=0.6, determine te dynamic power dissipation in te logic gate. Assume V DD =2.5V, C out =30fF, f clk =250MHz and te inputs are uncorrelated. ( ) p = p + p p p + p p p = 0.695 p α x= 0 G F A B C D E = 1 p = 0.305 x= 1 x= 0 = p p = 0.212 0 1 x= 0 x= 1 2 ( )( )( ) ( ) 2 15 6 P = α C V f = 0.212 30 10 2.5 250 10 = 9.94µ W dyn 0 1 out DD clk 1E Suppose all NMOS devices are (W/L) n and PMOS devices are (W/L) p. Does your implementation of X yield te lowest output capacitance. If so, wy; if not, rearrange your implementation so it as te lowest output capacitance. Explain.

Dependi ng on ow your scematic looks you migt ave to rearrange it. Te goal is to ave te minimum number of transistors, from eiter te pull-up or pull- drain-* capacitances. In te scematic above, move G in te pull-up network down networks, attaced to te output node X. Tis minimizes te number of from te top of te series connection, to te output, reducing te number of transistors attaced to X from 6 to 3. Problem 2 More CMOS 2A Wat is te logic function of circuits A and B in te figure below? Wic one is a dual network and wic one is not? Is te non-dual network still a valid static logic gate? Explain. List any advantages of one configuration over te oter. Bot logic functions implement te XNOR: F = AB+ AB = AB + AB Circuit A is te dual network; circuit B is not a dual network. Circuit B is a valid static gate because te pull-up input combinations AA and BB are never active (i.e. deleting te connection in te pull-up network does not break te gate s functionality). One advantage of Circuit B is tat it doesn t ave a common node to all devices in te PMOS; suc a node as more capacitance. Tis may result in sligtly lower pull-up delay. 2B Sketc te layout of bot gates in minimum area (i.e. fewest diffusion breaks). Compare/contrast te two circuit sketces; Sow work for Euler pats. Bot gates can be implemented in layout wit zero diffusion breaks. Te Euler pat for Circuit A is BAAB ; Circuit B s Euler pat is BABA (note you ave to swap te inputs on te rigt branc of te pull-down network; oterwise you d need a diffusion break).

Te main difference is te absence of te contact (orizontal metal spanning PMOSs) in circuit B s layout. Depending on layout, differences could be quite substantial. Problem 3 - Logical Effort 3A A four-input AOI21 gate works like one two-input (A, B) AND gate and a single input (C), driving a two-input NOR gate. Implement te AOI21 gate in one complementary CMOS gate, and size all transistors relative to an inverter wit an NMOS W/L = 1 and PMOS W/L = 2. Find te logical effort associated wit eac input.

Te logical effort for input C is (1+4)/3 = 5/3; te logical effort for inputs A B is (2+4)/3 = 2. and 3B For te saded pat sown in te above figure, find te pat brancing effort, pat electrical effort, pat logical effort, and total pat effort. Wat is te optimum effort per stage for minimizing delay? CL F = = 10 C H 1 B = b i = 9 G 200 = gi = 27 = FGB 667 5 = H = 3.67 3C Find te input capacitances {V, W, X, Y, Z} necessary for eac of te gates in te pat in order to acieve te optimum effort per stage. gz bz CL z = = 7.27fF gy by z y = = 9.90fF gx bx y x = = 4.50fF gw bw x w = = 7.36fF gv bv w v = = 2.00fF Note tat te size for gate v, 2.00fF matces our original assumption. Problem 4 - Pass-Transistor Logic

4A Wat is te function of te PTL gate below? Devise an alternate implementation of tis gate s logic function in PTL using two NMOS transistors and te output inverter (you may assume bot polarities of A and B are available). Tis gate implements te XOR function. Here s te alternate implementation: 4B For te circuit devised in part a (one wit two NMOS transistors), wat is te minimum voltage at wic tis circuit will operate correctly (and wy)? For te NMOS switces use VT0 = 0.5V, γ = 0.4V, 2 φf = 0.6V. Assume tat te inverter as an ideal VTC tat switces wen its input is at VDD/2. Tis circuit as a minimum voltage because wen te internal node is being driven to logic 1 it only reaces V DD -V TH. If tis voltage is less tan V DD /2 ten te inverter will produce an incorrect output. Tus, te minimum voltage is found from V DD -V T = V DD /2,or V DD = 2V T. Note tat V T V T0 because of te body effect. V V = 2 V + γ + 2φ 2 2φ DD DD T 0 F F Solving tis equation for V DD = 1.27V. 4C A level restoring PMOS transistor is now added to te two transistor gate devised in part a as sown in te figure below. Wat are te benefits and drawbacks of tis modification? Benefits: Full swing at internal node prevents any direct pat current from flowing in te inverter. Drawbacks:

Inputs must temporarily figt te PMOS transistor wen attempting to discarge te internal node (i.e., te input is no longer purely capacitive). Increased area as well as capacitance at te internal node. 4D If te level restoring PMOS transistor as VTH0 = -0.5V and W/L = 4 and µn = 3µP, wat is te minimum W/L for te NMOS switces in order for te circuit to function properly? In tis case we are looking for te smallest NMOS switc tat is capable of figting te level restoring PMOS to drive te internal node below V DD /2 and switcing te output. Te NMOS switc will just be strong enoug if it as te same R eq as te level restoring PMOS. Since bot devices ave V GS = V DD and te same VT, but te NMOS as 3 times greater mobility, tis will be te case wen (W/L) N = 1/3(W/L) P = 4/3. Problem 5 - Dynamic Logic. 5A Carg e saring can be azardous to te ealt of a dynamic gate. Wy? Given te to y scematic below, determine te final voltage V a long time after te switces close (t=0). Carge saring may reduce te voltage on te dynamic node to te point were logic value is not recoverable and logic errors are injected into te circuit. its Q = CV Q initial ( ) ( ) ( ) ( ) ( ) ( ) ( ) ( ) = 50 0 2 + 30 1 0 + 20 4 1 + 24 4 + 2 Q = 50 V 2 + 30 V + 20 V 1 + 24 V + 2 Q final initial = Q final V 206 = = 1.67 V 124 5B Build a P-Domino implementation of te fuction F = AB(C+D) wit output inverter and keeper transistor driven by te output inverter. Explain te importance of te output inverter and keeper transistor. On wat level of te clock does tis gate evaluate? How about pre-discarge?

Te output inverter makes sure tere are no forbidden transitions (i.e. can only ave 1 0 or 1 1; cannot ave 0 1). Te forbidden transition could inadvertently discarge te output node (troug carge saring). Te keeper transistor elp staticize te dynamic node (guards against leakage). Te gate evaluates on te low level of te clock and pre-discarges on te ig level. Tis may be different if you assume te clock is inverted for P-Domino. 5C Instead of driving te keeper transistor wit te output inverter, suppose we drive te keeper transistor wit a different inverter. Tis new inverter is driven by te same node tat drives te output inverter (see below). If one were to skew te output inverter of te gate, wic direction, ig (strong PMOS) versus low skew (strong NMOS), would make te gate as a wole (P-Domino plus output inverter) faster? Wy? If one were to skew te keeper inverter, wic direction would be best and wy? Te output inverter sould be low skew (strong NMOS) because you want te transition from 1 to 0 (on te output of te inverter) to be fast. Te keeper inverter sould be ig skew (strong PMOS) because you want te keeper transistor to stay on longer to maintain te dynamic node.