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

Similar documents
EECS 270 Midterm 2 Exam Answer Key Winter 2017

CPE100: Digital Logic Design I

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

For smaller NRE cost For faster time to market For smaller high-volume manufacturing cost For higher performance

CSE 140 Midterm 2 Tajana Simunic Rosing. Spring 2008

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

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

EECS 141: SPRING 09 MIDTERM 2

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

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

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

UNIVERSITY OF WISCONSIN MADISON

University of Toronto Faculty of Applied Science and Engineering Edward S. Rogers Sr. Department of Electrical and Computer Engineering

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

EECS 141: FALL 05 MIDTERM 1

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

Parity Checker Example. EECS150 - Digital Design Lecture 9 - Finite State Machines 1. Formal Design Process. Formal Design Process

UC Berkeley College of Engineering, EECS Department CS61C: Representations of Combinational Logic Circuits

Appendix B. Review of Digital Logic. Baback Izadi Division of Engineering Programs

EE141Microelettronica. CMOS Logic

Digital Electronics. Part A

Floating Point Representation and Digital Logic. Lecture 11 CS301

EECS 151/251A Homework 5

EECS 270 Midterm Exam 2 Fall 2009

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

UNIVERSITY OF BOLTON SCHOOL OF ENGINEERING BENG (HONS) ELECTRICAL & ELECTRONICS ENGINEERING EXAMINATION SEMESTER /2017

Lecture 7: Logic design. Combinational logic circuits

University of Toronto Faculty of Applied Science and Engineering Edward S. Rogers Sr. Department of Electrical and Computer Engineering

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

KINGS COLLEGE OF ENGINEERING DEPARTMENT OF ELECTRONICS AND COMMUNICATION ENGINEERING QUESTION BANK

EE371 - Advanced VLSI Circuit Design

Digital Electronics Final Examination. Part A

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

Present Next state Output state w = 0 w = 1 z A A B 0 B A C 0 C A C 1

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.

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

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

CSE 140 Midterm 3 version A Tajana Simunic Rosing Spring 2015

ESE 570: Digital Integrated Circuits and VLSI Fundamentals

CSE140L: Components and Design Techniques for Digital Systems Lab. FSMs. Instructor: Mohsen Imani. Slides from Tajana Simunic Rosing

Department of Electrical Engineering and Computer Sciences University of California, Berkeley. Final Exam: Friday, August 10, 2012

Synchronous Sequential Circuit Design. Digital Computer Design

CHAPTER 15 CMOS DIGITAL LOGIC CIRCUITS

Chapter 5 CMOS Logic Gate Design

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

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

CMSC 313 Lecture 17. Focus Groups. Announcement: in-class lab Thu 10/30 Homework 3 Questions Circuits for Addition Midterm Exam returned

CS61c: Representations of Combinational Logic Circuits

Chapter 6. Synchronous Sequential Circuits

Lecture 5: DC & Transient Response

ECE 342 Electronic Circuits. Lecture 35 CMOS Delay Model

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

Lecture 5. MOS Inverter: Switching Characteristics and Interconnection Effects

EE371 - Advanced VLSI Circuit Design

Review Problem 1. should be on. door state, false if light should be on when a door is open. v Describe when the dome/interior light of the car

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

Lecture 4: DC & Transient Response

Written reexam with solutions for IE1204/5 Digital Design Monday 14/

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

EECS150 - Digital Design Lecture 11 - Shifters & Counters. Register Summary

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

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

Circuit A. Circuit B

King Fahd University of Petroleum and Minerals College of Computer Science and Engineering Computer Engineering Department

EGR224 F 18 Assignment #4

Exam for Physics 4051, October 31, 2008

Simulation of Logic Primitives and Dynamic D-latch with Verilog-XL

EECS150 - Digital Design Lecture 23 - FSMs & Counters

ECE 546 Lecture 10 MOS Transistors

Digital Integrated Circuits Designing Combinational Logic Circuits. Fuyuzhuo

EECS 312: Digital Integrated Circuits Midterm Exam 2 December 2010

EECS150 - Digital Design Lecture 18 - Counters

EECS150 - Digital Design Lecture 18 - Counters

CMOS Inverter (static view)

EECS Components and Design Techniques for Digital Systems. FSMs 9/11/2007

3. Complete the following table of equivalent values. Use binary numbers with a sign bit and 7 bits for the value

King Fahd University of Petroleum and Minerals College of Computer Science and Engineering Computer Engineering Department

Digital Integrated Circuits A Design Perspective

Review: Designing with FSM. EECS Components and Design Techniques for Digital Systems. Lec 09 Counters Outline.

CMOS Logic Gates. University of Connecticut 181

University of Toronto. Final Exam

CMOS Logic Gates. University of Connecticut 172

CS/ECE 252: INTRODUCTION TO COMPUTER ENGINEERING COMPUTER SCIENCES DEPARTMENT UNIVERSITY OF WISCONSIN-MADISON

University of Toronto Faculty of Applied Science and Engineering Department of Electrical and Computer Engineering Midterm Examination

ECE321 Electronics I

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

THE INVERTER. Inverter

Introduction to Computer Engineering ECE 203

ESE 570: Digital Integrated Circuits and VLSI Fundamentals

EECS150 - Digital Design Lecture 16 Counters. Announcements

Vidyalankar S.E. Sem. III [CMPN] Digital Logic Design and Analysis Prelim Question Paper Solution

ECE 342 Solid State Devices & Circuits 4. CMOS

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

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

CHAPTER 7. Exercises 17/ / /2 2 0


Integrated Circuits & Systems

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

Transcription:

