ECE 445 - Spring 2016 - HW8

ECE 445 - Spring 2016 - HW8 - Homework Assignment#8 Spring...

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

View Full Document Right Arrow Icon
Homework Assignment #8 Spring 2016 Homework #8 R EADING : 1. Hennessey & Patterson: 4.5 – 4.7 P ROBLEM S ET : 1. Pipeline Operation (5-stage MIPS pipeline). Consider the MIPS assembly language code segment given below. I1: add $s0, $s1, $s2 I2: add $s3, $s4, $s5 I3: add $s6, $s7, $zero I4: add $t0, $t1, $t2 I5: add $t3, $t4, $t5 I6: add $t6, $t7, $t8 I7: add $fp, $sp, $zero (a) Determine the number of clock cycles needed to execute this code segment on the pipelined implementation of the MIPS processor (5-stage pipeline). (b) Identify the registers that are read during clock cycle #4. (c) Identify the register that is written during clock cycle #6. (d) Determine the number of clock cycles needed to execute a MIPS assembly language program consisting of 100 instructions on the 5-stage MIPS pipeline. Assume that there are no hazards (and, thus, no pipeline stalls). ECE 445 – Computer Organization 1 of 3 Dr. Craig Lorie
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
Homework Assignment #8 Spring 2016 2. Resource Hazards Consider the MIPS assembly language code segment given below.
Image of page 2
Image of page 3
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