Computer Organization and Design: The Hardware/Software Interface

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

View Full Document Right Arrow Icon
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:
Image of page 1

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

View Full Document Right Arrow Icon
2
Image of page 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.
Image of page 3

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

View Full Document Right Arrow Icon
Image of page 4
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    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.

    Student Picture

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

  • Left Quote Icon

    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.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    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.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern