9618/32 May/June 2023 · Question 8(a) · 2 marks
Describe how pipelining is used in Reduced Instruction Set Computers (RISC).
Points that gain marks
- Several instructions are processed at the same time (concurrently).
- So more instructions are completed per unit of time: the throughput goes up.
- Each stage of an instruction takes one clock cycle.
- No two instructions can be in the same stage in the same clock cycle.
- For example, while one instruction is decoded, the next one is fetched.
In this lab: Levels 2 and 3 show exactly this: one instruction per stage per cycle, and 5 instructions in 9 cycles instead of 25.