Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Q 1 . Given the following sequence of MIPS instructions and using a 5 - stages pipeline datapath: l w $ 1 , 1 0

Q1. Given the following sequence of MIPS instructions and using a 5-stages pipeline datapath:
lw $1,1000($2)
lw $3,1004($1)
add $2,$3,$4
sub $5,$2,$6
vri $1,$2,10
a) Indicate dependencies and their types.
b) Assume there is no forwarding in this pipeline processor. Indicate hazards and nep instructions to eliminate them
c) Assume there is full forwarding. Indicate hazards and nop to eliminate them.
For each of the above, provide a diagram that shows the current state of the pipeline registers. Assume each instruction will require at most 5 cycles to complete, 1 cycle per pipeline stage. In the case of forwarding, your diagram must illustrate all forwarding that are implemented by the processor's forwarding and data hazard unit.
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions

Question

LO2 Explain the major laws governing employee compensation.

Answered: 1 week ago