ECE2020 Final Exam Summer 2014 GTL July 30, 2014

Similar documents
ECE 2030D Computer Engineering Spring problems, 5 pages Exam Two 8 March 2012

ECE 2030B 1:00pm Computer Engineering Spring problems, 5 pages Exam Two 10 March 2010

ECE 2020B Fundamentals of Digital Design Spring problems, 6 pages Exam Two 26 February 2014

ECE2020 Test 3 Summer 2013 GTL

ECE 2020B Fundamentals of Digital Design Spring problems, 6 pages Exam Two Solutions 26 February 2014

UNCA CSCI 255 Exam 1 Spring February, This is a closed book and closed notes exam. It is to be turned in by 1:45 PM.

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

ece5745-pla-notes.txt

11/22/1999 7pm - 9pm. Name: Login Name: Preceptor Name: Precept Number:

EECS 270 Midterm Exam

ECE 2020 Fundamentals of Digital Design Spring problems, 7 pages Exam Three Solutions 2 April DRAM chips required 4*16 = 64

LECTURE 4. Logic Design

Read this before starting!

Final Exam Solution Sunday, December 15, 10:05-12:05 PM

ECE 313 Computer Organization EXAM 2 November 11, 2000

18~ lls RI. 2ft R. \ '2.0. <013 L-r (.,3!<-I. III DO. 0 I :") C)06Ii.I(J-t I ='> :2- J 10 Rfo /.1 S I \ \. 1 J. 4'2.. '2.) '34 P-o '2..

MASSACHUSETTS INSTITUTE OF TECHNOLOGY Department of Electrical Engineering and Computer Sciences

CDA 3103 Computer Organization Exam 1 (Sep. 22th, 2014)

Question Total Possible Test Score Total 100

EPC6055 Digital Integrated Circuits EXAM 1 Fall Semester 2013

Read this before starting!

Department of Electrical and Computer Engineering University of Wisconsin - Madison. ECE/CS 352 Digital System Fundamentals.

ECE 545 Fall 2010 Exam 1

Binary Adders: Half Adders and Full Adders

Section 001. Read this before starting! You may use one sheet of scrap paper that you will turn in with your test.

4. Write a sum-of-products representation of the following circuit. Y = (A + B + C) (A + B + C)

Experiment 4 Boolean Functions Implementation

Chapter 2 Logic Gates and Introduction to Computer Architecture

7/25/2016. Example: Addition of Unsigned Bit Patterns. ECE 120: Introduction to Computing. Adding Two Non-Negative Patterns Can Overflow

ECE 341 Midterm Exam

Chapter 4. Combinational Logic

Department of Electrical Engineering and Computer Sciences Fall 2003 Instructor: Dave Patterson CS 152 Exam #1. Personal Information

CS/COE 0447 Example Problems for Exam 2 Spring 2011

15110 PRINCIPLES OF COMPUTING SAMPLE EXAM 2

ENCM 369 Winter 2019 Lab 6 for the Week of February 25

The LC3's micro-coded controller ("useq") is nothing more than a finite-state machine (FSM). It has these inputs:

CARLETON UNIVERSITY. Laboratory 2.0

Computer Organization EE 3755 Midterm Examination

University of Florida EEL 4744 Fall 1998 Dr. Eric M. Schwartz

that system. weighted value associated with it. numbers. a number. the absence of a signal. MECH 1500 Quiz 2 Review Name: Class: Date:

CS/COE 0447 Example Problems for Exam 2 Fall 2010

EE292: Fundamentals of ECE

MIDTERM EXAM March 28, 2018

Computer Organization and Architecture (CSCI-365) Sample Final Exam

Faculty of Engineering Systems & Biomedical Dept. First Year Cairo University Sheet 6 Computer I

CMPE 413/ CMSC 711. Project Specification: 16 bit 2 s complement Adder and 8 bit 2 s complement multiplier. GND. Input bus. Latches I[8]-I[15]

Recitation Session 6

Read this before starting!

Sample Exam I PAC II ANSWERS

EECS150 Homework 2 Solutions Fall ) CLD2 problem 2.2. Page 1 of 15

Read this before starting!

Format. 10 multiple choice 8 points each. 1 short answer 20 points. Same basic principals as the midterm

ECE 341 Midterm Exam

Digital Design & Computer Architecture (E85) D. Money Harris Fall 2007

Birkbeck (University of London) Department of Computer Science and Information Systems. Introduction to Computer Systems (BUCI008H4)

Simplification of Boolean Functions

UML CS Algorithms Qualifying Exam Fall, 2004 ALGORITHMS QUALIFYING EXAM

Microcomputers. Outline. Number Systems and Digital Logic Review

Good Evening! Welcome!

CS2630: Computer Organization Homework 1 Bits, bytes, and memory organization Due January 25, 2017, 11:59pm

EECS 140/141 Introduction to Digital Logic Design Fall Semester 2016 Exam #1 Date: 3 October 2016

University of California, Berkeley College of Engineering

Read this before starting!

Written exam for IE1204/5 Digital Design Thursday 29/

01 Introduction to Digital Logic. ENGR 3410 Computer Architecture Mark L. Chang Fall 2006

Bawar Abid Abdalla. Assistant Lecturer Software Engineering Department Koya University

Lecture 10: Floating Point, Digital Design

1 /10 2 /12 3 /16 4 /30 5 /12 6 /20

