Question: Consider the following nonsense code: LD R 3 , 8 0 ( R 4 ) DADDR 1 , R 4 , R 3 SD 1
Consider the following nonsense code:
LD RR
DADDR
SD R R
a If this code is running on a variation MIPS with no data forwarding, how many clock cycles are
required from IF of first instruction to WB of last instruction Be sure to show your work in the
form of a pipeline stage diagram, and explain the cause of each stall cycle.
b If this code is running on a variation MIPS with data forwarding, how many clock cycles are
required from IF of first instruction to WB of last instruction Be sure to show your work in the
form of a pipeline stage diagram, and explain the cause of each stall cycle.
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
