Question: Modify the block diagram for single-cycle datapath so that it can execute the following instruction sa. Note that, this instruction saves the address(2000) onto the
Modify the block diagram for single-cycle datapath so that it can execute the following instruction sa. Note that, this instruction saves the address(2000) onto the PC register if the source register($s1) is greater than the source register($s2). sa $s1,$s2, 2000 Also write down the control unit values for this instruction.
Name: ID: Single Cycle Implementation X-3 Add 4 Add ALU result Shift left 2 Instruction (31-26] Control RegDst Branch Mem Read Memto Reg ALUOP Mem Write ALUSrc RegWrite Instruction [25-21] PC Read address Read register 1 Read register 2 Read data 1 Instruction (20-16) Zero ALU ALU Instruction (31-0] Instruction memory Read data 2 Write register Read Address data result Instruction (15-11] **30 2x Write data Registers Data Write memory data Instruction (15-0] 16 32 Sign extend ALU control Instruction (5-0) Activate W Go to Settings
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
