# hw4_sol - My UW | UW Search CS/ECE252 Introduction...

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

My UW | UW Search Computer Science Home Page > ~markhill Home Contact Info Lecture & Notes Schedule LC-3 Simulator Grading Examinations Homework CS/ECE 252  Introduction  to Computer  Engineering Fall 2007 All Sections Instructors Mark D. Hill and Mikko Lipasti TAs Sanghamitra Roy, Eric Hill, Samuel Javner, Natalie Enright Jerger, & Guoliang Jin Homework 4  Solutions Problem 1 A 2-bit by 2-bit unsigned binary multiplier has two 2-bit inputs A and B, and 4-bit output Y. The 4-bit output is the product of A and B. a. Draw the truth table for the multiplier.

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

View Full Document
b. Implement Y[3], Y[0] using AND, OR and NOT gates. c. Given the blocks for implementation of Y[3], Y[2], Y[1], Y[0], construct a zero output checker, such that output ZERO is 1 if Y=0, 0 otherwise. Problem 2 In a classic problem, a farmer, a fox, a chicken, and a sack of corn are on the left bank of a river. There is a small boat that will hold the farmer and at most one of the other three.
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

### What students are saying

• As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

Kiran Temple University Fox School of Business ‘17, Course Hero Intern

• I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

Dana University of Pennsylvania ‘17, Course Hero Intern

• The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

Jill Tulane University ‘16, Course Hero Intern