I am very Confused in determining the number of stalls in a given execution. Please determine how to find out the number of stalls in the execution of the pipeline.
Like In this example calculate the number of stalls:-
I successfully calculated the total clock cycle but plz indicate number of stalls and where it took place ?
Instruction |
Fetch |
Decode |
Execute |
Write |
1 |
1 |
2 |
2 |
1 |
2 |
2 |
3 |
3 |
2 |
3 |
3 |
1 |
1 |
1 |
4 |
1 |
1 |
1 |
1 |