Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Modify both the table and the datapath below for the single-cycle implementation to add the instruction jr (jump register). You should also indicate each of
Modify both the table and the datapath below for the single-cycle implementation to add the instruction jr (jump register). You should also indicate each of the appropriate settings for the control lines to support the jr instruction in the table below. Again use an X when the value for a control line does not matter. You can assume that the opcode field uniquely identifies the jr instruction. (50 points) RegALUMemto Reg MemMem Dst Src ALU ALU Instruction BranchJump RegWriteReadWrite R-format SW beq addiu Instruction [25-0] /shift left 2 Jump address [31-o] 28 PC+4 [31-28 26 Add UI ul 4 Add Shift left 2 RegDst Jum MemRead Instruction [31-26 MemtoRe MemWrite RegWrite Control Instruction [125-21] Read Read PCaddress register 1 Read Instruction [20-16]Read data 1 Zero Instruction register 2 [31-0] ALU ALUAddress data Read Read M Write InstructionInstruction [15-11] regist Write UI result memory UI UI data Registers Write Data data memory Sign- 32 extend Instruction [15-0 ALU control Instruction [5-0] Modify both the table and the datapath below for the single-cycle implementation to add the instruction jr (jump register). You should also indicate each of the appropriate settings for the control lines to support the jr instruction in the table below. Again use an X when the value for a control line does not matter. You can assume that the opcode field uniquely identifies the jr instruction. (50 points) RegALUMemto Reg MemMem Dst Src ALU ALU Instruction BranchJump RegWriteReadWrite R-format SW beq addiu Instruction [25-0] /shift left 2 Jump address [31-o] 28 PC+4 [31-28 26 Add UI ul 4 Add Shift left 2 RegDst Jum MemRead Instruction [31-26 MemtoRe MemWrite RegWrite Control Instruction [125-21] Read Read PCaddress register 1 Read Instruction [20-16]Read data 1 Zero Instruction register 2 [31-0] ALU ALUAddress data Read Read M Write InstructionInstruction [15-11] regist Write UI result memory UI UI data Registers Write Data data memory Sign- 32 extend Instruction [15-0 ALU control 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