Question: The Single-Cycle CPU datapath given below is updated to support a new instruction. The added parts are surrounded by a dashed-line rectangle. Assume that the



The Single-Cycle CPU datapath given below is updated to support a new instruction. The added parts are surrounded by a dashed-line rectangle. Assume that the CPU is currently executing "ld x5, 24(xo)". Accordingly determine the values of: Read data 1, ALUSC, ALUOP, MemWrite, MemtoReg, and New_Ctrl? If a signal is "Don't Care" you must specify that. Value of Read data l is 1 24 Don't Care 5 Value of ALUSrc is: Don't Care 0 1 Value of ALUOp is: Don't Care 10 11 00 01 Value of Mem Write is: Don't Care 1 Value of MemtoReg is: 1 0 Don't Care Value of New_Ctrl is: Value of New_Ctrl is: 1 O Don't Care Assume that the CPU is currently executing "sub x7, X5, X6". Which of the following CPU components is NOT needed by the instruction and will be ignored? Imm Gen ALU Ctrl Adder of (PC + 4) Read Port 2 of the Register File ALU Given that the values of the control signals for the new instruction are: ALUSTC = 1, ALUOp = 01, MemtoReg = Don't Care, New_Ctrl = 1, and all remaining control signals are 0. Which of the following statements best describe the new instruction operation? if (sl) - sian-extlimmlla Given that the values of the control signals for the new instruction are: ALUSrc = 1, ALUOp = 01, MemtoReg = Don't Care, New_Ctrl = 1, and all remaining control signals are 0. Which of the following statements best describe the new instruction operation? if (((rsi) - sign-ext(imm)) == 0) then PC = (rs2) else PC = PC + (sign-ext(imm) x 2) O if (((rsi) - sign-ext(imm)) = o) then (rd) = (rs2) else (rd) = ALU result O None of the answers O if (((rsl) - sign-ext(imm)) = o) then PC = (rs2) else PC = PC + 4 O if (((rsi) - (rs2)) == 0) then PC = (sign-ext(imm)) else PC = PC + 4 ==
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
