[Solved]413 Exercise Intended Help Understand Relationship Forwarding Hazard Detection Isa Design Q37121294

4.13 This exercise is intended to help you understand the relationship between forwarding, hazard detection, and ISA design. Problems in this exercise refer to the following sequence of instructions, and assume that it is executed on a 5-stage pipelined datapath add r5, r2, r1 lw r3, 4 (r5) lw r2, e(r2) or r3, r5, r3 sw r3, e(rs) 4.13.1 [5] <COD §4.7s if there is no forwarding or hazard detection, insert nops to ensure correct execution. 4.1 3.2 [10] <COD §4.7s Repeat 4.13.1 but now use nops only when a hazard cannot be avoided by changing or rearranging these instructions. You can assume register R7 can be used to hold temporary values in your modified code. 4.13.3 [10] <COD §4.7> If the processor has forwarding, but we forgot to implement the hazard detection unit, what happens when this code executes? Show transcribed image text 4.13 This exercise is intended to help you understand the relationship between forwarding, hazard detection, and ISA design. Problems in this exercise refer to the following sequence of instructions, and assume that it is executed on a 5-stage pipelined datapath add r5, r2, r1 lw r3, 4 (r5) lw r2, e(r2) or r3, r5, r3 sw r3, e(rs) 4.13.1 [5]
Expert Answer
Answer to 4.13 This exercise is intended to help you understand the relationship between forwarding, hazard detection, and ISA des… . . .
OR

