{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

06- Final - Department of Electrical Engineering McGill...

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

View Full Document Right Arrow Icon
1 Department of Electrical Engineering McGill University ECSE 221 Introduction to Computer Engineering I Final Examination Thursday, April 13 th , 2006 2:00pm Examiner: Prof. F.P. Ferrie Associate Examiner: Prof. D. Lowther Instructions: Answer ALL questions in the examination booklet provided, showing all of your work. Calculators are permitted, but they must be the Faculty standard. All questions are equally weighted. Question 1 a) A UXGA display card can display an image of 1600 x 1200 pixels with approximately 16 million colors/pixel. How much memory does this display require assuming that each pixel corresponds to an integer number of bytes. [2 points] b) Encode the number -7.624 x 10 -28 using IEEE 754 single precision floating point format. Encode the mantissa using equivalent precision. Express your answer in hexadecimal notation. [2 points] c) Determine the minimal canonical forms, and ∏∑ , corresponding to the following sum of products form: ( A , B , C , D " 1,3,6,7,9,11,13,14) . [2 points] d) Show the implementation of the function in Part (c) using an 8-input multiplexer and a single inverter. [2 points] e) Determine the output of the following “C” program: #include <stdio.h> int main(int argc, char *argv[]) { int a=17, b=34; a=a^b; b=a^b; a=a^b; printf("a=%d b=%d\n",a,b); } (Hint: ^ is the XOR operator) [2 points]
Background image of page 1

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

View Full Document Right Arrow Icon
2 Question 2 A finite state machine is implemented using flip-flops and combinational logic as shown above. The timing parameters for this circuit are: T PD (FF) = 2 nS, T SU (FF) = 0.5 nS, and T H (FF) = 0 nS.
Background image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}