0 0 votes I am very Confused in determining the number of stalls in a given execution. Please determine how to find out the number of stalls in the execution of the pipeline. Like In this example calculate the number of stalls:- I successfully calculated the total clock cycle but plz indicate number of stalls and where it took place ? Instruction Fetch Decode Execute Write 1 1 2 2 1 2 2 3 3 2 3 3 1 1 1 4 1 1 1 1 CO & Architecture co-and-architecture stall pipelining + – Na462 1.8k views answer comment Share Follow Print See all 2 Comments 2 2 Comments reply Junaed Siddiquee commented Mar 19, 2018 reply Follow flag yes, I am also getting the same 1 1 replyShare sachin486 commented Aug 15, 2020 reply Follow flag i m confused here shouldn’t stalls = number of cycle wasted insrtead of number of slots wasted so answer will be 7 1 1 replyShare Please log in or register to add a comment.
3 3 votes bubble or pipeline stall is a delay in execution of an instruction in an instruction pipeline abhishekmehta4u answered Mar 19, 2018 abhishekmehta4u comment Share Follow See all 5 Comments 5 5 Comments reply Show 2 previous comments Na462 commented Apr 26, 2018 reply Follow flag Sir i said 2 because when we do add instruction then what i usually consider is that after writing the value of Ro (in above case) its then saved back into memory and in succeeding instructions i fetch that value i.e. Ro first and do remaining operation 0 0 replyShare Na462 commented Apr 27, 2018 reply Follow flag Sir please help me out here 0 0 replyShare Prateek Raghuvanshi commented Jul 25, 2018 reply Follow flag @ abhishekmehta4u i think 9 stalls will be there because $I_4's$ first stall is already counted in $I_3$. 2 2 replyShare Please log in or register to add a comment.