Modify the following single-cycle RISC-V processor, so that it can support a new assembly instruction: slt rd, rs1, rs2

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899603
Joined: Mon Aug 02, 2021 8:13 am

Modify the following single-cycle RISC-V processor, so that it can support a new assembly instruction: slt rd, rs1, rs2

Post by answerhappygod »

Modify the following single-cycle RISC-V processor, so that itcan support a new assembly instruction:
slt rd, rs1, rs2 #if content of rs1 <content of rs2, then rd=1; otherwise rd=0
Modify The Following Single Cycle Risc V Processor So That It Can Support A New Assembly Instruction Slt Rd Rs1 Rs2 1
Modify The Following Single Cycle Risc V Processor So That It Can Support A New Assembly Instruction Slt Rd Rs1 Rs2 1 (129.04 KiB) Viewed 56 times
PC >Add Read address Instruction [31-0] Instruction memory Instruction [6-0] Instruction [19-15] Instruction [24-20] Instruction [11-7] Instruction [31-0] Branch MemRead MemtoReg ALUOP MemWrite ALUSrc RegWrite Read register 1 Read data 1 Read register 2 Write Read data 2 register Write data Registers 32 64 Imm Gen Instruction [30,14-12] Control Shift left 1 Add Sum Zero ALU ALU result ALU control MUX Read Address data Data Write data memory ↑ Oxc3-
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply