|
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
I1 |
IF |
ID |
OF |
EX |
WB |
|
|
|
I2 |
|
IF |
ID |
OF |
EX |
WB |
|
|
I3 |
|
|
IF |
ID |
OF |
EX |
WB |
|
I4 |
|
|
|
IF |
ID |
OF |
EX |
WB |
in this question instruction I1 perform the addition operation and result store in ALU in clock cycle 3 and next instruction I2 use the result which is store by instruction I1 using operand forwarding !
hence the total clock cycle is 8.