{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

sp09-lw-s2

# sp09-lw-s2 - ECE 2030B 1:00pm 4 problems 5 pages Problem...

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

ECE 2030B 1:00pm Computer Engineering Fall 2009 4 problems, 5 pages Exam Two Solutions 4 March 2009 Problem 1 (4 parts, 24 points) Building Blocks Part A (8 points) Consider the circuit below. Complete the truth table. Then state what logical function this circuit implements. A B Out I 0 I 1 I 2 I 3 O S 1 S 0 O 3 O 2 O 1 O 0 I 1 I 0 En oops! A B Out 0 0 1 1 0 0 0 1 0 1 1 1 This wacky circuit is Even Parity (XNOR) Part B (6 points) Consider the following circuit below. Determine its input priority. I 3 I 2 I 1 I 0 O 1 O 0 I 0 I 1 I 2 I 3 V O 1 O 0 0 0 0 0 0 X X 1 0 0 X 1 0 0 X 1 0 X 1 0 1 X X 1 X 1 1 0 0 0 0 1 1 1 1 I 2 > I 1 > I 0 > I 3 Part C (4 points) Derive a simplified expression for O 1 . O 1 = I 2 I 0 I 1 Part D (6 points) Implement a 2-input NAND using a 2-to-4 decoder and a single OR gate (which may have any number of inputs). Label the inputs A and B , and output A NAND B. IN 0 O 0 2 to 4 decoder IN 1 O 1 O 2 O 3 A B A NAND B 1

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

View Full Document
ECE 2030B 1:00pm Computer Engineering Fall 2009 4 problems, 5 pages Exam Two Solutions 4 March 2009 Problem 2 (3 parts, 28 points) Number Systems Part A (10 points) Convert the following notations: binary notation decimal notation 1100 1010 . 128+64+8+2 = 202 1010 0100.1000 1 128+32+4+0.5+0.03125 = 164.53125 111 1100.11 64+32+16+8+4+0.5+0.25 =
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}