Answered step by step
Verified Expert Solution
Question
1 Approved Answer
The RISC-V data path design considered only a subset of that processor instructions. In this project, you are required to augment the design of the
The RISC-V data path design considered only a subset of that processor instructions. In this project, you are required to augment the design of the data path for the following instructions:
- Add immediate: Addi Xd, Xs, imm
- Load Sum: Lws rd, rs1, rs2; where Reg[rd]=Mem[rs1+rs2].
For example, if x5=20, x6=30 then the instruction Lw1 x4,x5,x6 will load X4 with the contents of memory location 50.
- Swap rs1, rs2 swaps contents of the two registers.
- Store Sum: SS rs1, rs2, imm; Mem[rs1]=rs2+imm
- Problem Statement
- Design Details
For each instruction from the above list:
- Define the most appropriate instruction format for the instruction.
- Define the new functional units (if any) that is needed for this instruction.
- Define the modifications ( if any) that has to be done to existing data path. If not, justify that the current data path is sufficient.
- Define any new control signals (if any) to be provided by the control unit.
- Define the settings of all control signal for that instruction.
- Draw the data path that demonstrates the implementation of that instruction.
- Complete data path: Draw the complete data path units along with the control signals for all the instructions. ( Those implemented in class and the above listed instructions)
- Performance: Discuss how the performance of the processor is affected by the new instructions.
Step by Step Solution
★★★★★
3.51 Rating (168 Votes )
There are 3 Steps involved in it
Step: 1
Answer 1 Add immediate Addi Xd Xs imm Instruction Format OPCode Xd Xs Imm Functional Units Needed ALU Modifications to the Data Path None the existing ...Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started