513 views
0 votes
0 votes

I am very Confused to how to calculate Delay SLOTS in a given Pipeline.

Can anybody explain the technique for finding the number of delay slots and Stalls in A pipelined processor.

2. Is delay slot and pipeline stall the same thing. Because delay slot is created using branch instruction and stall means just that pipeline stage is empty at that moment due to dependency but logically both are the same thing right??? .                                

Like in https://gateoverflow.in/1818/gate2006-42 

How do we get 2 delay slot according to me it should be 3.

For Example :- 

Say the five stages are = F,D,E,M,W and 2nd instruction is the branch instruction and branch target is the Instruction 4 then:- 

I1  =           F     D     E    M    W

I2 =                   F      D    E    M    W

I3 =                            F    D    ---    ---    ---

I4 =                                         F      D     E     M   W

So 3 stalls right? what about Pipeline stalls??

Plz explain where i am wrong?

Please log in or register to answer this question.

Related questions

766
views
0 answers
0 votes
rishabhdevsingh1 asked Nov 10, 2018
766 views
consider a5 stage pipeline processor, 20% load instructions, 25% branches, 20% stores, 20% of all instructions are data dependent on instructions in front of them and branches are taken 75%of time. what would be the expected cpi?
972
views
1 answers
0 votes
Na462 asked Sep 3, 2018
972 views
Its a snapshot from hamacher.According to me there should be stall of 2 cycles why 3 ??Because after Write stage the data will be available in register file so why extra stall in 6th clock cycle ?
845
views
1 answers
1 votes
gourav94240 asked Aug 28, 2018
845 views
Consider a 4 stage pipeline:fetch-IF(2cycle), decode& read -ID(1 cycle) execute-Ex(4 cycle for multiply and 7 cycle for divide ,1 cycle for all other ... 1 cycle in execute stage . How many cycle does it take to execute program A?
1.0k
views
1 answers
0 votes
Jaggi asked Jul 7, 2018
1,004 views
A computer with a 5 stage pipeline deals with conditional branches by stalling for the next 3 cycle after hitting one. how much does stalling hurt the performance is 20% of all instructions are conditional branches.