Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Please solve the above and draw the datapath. Thank you!!! 3. (4pts) Implement the following two proposed MIPS instructions by extending the MIPS datapath. Give
Please solve the above and draw the datapath. Thank you!!!
3. (4pts) Implement the following two "proposed" MIPS instructions by extending the MIPS datapath. Give the values for this instruction of RegWrite, PCSrc, RegDest, ALUSrc, MemRead, MemWrite, MemtoReg and any additional control signals you create. Also give the operation specified by ALUOp ldwadd Rd, Rs(Rt) Rd = Mem[Rt] + Rs Instruction [25-0) (ShiftJump address [31-0] f228 0 26 PC +4 (31-28] Add Add AL Add result RegDst Jump Shift left 2 MemRead control R Instruction [31-26] entoRe AL RegWrite Instruction [25-21] Read register 1 Read Read PCaddress Read data 1 register 2 Instruction [20-16] ALU ALU result Address data Instructi Read data 2 Address Read [31-0] MWrite Instruction | | | Instruction [15-111 .| register memory Write data Registers data memory 16 Sign- 32 Instruction [15-0] ALU Instruction [5-0] 3. (4pts) Implement the following two "proposed" MIPS instructions by extending the MIPS datapath. Give the values for this instruction of RegWrite, PCSrc, RegDest, ALUSrc, MemRead, MemWrite, MemtoReg and any additional control signals you create. Also give the operation specified by ALUOp ldwadd Rd, Rs(Rt) Rd = Mem[Rt] + Rs Instruction [25-0) (ShiftJump address [31-0] f228 0 26 PC +4 (31-28] Add Add AL Add result RegDst Jump Shift left 2 MemRead control R Instruction [31-26] entoRe AL RegWrite Instruction [25-21] Read register 1 Read Read PCaddress Read data 1 register 2 Instruction [20-16] ALU ALU result Address data Instructi Read data 2 Address Read [31-0] MWrite Instruction | | | Instruction [15-111 .| register memory Write data Registers data memory 16 Sign- 32 Instruction [15-0] ALU Instruction [5-0]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