494 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

0 votes
0 votes
0 answers
1
rishabhdevsingh1 asked Nov 10, 2018
730 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 bra...
0 votes
0 votes
1 answer
2
Na462 asked Sep 3, 2018
910 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 ...
0 votes
0 votes
1 answer
4
Jaggi asked Jul 7, 2018
981 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% ...