recategorized by
509 views
1 votes
1 votes

Consider a pipelined processor, which  has $5$ stages Fetch, Decode, Execute, memory and Write back with latencies $300 \: ms$, $400 \: ms$, $350 \: ms$, $550 \: ms$ and $100 \: ms$ respectively. What is the latency of an instruction? (Assume each pipeline cost $20 \:ms$ extra for registers between the stages).

  1. $1700 \: ms$
  2. $1720 \: ms$
  3. $2750 \: ms$
  4. $2850 \: ms$
recategorized by

1 Answer

1 votes
1 votes
Pipelining reduces the cycle time to the length of the longest stage plus the register delay. Latency becomes (Cycle time*N) where N is the number of stages as one instruction will need to go through each of the stages and each stage takes one cycle.
Cycle time $=550+20=570 \: ms$
Latency $=5*570 = 2850 \: ms$
Answer:

Related questions

1 votes
1 votes
1 answer
4