Suppose we want to add support for a new instruction to the RISC-V single-cycle data path. The new instruction is store

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

Suppose we want to add support for a new instruction to the RISC-V single-cycle data path. The new instruction is store

Post by answerhappygod »

Suppose we want to add support for a new instruction to theRISC-V single-cycle data path. The new instruction is storeimmediate and decrement (swd rs2, rs1, immediate).It is an S-type format instruction that operates as thefollowing:
M[ R[rs1] ]  R[rs2] + SignExtImm2 ; R[rs1]  R[rs1] - 1
SignExtImm2 = {13{instruction[15]}, instruction[6:4]}
Find the minimum modification to the single-cycle data path toallow the correct execution of the swd instructionin addition to the existing instructions. Include the followingitems in your report and submission:
• Use the Quartus block editor tools to highlight yourmodification on the block/schematic diagram.
• Submit the modified design files on Moodle (Assignment 1submission link).
• Testing and Simulation results of Part II with properjustification.
• Give a short description of the changes needed in the datapath and control unit.
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply