recategorized
1,081 views
1 votes
1 votes
A $5$ stage pipeliine is used to overlap all the instructions except the branch instructions. The target of the branch can't be fetched till the current instruction is completed. What is the Throughput (in MIPS) of the system if $20\%$ of the instrucitons are branch instructions? Ignore the overhead of buffer register. Each stage is having same amount of delay. The pipeline clock rate is $0.1 \: GHz$. Branch penalty is $4$ cycles. (Upto $2$ decimal place).
recategorized

1 Answer

Best answer
7 votes
7 votes
Average instruction execution time =

=(ideal CPI + frequency of branch instructions*Branch_Penalty)*Cycle Time

Cycle Time $= 1/0.1Ghz = 10ns$

$=(1+.2*4)10 ns = 18 ns$

$18 ns = 1$ instruction, therefore

$1sec = 55.55 MIPS$
selected by
Answer:

Related questions

7 votes
7 votes
2 answers
4
Ruturaj Mohanty asked Dec 27, 2018
1,357 views
The remainder when $'m+n'$ is divided by $12$ is $8$, and the remainder when $'m-n'$ is divided by $12$ is $6$. If $m>n$, then what is the remainder when $'mn'$ is divide...