| Multi-cycle datapath: performance | |||||||||||||
| Instruction | Cycles | Distribution | |||||||||||
| type | |||||||||||||
| R-type | 4 | 49% | |||||||||||
| load | 5 | 22% | |||||||||||
| store | 4 | 11% | |||||||||||
| branch | 3 | 16% | |||||||||||
| jump | 3 | 2% | |||||||||||
| Average cycle time: | |||||||||||||
| 0.49 * 4 + 0.22 * 5 + 0.11 * 4 + 0.16 * 3 + 0.02 * 3 = 4.03 | |||||||||||||
| 4.03/5 = 81% of critical path time (load) | |||||||||||||