Question: Part 1 : Simulate the RISC - V single - cycle data path implementation that you have designed through previous lab sessions ( lab 1
Part :
Simulate the RISCV singlecycle data path implementation that you have designed through previous lab
sessions lablab by writing RISC assembly code to test its functionality. Consider the following two
points when writing your code:
At least one instruction from each instruction's type should be included in the code.
At least two BEQ instructions should be included in the code, one should be taken and the
other should not be taken.
Part :
A new instruction named NewAdd has the RType format and operates as follows:
NewAdd Rrd Rrs Rrs
Then
Else XOR
Note: Apply logic XOR bitwise with binary value of
Modify your RISC singlecycle data path to support the new instruction in addition to the
existing instructions. Use the unused opcode
Include the new instruction in the code written in parti make sure that it has an effect on
the registers values
Simulate your modified design. You should use the new instruction twice to cover both
cases.
Write proper comments that explain the effect of the new instruction on the register file
value on a separate sheet.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
