An instruction pipeline consists of 4 stages: Fetch (F), Decode field (D),…
PYQ GATE 1999
An instruction pipeline consists of 4 stages: Fetch (F), Decode field (D), Execute (E), and Result-Write (W). The 5 instructions in a certain instruction sequence need these stages for the different number of clock cycles shown in the table below.
Instruction | F | D | E | W |
|---|---|---|---|---|
1 | 1 | 2 | 1 | 1 |
2 | 1 | 2 | 2 | 1 |
3 | 2 | 1 | 3 | 2 |
4 | 1 | 3 | 2 | 1 |
5 | 1 | 2 | 1 | 2 |
Find the number of clock cycles needed to perform the 5 instructions.
Attempted by 1 students.
Sign up free to check your answer
Sign up freeLoading lesson…

