ee457_hw1

ee457_hw1 - EE457 Homework #1 Instructors: G. Puvvada Due:...

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

View Full Document Right Arrow Icon
EE457 Instructors: G. Puvvada Homework #1 Due: See on the BlackBoard On-campus students shall drop their completed homeworks in the special locker designated for EE457 Homeworks across EEB104 Pages 15, 16, and 17 are cancelled. Topic: Data Unit Design and Control Unit Design =============================================== 1. Mealy machine Design: Design a simple (though inefficient) DIVIDER to divide X by Y to obtain quotient Q and remainder R. All are 4-bit unsigned numbers. Y is a non-zero number. Method: Subtract Y from X repetitively until Y does not go through X anymore. There shall be an INITIAL state I, COMPUTE state C, and a DONE state D. Remain in the I state until START command S is received. In the initial state, clear the Q register. In the compute state, perform the subtraction (X - Y), and based on borrow output from the subtracter, which indicates whether Y went through X or not, update X with (X - Y) and increment Q. If Y did not go through X, you should exit the compute state
Background image of page 1

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

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 25

ee457_hw1 - EE457 Homework #1 Instructors: G. Puvvada Due:...

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

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