Lite / Independent Engineering Research / Week 20
Week 20: Computer microarchitecture
This week you will
- Use the Iron Law T = IC × CPI × cycle time to compare designs.
- Compare single-cycle, multi-cycle and pipelined datapaths.
- Explain data, control and structural hazards and how forwarding, stalls and prediction handle them.
Lessons
- Single-cycle, multi-cycle and the Iron Law · about 45 min
Chip A runs at 4 GHz, chip B at 2 GHz. B finishes your program first. How? - Pipelining: an assembly line for instructions · about 45 min
A laundry takes 30 minutes to wash, 40 to dry and 20 to fold. How long do four loads take if you never wait for one to finish before starting the next? - Hazards, forwarding and branch prediction · about 50 min
An instruction needs a number the previous one hasn't finished computing. Does the whole assembly line stop?