Answered step by step
Verified Expert Solution
Question
1 Approved Answer
( 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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started