when there is no branch...in pipeline manner all instreuctions wii come out every one cycle letter.
F |
ID |
O |
E |
W |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
F |
ID |
O |
E |
W |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
F |
ID |
O |
E |
W |
|
|
|
|
|
|
|
|
|
|
|
|
SO TIME =.7*1*4 because clock cycle time is 4 ns.
now it is saying that cpu will not fetch new instruction in case of branch until last branch did not get complete, that means in branch case
F |
ID |
O |
E |
W |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
F |
ID |
O |
E |
W |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
F |
ID |
O |
E |
W |
SO after every 5 cycle we are getting our result so in this case .3*5*4 where clock cycle time is 4 ns.