Question: I need a java or python program that reads like these instructions: lw 0(r1), r4 lw 0(r1), r5 add r2, r3, r4 sub r6, r7,

I need a java or python program that reads like these instructions: lw 0(r1), r4 lw 0(r1), r5 add r2, r3, r4 sub r6, r7, r8 AND r1, r5, r7 SW r2, 3(r6)

and execute schedule that shows the pipeline execution of the above instructions and show the dependency as stall:

1 2 3 4 5 6 7 8 9 10 11 12 11 F D Ex M W 12 F D Ex M W 13 F S D Ex M W 14 F D Ex M W 15 F D Ex M W 16 F S S D Ex M W

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!