Homework05-sol - 10:04 PM Homework#05(Solution 1(10 points...

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

View Full Document Right Arrow Icon
2/21/03 10:04 PM ECSE-2660 Computer Architecture, Networks, & Operating Systems, Spring 2003 Page 1 of 2 Homework #05 (Solution) 1. (10 points) P&H Q6.1. The cycle time would be 10 ns in the single-cycle implementation. For the pipelined implementation it would be 4ns. The speedup obtained from pipelining the single-cycle implementation would only be 10/4 = 2.5. Grading: 3 points for each correct time, 4 for correct speedup. 2. (25 points) Using a drawing similar to Figure 6.8 on page 447, show the forwarding paths needed to execute the following instructions: lw $6,120($0) ____ ____ ____ ____ ____ add $1,$2,$3 ____ ____ ____ ____ ____ sub $5,$1,$6 ____ ____ ____ ____ ____ add $5,$5,$1 ____ ____ ____ ____ ____ There are three forwarding paths needed. First one happens between the second and the third instructions, because of dependency involving $1. Second forwarding path happens between the third and the fourth instructions, because of dependency involving $5. Finally, there must be another forwarding path between the first and the third instructions, because of dependency involving $6.
Image of page 1

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

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