EECS 270 Final Exam Spring 2012

Similar documents
EECS 270 Homework the Last Winter 2017

EECS 270 Midterm 2 Exam Closed book portion Fall 2014

EECS 270 Midterm 1 Exam Closed book portion Winter 2017

EECS 270 Group Homework 4 Due Friday. June half credit if turned in by June

EECS 270 Midterm Exam Spring 2011

1. Convert the decimal number to binary, octal, and hexadecimal.

Final Exam review: chapter 4 and 5. Supplement 3 and 4

Computer Architecture and Organization

Introduction to Digital Logic Missouri S&T University CPE 2210 Exam 2 Logistics

Department of Electrical and Computer Engineering Mid-Term Examination Winter 2012

problem maximum score 1 28pts 2 10pts 3 10pts 4 15pts 5 14pts 6 12pts 7 11pts total 100pts

Software Engineering 2DA4. Slides 3: Optimized Implementation of Logic Functions

Quiz #4 Thursday, April 25, 2002, 5:30-6:45 PM

1.b. Realize a 5-input NOR function using 2-input NOR gates only.

R13 SET - 1 '' ''' '' ' '''' Code No: RT21053

EXPERIMENT: 1. Graphic Symbol: OR: The output of OR gate is true when one of the inputs A and B or both the inputs are true.

CS6201 UNIT I PART-A. Develop or build the following Boolean function with NAND gate F(x,y,z)=(1,2,3,5,7).

Find the equivalent decimal value for the given value Other number system to decimal ( Sample)

Question Bank. Unit 1. Digital Principles, Digital Logic

Using minterms, m-notation / decimal notation Sum = Cout = Using maxterms, M-notation Sum = Cout =

Switching Circuits & Logic Design, Fall Final Examination (1/13/2012, 3:30pm~5:20pm)

R13. II B. Tech I Semester Regular Examinations, Jan DIGITAL LOGIC DESIGN (Com. to CSE, IT) PART-A

Department of Computer Science and Engineering Question Bank- Even Semester:

Combinational vs Sequential

MODULE 3. Combinational & Sequential logic

For Teacher's Use Only Q Total No. Marks. Q No Q No Q No

Section 6.8 Synthesis of Sequential Logic Page 1 of 8

1. True/False Questions (10 x 1p each = 10p) (a) I forgot to write down my name and student ID number.

CSE 140 Exam #3 Tajana Simunic Rosing


EECS150 - Digital Design Lecture 19 - Finite State Machines Revisited

P U Q Q*

Introduction to Digital Logic Missouri S&T University CPE 2210 Exam 3 Logistics

DIGITAL SYSTEM DESIGN UNIT I (2 MARKS)

VU Mobile Powered by S NO Group

CSE 140 Exam #3 Solution Tajana Simunic Rosing

CS 151 Final. Instructions: Student ID. (Last Name) (First Name) Signature

ECE 263 Digital Systems, Fall 2015

Note that none of the above MAY be a VALID ANSWER.

S.K.P. Engineering College, Tiruvannamalai UNIT I

CS302 Digital Logic Design Solved Objective Midterm Papers For Preparation of Midterm Exam

DIGITAL ELECTRONICS MCQs


St. MARTIN S ENGINEERING COLLEGE

211: Computer Architecture Summer 2016

SEMESTER ONE EXAMINATIONS 2002

REPEAT EXAMINATIONS 2002

CSE Latches and Flip-flops Dr. Izadi. NOR gate property: A B Z Cross coupled NOR gates: S M S R Q M

1. a) For the circuit shown in figure 1.1, draw a truth table showing the output Q for all combinations of inputs A, B and C. [4] Figure 1.

Laboratory Objectives and outcomes for Digital Design Lab

The word digital implies information in computers is represented by variables that take a limited number of discrete values.

MODEL QUESTIONS WITH ANSWERS THIRD SEMESTER B.TECH DEGREE EXAMINATION DECEMBER CS 203: Switching Theory and Logic Design. Time: 3 Hrs Marks: 100

Combinational / Sequential Logic

Introduction to Sequential Circuits

ME 515 Mechatronics. Introduction to Digital Electronics

THE KENYA POLYTECHNIC

Section 001. Read this before starting!

MODU LE DAY. Class-A, B, AB and C amplifiers - basic concepts, power, efficiency Basic concepts of Feedback and Oscillation. Day 1

EE292: Fundamentals of ECE

YEDITEPE UNIVERSITY DEPARTMENT OF COMPUTER ENGINEERING. EXPERIMENT VIII: FLIP-FLOPS, COUNTERS 2014 Fall

Logic Design II (17.342) Spring Lecture Outline

DIGITAL CIRCUIT LOGIC UNIT 9: MULTIPLEXERS, DECODERS, AND PROGRAMMABLE LOGIC DEVICES

Digital Principles and Design

Difference with latch: output changes on (not after) falling clock edge

Principles of Computer Architecture. Appendix A: Digital Logic

Introduction to Digital Electronics

A Review of logic design

Final Examination (Open Katz, Calculators OK, 3 hours)

Flip-Flops and Sequential Circuit Design

ECE 301 Digital Electronics

Dr. Shahram Shirani COE2DI4 Midterm Test #2 Nov 19, 2008

University of California at Berkeley College of Engineering Department of Electrical Engineering and Computer Science SOLUTIONS

Microprocessor Design

NH 67, Karur Trichy Highways, Puliyur C.F, Karur District UNIT-III SEQUENTIAL CIRCUITS

Subject : EE6301 DIGITAL LOGIC CIRCUITS

TIME SCHEDULE. MODULE TOPICS PERIODS 1 Number system & Boolean algebra 17 Test I 1 2 Logic families &Combinational logic

Good Evening! Welcome!

Synchronous Sequential Logic. Chapter 5

Chapter Contents. Appendix A: Digital Logic. Some Definitions

Department of CSIT. Class: B.SC Semester: II Year: 2013 Paper Title: Introduction to logics of Computer Max Marks: 30

Sequencing. Lan-Da Van ( 范倫達 ), Ph. D. Department of Computer Science National Chiao Tung University Taiwan, R.O.C. Fall,

WINTER 15 EXAMINATION Model Answer

INSTITUTE OF AERONAUTICAL ENGINEERING (Autonomous) Dundigal, Hyderabad ELECTRICAL AND ELECTRONICS ENGINEERING

Laboratory 1 - Introduction to Digital Electronics and Lab Equipment (Logic Analyzers, Digital Oscilloscope, and FPGA-based Labkit)

Sequential Logic Circuits

D Latch (Transparent Latch)

Sequential Design Basics

P U Q Q*

Chapter 3. Boolean Algebra and Digital Logic

AIM: To study and verify the truth table of logic gates

Digital Logic Design I

DIGITAL TECHNICS. Dr. Bálint Pődör. Óbuda University, Microelectronics and Technology Institute

CS 61C: Great Ideas in Computer Architecture

Code No: A R09 Set No. 2

COMP2611: Computer Organization. Introduction to Digital Logic

A.R. ENGINEERING COLLEGE, VILLUPURAM ECE DEPARTMENT

Digital Design, Kyung Hee Univ. Chapter 5. Synchronous Sequential Logic

WINTER 14 EXAMINATION

Chapter. Synchronous Sequential Circuits

1 Hour Sample Test Papers: Sample Test Paper 1. Roll No.

Transcription:

EECS 270 Final Exam Spring 2012 Name: unique name: Sign the honor code: I have neither given nor received aid on this exam nor observed anyone else doing so. Scores: Page # Points 2 /20 3 /12 4 /10 5 /15 6 /8 7 /5 8 /8 9 /7 10 /15 Total /100 NOTES: 1. Open book (our text only) and Open notes 2. Calculators are allowed, but no PDAs, Portables, Cell phones, etc. 3. Don t spend too much time on any one problem. 4. You have about 120 minutes for the exam. 5. Be sure to fully label any MSI device you use. Be sure to show work and explain what you ve done when asked to do so Page 1 of 10

1. Fill in each blank or circle the best answer. [15 points, -2 per wrong or blank answer, min 0] a. The 4-bit 2 s complement representation for -5 is. b. Write 13.3 4 as a decimal number. c. A*B + A*C in canonical sum-of-products form is. d. B*C *D / A *C *D / A*D / A *C*D is an implicant of A *B *C + B*D. e. DRAM / SRAM / Neither DRAM nor SRAM / Both DRAM and SRAM is/are non-volatile. f. DRAM / SRAM / Neither DRAM nor SRAM / Both DRAM and SRAM generally uses a capacitor to store the value of a cell. g. A clock period of 50ns corresponds to a frequency of MHz. h. A 4-input XOR gate has maxterms. i. In CMOS you d need at least transistors to implement a 3-input NOR gate. g. Consider a memory device that has 1024 addresses each 16 bits in size. If this was made out of a square memory (equal number of rows and columns in the memory device) the row decoder would have inputs while the column MUX would have selection bits. 2. Design a NAND gate using tri-state buffers and inverters. You may freely use power and ground. [5 points] Page 2 of 10

