2,305 views
1 votes
1 votes
We have 10 stage pipeline , where the branch target conditions are resolved at stage 5 . How many stalls are there for an incorrectly predicted branch ?

Plz draw a diagram.

1 Answer

0 votes
0 votes
In general, if the branch instruction is known at Kth stage then the number of stalls would be : (K - 1).

And hence = (5-1) = 4 stall cycles.

Related questions

0 votes
0 votes
1 answer
1
shima abdullah asked Jun 27, 2022
951 views
if an unpipelined processor with a cycle time of 25 ns is evenly divided into 5 pipeline stages using pipeline latches with 1-ns latency,what is the total latency of the ...
2 votes
2 votes
2 answers
2
Nihal Singh asked Oct 26, 2021
1,543 views
Hi, I have a question like how Load/Store operation behave in pipelining, with or without operand forwarding ?
1 votes
1 votes
1 answer
3
s_dr_13 asked Mar 8, 2019
676 views
Please cite some useful resources where lots of problems are based on pipeline,illustrating every kind of problems can be asked in GATE