# 4-M1 - Midterm 1 ECE 25 Spring 2008 Tuesday April 29 Name...

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

Midterm 1 ECE 25, Spring 2008 Tuesday April 29 Name: PID: Problem Points Score 1 15 2 10 3 10 4 10 Total 45 a) Given X and Y below that are 4-bit numbers in 2’s complement form, ﬁll in the table of what S should be bit-vector form, whether or not there is an overﬂow ,andwhat S is as a number. (First row provides an example.) X Y S = X Y S as a x 3 x 2 x 1 x 0 y 3 y 2 y 1 y 0 s 3 s 2 s 1 s 0 Overﬂow? number 0111 0011 0100 No 4 1000 0010 1111 1010 0110 1011 0000 0001 0101 0111 b) For each binary vector below, what does it represent as an Octal number and a Hexadecimal number? Binary Octal Hexadecimal 000111 101001 100100 1

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

View Full Document
Consider the following 16-bit adder design that adds the numbers F = X + Y + Z .A s sum e 1ns gate delay for all gates (i.e., 2-XOR, 2-AND, and 2-OR). D 16 D 15 X 15 Y 15 D 14 X 14 Y 14 D 1 X 1 Y 1 D 0 X 0 Y 0 D 2 E 16 E 15 F 15 Z 15 E 14 F 14 Z 14 E 1 F 1 Z 1 E 0 F 0 Z 0 E 2 Th elog i cfo rea chb i t s l i c e( r e c t - angle box) is as follows: S i XOR AND OR AND C i C i+1 A i B i What are ﬁnal delays for the following: F 0 = F 1 = D 1 = E 1 = F 14 = D 14 = E 14 = F 15 = D 15 = E 15 = 2
F ( A, B, C, D )= ± m (3 , 6 , 8 , 9 ,

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

View Full Document
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

### Page1 / 4

4-M1 - Midterm 1 ECE 25 Spring 2008 Tuesday April 29 Name...

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

View Full Document
Ask a homework question - tutors are online