Question: This question asks you to add sra and srai support to the RISC - V datapath. These instructions takes the following format: b ) Show

This question asks you to add sra and srai support to the RISC-V datapath. These instructions takes the following format:
b) Show the modified (if any) control signals for all of the ALU operations.
c) Complete the control signals table below for the execution of the two new instructions in the single-cycle datapath after your modifications.
\table[[CONTROL LOGIC SIGNALS],[INPUTS,OUTPUTS],[Instr,\table[[Opcode],[(instr_6..0)]],\table[[Funct3],[(instr 14..12)]],\table[[Funct7],[(Instr_30)]],ImmSrc,RegWrite,AluSrc,AluOp,MemWrite,ResultSrc,Branch],[sra,,,,,,,,,,],[srai,,,,,,,,,,]]sra rd, rs1, rs2
srai rd, rs1, uimm
See the details of these instructions in the RISC-V Reference card.
a) Modify the ALU design in the datapath shown below to add functionality for sra and srai. You only need to show the additions/modifications to the ALU design discussed in class and available in the notes on Canvas. You do not need to show the entire datapath in your answer. Clearly label your inputs and outputs.
b) Show the modified (if any) control signals for all of the ALU operations.
c) Complete the control signals table below for the execution of the two new instructions in the single-cycle datapath after your modifications.
 This question asks you to add sra and srai support to

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!