{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

HW7Solutions

HW7Solutions - ECE15A Winter2014 HW7Solutions 1 Dcml eia...

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

ECE 15A Winter 2014 HW7 Solutions 1. Decimal Input x y w z A msb B C D lsb Output 0 0 0 0 0 1 1 1 0 0 0 1 1 2 2 0 0 1 0 1 1 3 3 0 0 1 1 1 2 4 0 1 0 0 1 1 5 5 0 1 0 1 1 4 6 0 1 1 0 1 1 5 7 0 1 1 1 1 8 8 1 0 0 0 1 1 9 9 1 0 0 1 1 8 10 1 0 1 0 1 1 9 11 1 0 1 1 1 1 12 1 1 0 0 1 1 1 13 1 1 0 1 1 1 1 14 1 1 1 0 1 1 1 1 15 1 1 1 1 0 Output A xy col wz row 00 01 1 1 1 1 1 1 1 1 y’wz’+xwz’+x’ywz+xyw’+xy’z

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

View Full Document
ECE 15A Winter 2014 HW7 Solutions Output B xy col wz row 00 01 11 10 1 1 1 1 1 1 x’w’+yw’z+ywz’+xy’wz Output C 1 1 1 1 1 1 wz’+z’x’y’+xwz’ Output D 1 1 1 1 1 1 1 1 z’
ECE 15A Winter 2014 HW7 Solutions

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

View Full Document
ECE 15A Winter 2014 HW7 Solutions 2. 5 input majority circuit inputs abcde input e=0 ab col cd row 00 01 11 10 1 1 1 1 1 input e=1 1 1 1 1 1 1 1 1 1 1 1 cde+abe+abd+abc+bcd+acd+bde+bce+ade+ace
ECE 15A Winter 2014 HW7 Solutions 3. If the msb is 1 the number is negative so flip and add 1. Half adder: add 2 bits and get a sum representing the new bit and a carry that carries over into the next more significant bit. Half adder a b sum carry 0 0 0 0 0 1 1 0 1 0 1 0 1 1 0 1

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

View Full Document
ECE 15A Winter 2014 HW7 Solutions 4. (w+y’)’+((xy’)+(yz))’ xy col zw row 00 01 11 10 1 1 1 0 1 1 1 0 1 x 0 0 1 1 x 0 x’+yz’+yw’
ECE 15A Winter 2014 HW7 Solutions 5. x y z w a (xy ’) b (yz ) c (b+c) d (y’+w)’ F if F’ possibilities 0 0 0 0 0 0 1 0 1 c=0,d=0,a=1,b=1
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

Page1 / 7

HW7Solutions - ECE15A Winter2014 HW7Solutions 1 Dcml eia...

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

View Full Document
Ask a homework question - tutors are online