Highlights from last week (c’ed)
Basic pipelining
- 5 stages: IF, ID, EX. MEM, WB
- Pipeline registers between stages to keep data/control info needed in subsequent stages
Hazards
- Structural (won’t happen in basic pipeline)
- Data dependencies
- Most can be removed via forwarding
- Otherwise stall (insert bubbles)
- Control