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

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

View Full Document Right Arrow Icon
My UW | UW Search Computer Science Home Page > ~markhill Home Contact Info 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.
Background image of page 1

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

View Full DocumentRight Arrow Icon
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. Using as many trips as needed, the farmer must transfer the
Background image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 02/19/2010 for the course CS 252 taught by Professor Wood during the Fall '08 term at University of Wisconsin.

Page1 / 4

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

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

View Full Document Right Arrow Icon
Ask a homework question - tutors are online