Question: Question 2 [ 3 0 points ] Given 3 MIPS assembly programs and they are executed in a 5 - stage pipeline processor. Answer the
Question points
Given MIPS assembly programs and they are executed in a stage pipeline processor. Answer the following questions:
a Identify the type of hazards for each program.
b Identify all the data dependencies for each program
c Consider the program in iii and answer the following questions, assuming there is no structural hazard
i Assume that only "nop" instruction can be added to resolve the data hazard, how many "nop" instructions are needed?
ii Draw the pipeline diagram with the hardware methods that are taught during the lecture to resolve only the data hazards found in part a for the program iii
iii. What is the speedup factor when comparing the methods in part ci and part ciii Which one is more efficient?
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
