Question: For the given code: ADD R1, R2, R3 STR R2, TR[1] MOV R6, R6, LSR #2 LDR R4, [R3] ADD R4, R4, #1 AND R2,

 For the given code: ADD R1, R2, R3 STR R2, TR[1]

For the given code: ADD R1, R2, R3 STR R2, TR[1] MOV R6, R6, LSR #2 LDR R4, [R3] ADD R4, R4, #1 AND R2, R2, 0xFF STR R9, [R10] a) Find all types of hazards in the instruction sequence that affects the 5-stage pipeline b) Show the data dependencies using pipeline timing diagram. c) How your answer of a will change if the architecture allows (you may use pipeline timing diagram to illustrate your answer): EX stage forwarding MEM stage forwarding d) How your answer of a) will change if it is a Von-Neumann architecture? e) What are two different ways in which you can reduce the hazards problem in case of no forwarding? For the given code: ADD R1, R2, R3 STR R2, TR[1] MOV R6, R6, LSR #2 LDR R4, [R3] ADD R4, R4, #1 AND R2, R2, 0xFF STR R9, [R10] a) Find all types of hazards in the instruction sequence that affects the 5-stage pipeline b) Show the data dependencies using pipeline timing diagram. c) How your answer of a will change if the architecture allows (you may use pipeline timing diagram to illustrate your answer): EX stage forwarding MEM stage forwarding d) How your answer of a) will change if it is a Von-Neumann architecture? e) What are two different ways in which you can reduce the hazards problem in case of no forwarding

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!