fa08-sl-ef - ECE 2030 12:00pm 5 problems, 7 pages Computer...

Info iconThis preview shows pages 1–4. Sign up to view the full content.

View Full Document Right Arrow Icon
ECE 2030 12:00pm Computer Engineering Fall 2008 5 problems, 7 pages Final Exam 10 December 2008 1 Instructions: This is a closed book, closed note exam. Calculators are not permitted. If you have a question, raise your hand and I will come to you. Please work the exam in pencil and do not separate the pages of the exam. For maximum credit, show your work. Good Luck! Your Name ( please print ) ________________________________________________ 1 2 3 4 5 total 32 34 18 34 34 152
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
ECE 2030 12:00pm Computer Engineering Fall 2008 5 problems, 7 pages Final Exam 10 December 2008 2 Problem 1 (4 parts, 32 points) Implementation Bonanza For each part implement the specified device. Label all inputs and outputs . Part A (8 points) Implement the expression below using N and P type switches. ( ) E D C B A OUT X + + = Part B (8 points) Implement the expression in mixed logic notation using NOR gates. ( ) D C B A OUT Y + + = Part B (8 points) Implement a 1 to 4 DEMUX using only pass gates and inverters. Part D (8 points) Implement a full adder using AND, OR, NAND, NOR, NOT, & XOR gates.
Background image of page 2
ECE 2030 12:00pm Computer Engineering Fall 2008 5 problems, 7 pages Final Exam 10 December 2008 3 Problem 2 (2 parts, 34 points) Even Average In this problem, you will write a subroutine that determines the average of even numbers in a variable length array in memory. Comments for each instruction and labels are already provided . Input parameters to this subroutine include a pointer to the first array element ($1) and the number of elements in the array ($2). The result (the average of even numbers) is returned in $3. As always, the return address for this subroutine arrives in $31. input parameters result working registers reg content reg content reg content reg content reg content reg content $1 array pointer $2 # array elements $3 input / result $4 running sum $5 # even values $6 predicate Part A (24 points) Write a subroutine that computes the average of even values in an array.
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 4
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 7

fa08-sl-ef - ECE 2030 12:00pm 5 problems, 7 pages Computer...

This preview shows document pages 1 - 4. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online