I need to develop a program that can take any group of instructions from traditional MIPS instructions.
Program should detect the pipelining hazards and generates the timing sequence (IF/ID/E/M/W.) showing the hazards.
Then, it should use a solution for the detected hazards and regenerate the timing sequence after applying the proposed solution.
Note: I need at least one program of at least four instructions but must include at least add, sub, lw, sw. In other words, a program of four lines should be demonstrated.
The instructions do not have to be different and should not be hardcoded.
Program need to show 3 outputs .
Please place word "Detection hazards" in header of your bid.