MIPS Pipeline Hazards

Instructions

Tap an instruction to add it to the end, or drag it to a spot in the table.

Drag X onto an instruction to hold it in ID for one more cycle, or tap X and then the instruction. Tap an X in the table to remove it.

Pipeline table

To draw a forward, drag from the cell that has the value to the cell that needs it, or tap one and then the other. Tap an arrow to remove it.

  • F1: EX/MEM to EX
  • F2: MEM/WB to EX
  • F3: register file bypass
  • Not a valid path
  • X: stall

Hazards