edited by
986 views
1 votes
1 votes

The following sequence of instructions is executed in basic 5 stage pipeline ( F D E M W). Assume data dependency is resolved by Operand Forwarding. Load instruction output present at 4th stage and ALU instruction output is at third stage. Assume each stage takes one cycle.

How many instructions must be inserted to achieve CPI = 1 by using Operand Forwarding ?

A. 3

B. 4

C. 5

D. 6

edited by

1 Answer

0 votes
0 votes
key point is :

first execute pipeline without operand forwarding.(15 cycles)

second  execute pipeline with  operand forwarding.(10 cycles)

and then subtract both you will get required ans(5 cycles)

Related questions

0 votes
0 votes
2 answers
3