Question: ( 2 5 points ) The following codes run on the five - stage pipelined datapath. For each piece of code, answer the following questions.
points The following codes run on the fivestage pipelined datapath. For each piece of code, answer
the following questions.
a Without forwarding, insert the necessary number of 'nops' for the code to execute correctly.
b With the forwarding unit available only supports forwards MEM EX and WBEX show how
the code will execute. Mention the data that's forwarded between the stages. Use 'nops' only when
necessary.
Code :
sub t t t
add
or
Code :
and
sub
nor t t t
Code :
and
sub t t to
nor t t t
Code :
lw
and
Code :
lw t
sub t t t
xor
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
