Laufzeit
mit Pipeline:
ohne Pipeline:
Hazards
Structural hazard
Hardware does not support access across multiple instructions in the same cycle.
Can not access Memory in two stages
⇒ Separate IMEM, DMEM Memories


Data hazards

Daten sind noch werden erst von vorigem Befehl gelanden und stehen noch nicht zu Verfügung.
Data Hazards - Forwarding

In RISC V

Control Hazards

bedingter sprung kann dazu führen das der Befehl danach garnicht ausgeführt wird.
Lösungen
- Umordenen
- NOPs
- Forwarding
- Branch Predication