Using the notation studied on the book we have these values

Using the notation studied on the book, we have these values in the Pipeline registers:

EX/MEM.RegisterRd = $s2 (address of register s2)

ID/EX.RegisterRd = $s2 (address of register s2)

ID/EX.RegisterRt = $s3 (address of register s3)

MEM/WB.RegisterRd = $s1 (address of register s1)

Do we have a Data Hazard?

Yes

Solution

Answer :

Using the notation studied on the book, we have these values in the Pipeline registers:

EX/MEM.RegisterRd = $s2 (address of register s2)

ID/EX.RegisterRd = $s2 (address of register s2)

ID/EX.RegisterRt = $s3 (address of register s3)

MEM/WB.RegisterRd = $s1 (address of register s1)

Do we have a Data Hazard?

Answer :

Yes

Explanation:

EX/MEM.RegisterRd = $s2 (address of register s2)

ID/EX.RegisterRd = $s2 (address of register s2)

ID/EX.RegisterRt = $s3 (address of register s3)

MEM/WB.RegisterRd = $s1 (address of register s1)


Yes,We have a Data Hazard.

Using the notation studied on the book, we have these values in the Pipeline registers: EX/MEM.RegisterRd = $s2 (address of register s2) ID/EX.RegisterRd = $s2

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site