Control
Hazard detection
unit
+
4
PC Instruction
memory
Sign- extend
Registers =
Fowarding unit
ALU
ID/EX
MEM/WB
EX/MEM
WB
M
EX
Shift left 2
IF.Flush
IF/ID
M u x
Data memory
WBM
0