Professional Documents
Culture Documents
L13 Pipelining 2
L13 Pipelining 2
Lecture – 13
We already know that the Data Hazards
occur in a situation when the data to be
operated on is not available when it is needed.
Assume that, a program contains two
instructions(I1 & I2).
If the two instructions are executed in pipeline,
then it is obviously possible that execution of I2
begins before the execution of I1 ends.
Instruction
I 1 (Mul) F1 D1 E1 W1
I 2 (Add) F2 D2 D 2A E2 W2
I3 F3 D3 E3 W3
I4 F4 D4 E4 W4
E : Execute W : Write
(ALU) (Register File)
Forwarding path
Source 2
SRC1 SRC2
ALU
RSLT
Destination
Datapath