Consider a pipeline processor with 4 stages s1 to s4. we want to execute the following loop
for (i = 1; i < = 1000; i++) {I1, I2, I3, I4}
Where the time taken in ns by instructions I1 to I4 for stage S1 to S4 are given
The outout of I1 for i=2 will be avaliable after
A |
11 ns |
B |
12 ns |
C |
13 ns |
D |
28 ns |
So, total time would be 13 ns.