University of California at Berkeley College of Engineering Department of Electrical Engineering and Computer Sciences EECS151/251A V. Stojanovic, J. Wawrzynek Fall 2015 10/13/15 Midterm Exam Name: ID number: Class (EECS151 or EECS251A): This is a closed-book exam, but you are allowed a single sheet of notes. No calculators, phones, pads, or laptops. Each question is marked with its number of points (one point per expected minute of time), in the form [EECS151 points / EECS251A points] Start by answering the easier questions then move on to the more difficult ones. You can tear off the spare pages at the end of the booklet and/or use the backs of the pages to work out your answers. Neatly copy your answer to the allocated places. Neatness counts. We will deduct points if we need to work hard to understand your answer. For all relevant problems, assume the following transistor switch model: Put your name and SID on each page. problem 151 max 251A max score 1 10pts 14pts 2 7pts 7pts 3 8pts 12pts 4 6pts 10pts 5 9pts 9pts 6 7pts 11pts 7 10pts 10pts 8 10pts 15pts Total 67pts 88pts 1

1. [10pts/14pts] Combinational Logic Design. Consider the design of the combinational logic block that takes as input a 3-bit two s-complement integer, X, and produces as output another 3-bit two s-complement integer representing the absolute value of X. Assume that the input integer is in the range of 3 X 3. (a) [4pts] In the space below draw the truth-table that represents the values of the output signals, y 2 (the most significant bit), y 1, and y 0 (the least significant bit) as a function of the inputs x 2, x 1, x 0. Beneath your truth table, write the sum-of-products canonical form for the output signals. (b) [6pts] In the space below use K-maps to derive minimized sum-of-product forms for the output signals. 2

(c) [4pts] For 251A students only: Starting from the canonical forms use algebraic manipulation to find the optimized logic equations. 3

2. [7pts/7pts] Logic Gates. For the combinational logic function: y = (x 7 + x 6 + x 5 + x 4 )(x 3 + x 2 + x 1 + x 0 ), draw a minimal gate-level diagram for y as a function of x 7, x 6, x 5, x 4, x 3, x 2, x 1, and x 0 using only inverters and 2-input NANDs and NORs. 4

3. [8pts/12pts] FSMs. Below is the Verilog description of a bit-serial adder. The circuit adds 2 integers, A and B, generating one bit of the sum per clock cycle by taking one bit from each of the integers (least significant bit first). An add operation concludes when the rst signal is asserted on the same clock cycle as the most significant bit of the inputs. module BSAdd (clk, rst, a, b, s); input clk, rst, input a, b; output s; reg s, c; wire nc, ns; always @ (posedge clk) begin s <= ns; if (rst) c <= 1b 0; else c <= nc; end assign {nc, ns} = a + b + c; endmodule In the space below draw the state-transistion-diagram for a finite state machine that matches the behavior of the above circuit. 5

[4pts] For 251A students only: Draw the circuit diagram matching the Verilog description using flip-flops and simple logic gates. 6

4. [6pts/10pts] CMOS logic. Draw the single, complex gate, transistor level CMOS representation of the following functions. Size the transistors in each stage for equal worst-case pull-up and pull-down strenght (i.e. R eq,pu = R eq,pd ) to be the same as those of the reference inverter with equal pull-down and pull-up strength (W p = 2W n ). Label the sizes in units of W n on each schematic. (a) [3pts] F 1 = (AB + C). (b) [3pts] F 2 = Ā + B C. 7

(c) [4pts] For 251A students only: Which 2-input Boolean logic function does the circuit below represent? Make sure to simplify the Boolean expression to the Boolean function you can recognize. 8

5. [9pts/9pts] Gate Sizing and Logical Effort. Calculate the Logical Effort (LE) for each input (worst-case pull-down and pull-up path - e.g. LE A,pup, LE A,pdn ) of the following gates: Assume that in this technology PMOS has twice worse mobility than NMOS (i.e. for W p = W n, R p = 2R n ). (a) [4pts] (b) [5pts] 9

6. [7pts/11pts] Voltage Transfer Characteristics (VTCs). The technology has the following parameters: V th,n = 0.2V and V th,p = 0.3V, R n = 2kΩ µm, R p = 3kΩ µm at V dd = 1V. Draw the voltage transfer characteristic (V out vs V A ) of the gates below with W p = W n = 1µm. (a) [4pts] Draw the VTC and determine V OL, V IL, V OH, V IH and noise margins NM H and NM L. (b) [3pts] 10

(c) [4pts] For 251A students only: Assume that V Ā = V dd V A. 11

7. [10pts/10pts] Gates and Wires. (a) [4pts] Calculate the optimal number of inserted inverter stages and the delay normalized to the intrinsic inverter delay t p0 for the following problem (assume γ = 1): (b) [6pts] In the circuit below calculate the optimal size of the middle inverter (x) for minimum total delay: 12

8. [10pts/15pts] Sizing the Logic Path. For the circuit drawn below determine: (a) (b) [2pts] Mark the critical path in the circuit. [3pts] Calculate the path logical effort for the critical path in this circuit. (c) [5pts] Size the gates for minimum delay ignoring wires and mark the value of the input capacitance of each gate. The first gate in the critical path has input capacitance C in, and the load capacitance at the output is C L = 125 3 C in. 13

(d) [5pts] For 251A students only: Using the sizes from your previous answer, a wire capacitance of C wire = 5 2 C in is inserted between each gate. Assuming γ = 1, what is the delay through the critical path normalized to the intrinsic inverter delay t p0? 14

Spare page. Will not be graded. 15

Spare page. Will not be graded. 16

Spare page. Will not be graded. 17

Spare page. Will not be graded. 18

Spare page. Will not be graded. Monday 12 th October, 2015 07:36 19