EE 3755 Final: EE 3755 LSU 2002Final Exam sol

23 views16 pages
31 Jan 2019
School
Course
Professor

Document Summary

Problem 5 (20 pts) (20 pts) (20 pts) (20 pts) (20 pts) Problem 1: the proposed (just for this exam) swap instruction swaps the contents of its register (gpr) operands. Grading notes: better solutions make fewer changes to the code, synthesize in to less hardware, and do not increase the critical path. The simplest strategy is to add two new states, write rs in one (if(rs)gpr[rs] = rt val) and rt in the other. That would add a new path in to the register le. That is the approach used in the solution given here (at the end of the exam). There is an existing path to the register le through the alu. Several people tried using that path (not all of them did it for e ciency reasons) but none did it e ciently. The best way to use the alu is to de ne two new alu operations,

Get access

Grade+
$40 USD/m
Billed monthly
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
10 Verified Answers