and each stage takes a single cycle
Assuming the five-stage instructions as: s 11 $ t 1, $ t 0, 2 add $ t 2, $ a 0, $ t 1 sw $ zero, 0 ($ t 2) add i $ t 0, $ t 0, 1 a. Please find the hazard of instructions. (2%) b. By assuming there is not any forwarding in this pipelined processor, please plot the pipeline diagram of instructions with bubbles. (2%) c. Please resolve hazards with forwarding or bubbles (3%)
Expert Answer
Solution :