Question: help me with question in conputer architecture thanks to stall insertion? Given the following pipeline MIPS processor architecture. 0 Question 4. Given the following MIPS



help me with question in conputer architecture thanks to stall insertion? Given the following pipeline MIPS processor architecture. 0 Question 4. Given the following MIPS instructions executed in a 5-stage pipeline MIPS processors (IF, ID, EXE, MEM, WB): lw $t1, 0($a0) lw $t2, 4 ($a0) add $t3, $t1, $t2 sw $t3, 8($a0) lw $t4, 4($a0) lw $t5, 8($a0) add $t6, $t4, $t 5 sw $t6, 12 ($a0) 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? Hazard detection unit ID/EX.MemRead IF/DWrite ID/EX WB Control M u EX/MEM WB! M MEM/WB PCWrite IF ID EX M WB Registers Instruction Eax-( ALU PC Instruction memory M u Data memory IF/ID. RegisterRs IF/ID. RegisterRt IF/ID. RegisterRt IF/ID. RegisterRd ID/EX.RegisterR! At ed As RI Forwarding unit Figure 2: Full datapath of a pipeline MIPS processor to Registers PC! Instruction memory > ALU M u Data memory IF/ID. RegisterRs IF/ID. Register1 IF/ID. Registert IF/ID. RegisterRd ID/EX.Register RE Rd As RE Forwarding unit Figure 2: Full datapath of a pipeline MIPS processor 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. to stall insertion? Given the following pipeline MIPS processor architecture. 0 Question 4. Given the following MIPS instructions executed in a 5-stage pipeline MIPS processors (IF, ID, EXE, MEM, WB): lw $t1, 0($a0) lw $t2, 4 ($a0) add $t3, $t1, $t2 sw $t3, 8($a0) lw $t4, 4($a0) lw $t5, 8($a0) add $t6, $t4, $t 5 sw $t6, 12 ($a0) 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? Hazard detection unit ID/EX.MemRead IF/DWrite ID/EX WB Control M u EX/MEM WB! M MEM/WB PCWrite IF ID EX M WB Registers Instruction Eax-( ALU PC Instruction memory M u Data memory IF/ID. RegisterRs IF/ID. RegisterRt IF/ID. RegisterRt IF/ID. RegisterRd ID/EX.RegisterR! At ed As RI Forwarding unit Figure 2: Full datapath of a pipeline MIPS processor to Registers PC! Instruction memory > ALU M u Data memory IF/ID. RegisterRs IF/ID. Register1 IF/ID. Registert IF/ID. RegisterRd ID/EX.Register RE Rd As RE Forwarding unit Figure 2: Full datapath of a pipeline MIPS processor 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
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
