Question: 2. (10 points) Modify the single-cycle data path by implementing the conditional move instruction 'MOVZ'. Below is the syntax. The instruction below will move t1

2. (10 points) Modify the single-cycle data path by implementing the conditional move instruction 'MOVZ'. Below is the syntax. The instruction below will move t1 into to if t2==0. Otherwise, to will be assigned as "0" MOVZ MOVZ $to, $t1, $t2 This is the encoding of the instruction above unique t1 12 to 0 0 opcode r's rt rd shamt Funct Draw the changes on the data path diagram and provide the values of all the control signals Add Add ALU result Shift HegDat left 2 Branch MemRead Instruction [31-26] Control MomtoReg ALUOp MomWrite ALUSTC RegWrite Instruction [25-21] PC Read Read address register 1 Read Instruction (20-16] Read data 1 Instruction register 2 Zero go) 31-0 ALU ALU Write Read Address Read Instruction memory Instruction [15-11] register data 2 result data HEE HEEO Write data Registers Data Mile memon data Instruction [15-0] 16 Sign 32 extend ALU control Instruction [5-0]
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
