0 votes 0 votes please check the answer... CO and Architecture made-easy-test-series co-and-architecture pipelining operand-forwarding + – sourav. asked Jan 22, 2016 • edited Mar 5, 2019 by akash.dinkar12 sourav. 917 views answer comment Share Follow See all 2 Comments See all 2 2 Comments reply sourav. commented Jan 22, 2016 reply Follow Share answer given 0 votes 0 votes Utk commented Jan 22, 2016 reply Follow Share there's one stall in I1 in ID stage, one stall in I3 for ID stage again and then two stall in I4 stage. 1 votes 1 votes Please log in or register to add a comment.
2 votes 2 votes I0 : R2 <-- R0 + R1 I1 : R1 <-- R2 - R1 I2 : R0 <-- R2 - R0 I3 : R2 <-- R1 * R0 I4 : R3 <-- R1 + R0 I/C 1 2 3 4 5 6 7 8 9 10 11 I0 IF ID PO MA WB I1 IF ID PO MA WB I2 IF ID PO MA WB I3 IF ID PO PO PO MA WB I4 IF X X ID PO MA WB in this instruction pipeline using operand forwarding so result are store in stage PO . Hence next instruction must used the result after PO stage.(where X represent no of stall) Hence Total Stall = 2 skraj answered Jan 31, 2017 skraj comment Share Follow See all 0 reply Please log in or register to add a comment.
0 votes 0 votes ans is 2 and the given explation is correct asu answered May 13, 2016 asu comment Share Follow See all 2 Comments See all 2 2 Comments reply Amit puri commented Sep 9, 2016 reply Follow Share Bro see the daigram correctly I1 has only one ID but in diagram they have taken 2 ID..so total stall cycles will be 3 not 2.. 0 votes 0 votes cse23 commented Jan 26, 2017 reply Follow Share Can we do PO and MA in same cycle in case of operand forwarding insead of WB and PO in same cycle??? and why they are using 2 cycle for instruction fetch..please answer 0 votes 0 votes Please log in or register to add a comment.