Answered step by step
Verified Expert Solution
Question
1 Approved Answer
please solve it quickly i need the instruction encoding and pipeline execution diagram for the following question. NOTE: correct the instruction operates as the following:
please solve it quickly
i need the instruction encoding and pipeline execution diagram for the following question. NOTE: correct the instruction operates as the following: R[rt] = (PC+1 ) + R[rs] Part 1: Suppose we want to add support for new instructions to the MIPS Pipeline data path. The new instruction is Add PC (APC Srt, Srs). It is an I-type format instruction. Its opcode is 1001. The instruction operates as the following: R[nt] = PC + R[rs] Opende Modify the pipelined data path to allow the correct execution of the APC instruction in addition to the existing instructions. Highlight the modifications if possible. Part 2: Assume you want to modify the forwarding and hazard detection unit that you have implemented in the lab to support more forwarding and stall cases given the code sequence below. 0 addi S1, S1, 15 1 addi S2, S1, 20 2 addi S3, S3, 30 3 APC S4, S3 4 sw S1, 5(85) $ lw $6, 5(85) 6 APC S7, S6 i need the instruction encoding and pipeline execution diagram for the following question. NOTE: correct the instruction operates as the following: R[rt] = (PC+1 ) + R[rs] Part 1: Suppose we want to add support for new instructions to the MIPS Pipeline data path. The new instruction is Add PC (APC Srt, Srs). It is an I-type format instruction. Its opcode is 1001. The instruction operates as the following: R[nt] = PC + R[rs] Opende Modify the pipelined data path to allow the correct execution of the APC instruction in addition to the existing instructions. Highlight the modifications if possible. Part 2: Assume you want to modify the forwarding and hazard detection unit that you have implemented in the lab to support more forwarding and stall cases given the code sequence below. 0 addi S1, S1, 15 1 addi S2, S1, 20 2 addi S3, S3, 30 3 APC S4, S3 4 sw S1, 5(85) $ lw $6, 5(85) 6 APC S7, S6 Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started