search
Log In
1 vote
265 views

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

in CO and Architecture
edited by
265 views
0
The answer is 5 but i am getting 3 i don't understand the approach. Please Help me out here :(
0
post your approach and the solution given by ME. Then only we can find out where u made mistake.
0

Made Easy Solution

 

0
Is the approach Correct ?
0
Can i use this approach always ?
0
above solution is correct. That is the way u approach it.

Not sure how u approached the solution.

Please log in or register to answer this question.

Related questions

0 votes
1 answer
1
321 views
here why to take stall at the highlighted cell as its OPERAND FORWARDING and unless mentioned its EX-EX and its being followed without stall also, please clarify how to understand where Operand Forwarding is to be applied in such generalized cases., Thanks in advance :)
asked Dec 25, 2018 in CO and Architecture Markzuck 321 views
0 votes
1 answer
2
269 views
they have not given the number of cycles taken by ADD/LOAD..i have taken as 1..correct if i am wrong The following sequence of instruction is executed in a basic 5 stage pipelined processor (S1, S2, S3, S4, S5). Assume that data dependency present in ... output is available in 3rd stage. Assume each stage take 1 cycle. What is the number of cycles are saved by using operand forwarding.
asked Jan 28, 2016 in CO and Architecture sourav. 269 views
2 votes
1 answer
4
331 views
The following sequence of instruction is executed in a basic 5 stage pipelined processor (S1, S2, S3, S4, S5). Assume that data dependency present in the program is resolved by operand forwarding techniques. Load instruction output present in 4th stage ALU instruction output ... stage take 1 cycle. What is the number of instructions must be inserted to achieve CPI = 1 by using operand forwarding.
asked Jan 19, 2016 in CO and Architecture khushtak 331 views
...