A Basic Single-Cycle Datapath with Control Instruction [25 0 Shift Jump address [31 01 left 2 26 0 PC+4 [31 28] Add ALU
Posted: Thu Jun 02, 2022 8:32 am
subset of MIPS instructions.Consider adding the following
instructions.
addp1m rd,rs,rt Interpretation: Reg[rd]= Mem[Reg[rs]] +
Reg[rt]
a.What should be added/modified in the datapath for this
instruction?
b.Which blocks are used to execute this instruction?For what
purpose?
c.What new signals should be added for this instruction? What
should be the values of new and existing control signals to execute
this instruction?
A Basic Single-Cycle Datapath with Control Instruction [25 0 Shift Jump address [31 01 left 2 26 0 PC+4 [31 28] Add ALU result Add RegDst Jump Branch MemRead Instruction [31 26] Control MemtoReg ALUOP MemWrite ALUSrc RegWrite Instruction [25 21] Read register 1 Read data 1 Instruction [20 16] Read register 2 Registers Read data 2 Write register Instruction [15 11] Write data 16 Instruction [150] Sign extend Instruction [50] PC Read address Instruction memory Instruction [31 이 28 32 Shift left 2 ALU control Zero ALU ALU result 1 Address Write data lo Read data Data memory 0