This is my answer: Explanation: At the third instruction, instruction is waiting before ID, thus, no stalling is needed. (it does not have any changes before decoding. At the forth instruction, which is the store word, the $2 is available at the 10th cycle until it is written back before instruction decoded. At the last two instruction, there is no data hazard, so the instructions run without any hinder.
However, the instructor said that if an instruction is waiting before ID, the next instruction of IF phase should be start at 6th instead of 3rd (what I did)
Therefore, I am looking for help and want someone to discuss and check the idea with me. Thanks a lot for help!
For instance, which of the two IF is appropriate?