Question: a. if only the stall insertion method is used for data hazards, what is execution time of the sequence of instructions in term of cycles?

a. if only the stall insertion method is used for data hazards,a. if only the stall insertion method is used for data hazards, what is execution time of the sequence of instructions in term of cycles?

b. What is the average CPI of the above sequence when only the stall insertion method is used for data hazard? c. When both the forwarding method and the stall insertion method are used, what is the speed-up compared to stall insertion? d. When the forwarding method is used to solve hazards, please identify the values of Forward A and value of Forward B at each cycle. e. When the forwarding method is used to solve hazards, please identify the values of control signals of the functional units at each cycle. Question 5. Given the following MIPS program that is executed in a 5-stage pipeline MIPS process. addi $sl, $zero, 100 addi $s2, $zero, 100 add $s3, $si, $s2 lw $4, 100 ($t0) lw $55, 104 ($t0) and $86, $s4, $s 5 sw $56, 100 ($t0) Answer all questions as in the previous exercise b. What is the average CPI of the above sequence when only the stall insertion method is used for data hazard? c. When both the forwarding method and the stall insertion method are used, what is the speed-up compared to stall insertion? d. When the forwarding method is used to solve hazards, please identify the values of Forward A and value of Forward B at each cycle. e. When the forwarding method is used to solve hazards, please identify the values of control signals of the functional units at each cycle. Question 5. Given the following MIPS program that is executed in a 5-stage pipeline MIPS process. addi $sl, $zero, 100 addi $s2, $zero, 100 add $s3, $si, $s2 lw $4, 100 ($t0) lw $55, 104 ($t0) and $86, $s4, $s 5 sw $56, 100 ($t0) Answer all questions as in the previous exercise

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!