3. Sequential circuit timing [12 points] D flip-flop D A Q D flip-flop D C Q C QB C QB D flip-flop D B Q C QB Consider flip-flops A, B and C each nominally clocked off of the same clock. Assume: Each flip-flop has a set-up time of 5ns and a clock-to-q delay of 2ns to 4ns. The AND and OR gates each have a delay of 2 to 4 ns. Flip-flop A s rising edge may be as much as 1.25 ns before C s rising edge or as much 1.5 ns after. Flip-flop B s rising edge may be as much as 1.3 ns before C s rising edge or as much as 1.2 ns after. a) What is the fastest clock period you could safely clock this system at? Show your work. [4] b) What is the (non-negative) range of values for the flip-flop s hold time would be sufficient? Show your work. [4] c) Redo part b) assuming the AND gate always had a delay of exactly 1ns. [4] Page 3 of 10

4. Complete the following timing diagrams. If the value is unknown (or oscillating) at some point, clearly indicate that with hashes (as shown). [10 points] Value unknown a) Complete the timing diagram below for an SR latch with enable. Start your drawing at 0ps and end it at 550ps. You are to assume the input values before 0ps have been steady for a long time. [6] S 0ps 100ps 200ps 300ps 400ps 500ps R C Q QB b) Complete the timing diagram below for a D flip-flop. Assume the flip-flop requires a 25ps hold time and a 75ps setup time and has a 50ns clock to Q delay. Start your drawing at 0ps and end it at 550ps. You are to assume Q is initially 1 at time 0. [4] C 0ps 100ps 200ps 300ps 400ps 500ps D Q Page 4 of 10

5. Converting a state transition diagram to logic. All outputs are zero Unless shown B/Y=1 B/Y=1,Z=1 Input is B Outputs are Y and Z M ~B/Z=1 R ~B/ T ~B/Z=1 B/Y=1 You are to assign state bits S[1:0] as 00 for state M, 10 for state R, and 11 for state T. You are to find logic equations for the next state (NS[1:0]) in minimal sum-of-products form. For outputs Z and Y you are to find the minimal product-of-sums form. Neatly use K-maps to do the minimization. Clearly show your work and provide your final answer where shown. You don t care what happens if the machine somehow gets into state 01. [15 points] NS1= (minimal PoS) NS0= (minimal PoS) Y = (minimal SoP) Z = (minimal SoP) Page 5 of 10

6. On Logical Minimization and the Jargon Thereof. [8 points] Consider the following logic function represented in a Karnaugh map: ab/cd 00 01 11 10 00 0 1 0 0 01 0 0 1 0 11 1 1 1 0 10 0 d 1 1 a) List all of the Prime Implicants (provide as a comma separated list such as AB, AC, D) for this function: b) List all of the distinguished ones (provide the binary value of each distinguished one) for this function. c) Provide a minimal sum-of-products for this function: Page 6 of 10

7. Following the rules for CMOS and using only transistors, design a device that computes A+B *C. You may freely use the values A, B, C as well as A, B and C as inputs. Your design must use eight or fewer transistors to receive credit. [5 points] Page 7 of 10

8. Design a state transition diagram for a Moore-type state machine which has one input A and one output Z. Z should go high if the most recent inputs were either 1010 or 110. For full credit, you should use as few states as possible. [8 points] Page 8 of 10

9. Write a Verilog module called Shift_Right6. It is to implement a six-bit shift-right register. o Inputs are clock, data_in and shift_enable o Output is the shift-register s value, Q[5:0]. The shift register should shift to the right on the rising edge of the clock if shift_enable is 1, placing the value of data_in into the most significant bit. Otherwise the register should hold its value. You will be graded for correctness, syntax and efficiency of you design and code. [7 points] Page 9 of 10

10. You ve been tasked with implementing a Mealy-type state machine which has one input A and one output Z. Z should go high if the most recent inputs (including the current input) were either 1010 or 110. Sadly, it turns out you only have a small handful of parts on hand. Implement a circuit which takes the input A and generates the output Z using on those parts. You (of course) have an input called clock. Part of your grade will be based on the clarity of your solution, so be neat and be sure to clearly label your parts and their ports! [15 points] You have one of each of the following. You may freely use power and ground. 4-input OR gate 4-input AND gate 2 to 1 MUX 4 to 16 decoder 6-bit shift-right register (same behavior and port names as in the previous problem) D flip-flop Page 10 of 10