COSC3330 Computer Architecture Lecture 7. Datapath and Performance

Birkbeck (University of London) Department of Computer Science and Information Systems. Introduction to Computer Systems (BUCI008H4)

(Refer Slide Time 3:31)

ECE550 PRACTICE Midterm

Programmable Logic Devices

ENEL Digital Circuits Midterm Examination

Computer Organization EE 3755 Midterm Examination

ECE 341 Midterm Exam

Design of Digital Circuits ( L) ETH Zürich, Spring 2017

Review Topics. Midterm Exam Review Slides

IA Digital Electronics - Supervision I

Chap-2 Boolean Algebra

University of California, Berkeley College of Engineering

CS2630: Computer Organization Homework 3 Combinational logic and Logisim Due October 14, 2016, 11:59pm

Final Exam Review. b) Using only algebra, prove or disprove the following:

Review Topics. Midterm Exam Review Slides

Real Digital Problem Set #6

COMP12111 Fundamentals of Computer Engineering Paul Nutter Vasilis Pavlidis Comments

CDS130 Mid-term exam: Sample

Logic and Computer Design Fundamentals. Chapter 2 Combinational Logic Circuits. Part 3 Additional Gates and Circuits

Problem Points Your Points Total 80

Lesson 1: Complementary and Supplementary Angles

Systems Architecture I

A 3-SPEED STEPPER MOTOR

Read this before starting!


CMPT-166: Sample Final Exam Answer Key

AMSC/CMSC 460 Final Exam, Fall 2007

Logic Gates and Boolean Algebra ENT263

Slide Set 10. for ENEL 353 Fall Steve Norman, PhD, PEng. Electrical & Computer Engineering Schulich School of Engineering University of Calgary

Boolean Logic CS.352.F12

D I G I T A L C I R C U I T S E E

Transcription:

ECE2020 Final Exam Summer 2014 GTL July 30, 2014 Name: Show your work for any possible partial credit. 100 possible points, 8 exam pages plus two supplemental pages. High Level Language Storage Functional 1) (10 points) For the expression below, create a switch level implementation using N and P type switches. Assume both inputs and their complements are available. Your design should contain no shorts or floats. Implement the equation exactly as is (no simplifying). Out x = A B C + D + E 1

High Level Language Storage Functional 2) (10 points) Implement the following expression using only AND gates and inverters. Then determine the number of switches required. Use proper mixed logic notation. Do not modify the expression. Do not assume compliments of inputs are available. You may use 3 input AND gates if needed. Out = ( G + H )( I J ) + K + L M Number of switches 2

High Level Language I 0 I 1 2 to 4 DECODER O 0 O 1 Storage Functional EN O 2 O 3 3) (10 points) Implement a 2 to 4 decoder using AND gates and inverters, (you may use 3 input AND s). You must show a truth table, Boolean equations for each of the four outputs, and then the implementation of the 2 to 4 decoder. 3

High Level Language Storage Functional 4) (10 points) Consider the register implementation below. A B C Input Output Register WE Clk1 Clk2 Input Output Register WE Clk1 Clk2 Input Output Register WE Clk1 Clk2 Assume the following signals are applied to the registers above. Draw the signal at point A (output of the first register), point B (output of the second register) and point C (output of the third register). Assume all stored signals are UNKNOWNS at start. Clk1 Clk2 WE IN A B C 4

High Level Language change Machine RED GREEN Storage Functional BLUE 5) ( 20 points total) Implement a state machine that outputs three signals names RED, GREEN, and BLUE and with the single input change. As long as change input is a high, the outputs go high one at a time in this specific order RED, GREEN, RED, BLUE, RED, GREEN,RED, BLUE,...however when the change input is a low, the output that is high at present stays high until the change input is set to a high. Draw a state diagram, show a state table, and show the complete and entire state machine design. You may use any type of logic gate you want. 5

Blank work page for Problem 5 6

Blank work page for Problem 5 7

High Level Language Storage Functional 6) (10 points) Using the attached single cycle data path we have discussed extensively in class (see last pages of exam for part of it), using as few registers as possible, implement the microcode for the following operation M[R5] = (R3 + 8 R2 + 5M[R4])/4 # X Y Z rw e im en im va au en -a /s lu en lf su en st ld en st en r/ -w msel description 1 2 3 4 5 6 7 8 9 8

High Level Language Storage Functional 7) ( 10 points) Instruction Format. Suppose you were designing a new computer with a 64 bit instruction word and a 64 bit addressed memory, 2048 different instructions, and 1024 registers. What are the number of bits required in each of the different required fields in the Register Format Instructions? (You may have more or less lines in the table below than you need). Field Name Minimum Number of bits required 9

8) (20 points) MIPS Assembly language programming. Write a MIPS procedure named search that will take memory value starting at the location contained in register $4 and search sequential memory locations until it finds the value negative one. Once it finds the value negative one in a memory location, put the address of the memory location that contains the negative one into register $5 and return back to the program that called your procedure. You may need more or fewer rows in the tables below. Label: Instruction Comment Explain the use of ALL of the registers used in your code: Register Was used for the purposes of $4 Starting location of memory $5 Contains memory location where -1 was found 10

You may tear off the following 2 pages from the exam and you do not need to turn in them in. 11

K MAPS: /B B /A /C C A /C /D D /D /B B /A A /C C /C /B B /A A 12