edited by
201 views
3 votes
3 votes

Consider a $5$ stage MIPS Pipeline with the following features:

  • For a non-pipeline implementation, ALU operations and branches take $3$ cycles while memory operations take $5$ cycles and clock rate is $3$ GHz
  • Relative frequencies of ALU operations, branches and memory operations are $55\%, 15\%$ and $30\%.$
  • In the pipeline due to clock skew and setup time, the clock cycle time increases by $0.65$ ns.

Calculate the estimated speedup (rounded to $2$ decimal points).

edited by

1 Answer

Best answer
2 votes
2 votes
For non-pipelined processor :
    
Average instruction execution time $=\text{Clock cycle time} \times \text{Average CPI}$  

$\qquad =\dfrac{1}{3 \times 10^9}ns \times (0.55\times 3 + 0.15\times 3+0.30\times 5)=1.2\;ns$
    
For pipelined processor:
Clock cycle time $= 0.33 + 0.65 = 0.98\;ns$

Ideal speedup with pipelining (one instruction being completed in a cycle) $= \dfrac{1.2}{0.98}=1.224$
selected by
Answer:

Related questions

1 votes
1 votes
1 answer
3
gatecse asked Aug 30, 2020
152 views
Consider the following array of elements being sorted by merge sort. The sum of all the elements to which $13$ gets compared is _____$$14\; 13\; 24\; 56\; 87\; 98\; 4\; 6...
1 votes
1 votes
2 answers
4
gatecse asked Aug 30, 2020
74 views
If a simple graph $G,$ has $10$ vertices and $11$ edges, the number of edges in the complement of $G$ will be _______