Menu

[Solved]Question 7 Pcsrc Pc 4 Add Add Left Call Regwrite Read Register L Read Register Data 1 Memw Q37279527

Question 7 PCSrc PC+4 ADD ADD if Left Call RegWrite Read Register l Read Register Data 1 MemWrite zero Read Address Inst Writ

Question 7 PCSrc PC+4 ADD ADD if Left Call RegWrite Read Register l Read Register Data 1 MemWrite zero Read Address Inst Write Register Read Write Data Address ALU MeatoReg Data 2 Data Instruction isters Memor RegDst Write Data sign Extend Data Memo MemRead Control a)The previous datapath diagram can execute many instructions. If the CPU were to execute a “SUB R1,R3,-3” in RISC-V, what would be values in each of the wires marked with a letter? The register file is initialized with r0-0x100,r1-0x101,r2 0x102,r3-0x103… the program counter for the instruction is 0x400. If a value is not relevant or known because of lack of instruction encoding, use X. (1 points) b) If the previous diagram were to execute a subset of RISC-V instructions. Set the control signals for the following LD, CALL, and SUB instructions. (1 points) ld x7, 1 (R3) call 0xDEE sub x13, x17, 7 Show transcribed image text Question 7 PCSrc PC+4 ADD ADD if Left Call RegWrite Read Register l Read Register Data 1 MemWrite zero Read Address Inst Write Register Read Write Data Address ALU MeatoReg Data 2 Data Instruction isters Memor RegDst Write Data sign Extend Data Memo MemRead Control a)The previous datapath diagram can execute many instructions. If the CPU were to execute a “SUB R1,R3,-3” in RISC-V, what would be values in each of the wires marked with a letter? The register file is initialized with r0-0x100,r1-0x101,r2 0x102,r3-0x103… the program counter for the instruction is 0x400. If a value is not relevant or known because of lack of instruction encoding, use X. (1 points) b) If the previous diagram were to execute a subset of RISC-V instructions. Set the control signals for the following LD, CALL, and SUB instructions. (1 points) ld x7, 1 (R3) call 0xDEE sub x13, x17, 7

Expert Answer


Answer to Question 7 PCSrc PC+4 ADD ADD if Left Call RegWrite Read Register l Read Register Data 1 MemWrite zero Read Address Inst… . . .

OR


Leave a Reply

Your email address will not be published. Required fields are marked *