Computer Organization and Design: The Hardware/Software Interface

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

View Full Document Right Arrow Icon

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

View Full DocumentRight Arrow Icon

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

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

Unformatted text preview: 1 University of California, Berkeley College of Engineering Computer Science Division EECS Spring 2001 John Kubiatowicz Homework Quiz (HW #5) SOLUTIONS March 20, 2001 CS152 Computer Architecture and Engineering This quiz covers one of the problems from homework #5. Good Luck! Your Name: SID Number: Discussion Section: Total: 2 3 In problem 6.19 and 6.20, you explored hazards involving memory instructions. For your reference, Figure 6.51 from the book is reproduced on the previous page. 1. Consider the following instruction sequence (RAW hazard through memory): sw $2, 20($4) lw $5, 20($4) Does this require forwarding hardware for maximum performa nce? If yes, draw/describe the forwarding hardware and describe the control circuitry. If no, explain why not. No. Both of these operations occur in the memory stage. Hence, the value is stored out on one cycle and grabbed on the next cycle. This is a forward motion of information that happens automatically through the memory system....
View Full Document

Page1 / 4

sp01_homequiz_5_solution - 1 University of California,...

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

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