Question: Functional unit Mux Add Shift leit Instruction inctory Registers Sign extend ALU Data memory Execution time 10ns 10us 10ns 150ns 150ms 10ns 15005 200ns Table

Functional unit Mux Add Shift leit Instruction inctory Registers Sign extend ALU Data memory Execution time 10ns 10us 10ns 150ns 150ms 10ns 15005 200ns Table 1: Execution time for functional units nal is LT 4. sw $80, 100 ($51) 5. beq Ss0, $al, L2 Then, calculate the cycle time for this processor Question 3. Given the following MIPS sequence executed in a 5-stage pipeline MIPS processors (IF, ID, EXE, MEM, WB): sub $2, $1,$3 and $12, $2,85 $13, $5, $2 add $14, $2,$2 $15,100 ($2) neres or SW a. I only the stall insertion method is used for data hazards, what is execution time of the sequence of instructions in term of cycles? hazard? b. What is the average CPI of the above sequence when only the stall insertion method is used for data c. When both the forwarding method and the stall insertion method are used, what is the speed-up compared to stall insertion? Given the following pipeline MIPS processor architecture. Question 4. Given the following MIPS instructions executed in a 5-stage pipeline MIPS processors (IF, ID, EXE, MEM, WB): lw $t1, 0(Sa) lw $t2, 4($a0) add $t3, $t1, $t2 sw $t3, 8($a0) lw $t4, 4($a0) lw $t5, 8(Sao) add $t 6, $t4, $65 sw $t6, 12($a0) a. If only the stall insertion method is used for data hazards, what is execution time of the sequence instructions in term of cycles? Fall Semester - 2 Functional unit Mux Add Shift leit Instruction inctory Registers Sign extend ALU Data memory Execution time 10ns 10us 10ns 150ns 150ms 10ns 15005 200ns Table 1: Execution time for functional units nal is LT 4. sw $80, 100 ($51) 5. beq Ss0, $al, L2 Then, calculate the cycle time for this processor Question 3. Given the following MIPS sequence executed in a 5-stage pipeline MIPS processors (IF, ID, EXE, MEM, WB): sub $2, $1,$3 and $12, $2,85 $13, $5, $2 add $14, $2,$2 $15,100 ($2) neres or SW a. I only the stall insertion method is used for data hazards, what is execution time of the sequence of instructions in term of cycles? hazard? b. What is the average CPI of the above sequence when only the stall insertion method is used for data c. When both the forwarding method and the stall insertion method are used, what is the speed-up compared to stall insertion? Given the following pipeline MIPS processor architecture. Question 4. Given the following MIPS instructions executed in a 5-stage pipeline MIPS processors (IF, ID, EXE, MEM, WB): lw $t1, 0(Sa) lw $t2, 4($a0) add $t3, $t1, $t2 sw $t3, 8($a0) lw $t4, 4($a0) lw $t5, 8(Sao) add $t 6, $t4, $65 sw $t6, 12($a0) a. If only the stall insertion method is used for data hazards, what is execution time of the sequence instructions in term of cycles? Fall Semester - 2
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
