retagged by
2,338 views
4 votes
4 votes
Consider following program is executed on a 5 stage RISC pipeline and stages are IF, ID, EX, MA, WB.

IF = Instruction Fetch

ID = Instruction Decode and fetch register

EX  = Execution Stage

MA = Memory Access

WB = Write back register file

Program:-

I1) ADD R0, R1 R2

I2) ADD R3, R0 R4

I3) ADD R10, R0 R5

I4) ADD R11, R0 R6

I5) ADD R12, R0 R7

I6) ADD R13, R0 R8

I7) ADD R14, R0 R9

Calculate the number of RAW dependency and Hazards.(There is no Structural Dependency)

My Answers -> Dependencies = 6, hazards = 3.

Someone verify these answer.
retagged by

1 Answer

2 votes
2 votes

Is it right please verify it

Related questions

0 votes
0 votes
0 answers
1
Na462 asked Nov 14, 2018
731 views
2 votes
2 votes
3 answers
4
just_bhavana asked Aug 27, 2017
1,559 views
Find total number of RAW hazards.Doubt: Should I4 - I5 be counted or not ?