in CO and Architecture retagged by
1,539 views
1 vote
1 vote

A 5 stage pipelined processor has instruction fetch (IF), operand fetch (OF). Instruction decode (ID), perform operation (PO) and Write operand (WO) stages. The IF, ID, OF and WO stages takes 1 clock cycle each for any instruction. The PO stage takes 1 clock cycle for ADD and SUB instruction, 2 clock cycles for MUL instruction and 4 clock cycles for DIV instructions respectively. The number of clock cycles needed to execute the following sequence of instruction is ________.

In the explanation they have mentioned in this way :

Now , my question is , Here I1 and I2 are dependent , so how can they start without any stall , no operand forwarding is also mentioned.

in CO and Architecture retagged by
1.5k views

3 Comments

The answer is 16 only,what is the confusion?
0
0
Hi , in the I3 how can we do OF when WO is not done for I2 ? Should we start OF from clock 11 ?
0
0
that is a mstk.in I2 5,6,7 will be stall..answer is right.solve is not
0
0

1 Answer

1 vote
1 vote

Yes for I5,6,7 should be a stall.It should have been - or a implicit NOP[no operation] .

4 Comments

for I3 9,10 also be stall
0
0
but answr is 16..make those correcion,i have told.. then pic will be right
0
0
done !
0
0

Related questions