00:01
So, in this question there are two parts given and we have to answer one by one each part of this question.
00:05
So, the part a is without forwarding we need to introduce a stalls that handle the data hazards.
00:12
So, let's analyze the sequence of instruction.
00:16
First of all you have to write inst cc 12345678128.
00:23
So, inst 1 for 1, if for 2, id for 3, exe for 4, mem for 5, wv for 6, 8, st.
00:38
Inst 2, if, id, st, if, exe, id, mem, wb.
00:45
Inst 3, exe, mem, wb for 4, 5, 6.
00:50
So, in cycle 6 there is a stall for the second instruction inst 2...