edited by
334 views
2 votes
2 votes

my doubt : In case of branch instruction the address is available at 4th stage. Does it mean fetching of next instruction start from 4th stage or the 5th stage?
I think it should be 4 but made easy has solved it by taking IF for next instruction at 5th stage.
please help.

edited by

2 Answers

1 votes
1 votes
No,

As I think The target address is available in the 4th stage means,that we will get the taregt address when 4th stage will be executed.

Therefore fetching of next instruction will start from S5

Related questions

3 votes
3 votes
1 answer
2
2 votes
2 votes
1 answer
3
Satbir asked Jan 16, 2019
908 views
5 stage pipeline → 3,6,5,8,4 latencies(in ns).What is average CPI of non pipelined CPU when speed up achieved by to pipeline is 4 ? (ans = 1.23)