

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


Northwestern University Oct 25, 2011 Electrical Engineering and Computer Science Handout # EECS303: Advanced Digital Design, Fall 11 Due: Nov 1 Prof. Hai Zhou
You may discuss the assignments with your classmates but need to write down your solutions independently. Be careful with your handwriting. Unclear solutions will be assumed wrong.
(a) 100111 + 111001 (b) 001011 + 100110 (c) 110001 ā 010010 (d) 101110 ā 110111
x, y, u, v := a, b, a, b do x > y ā x, u := x ā y, u + v y > x ā y, v := y ā x, v + u od output ((u + v)/ 2 );
The available basic elements include full adders, D flip-flops, and multiplexers, in addition to Boolean gates. Assume that each basic element takes 1 unit of time, what is the minimum clock period you can use.
the two data inputs A and B (and carry-in Ci): S 2 S 1 S 0 ALU operation 0 0 0 Fi = 0 0 0 1 Fi = B ā A 0 1 0 Fi = A ā B 0 1 1 Fi = A + B 1 0 0 Fi = AxorB 1 0 1 Fi = AorB 1 1 0 Fi = AandB 1 1 1 FI = 1