Question: 1 . Modify the single - cycle RISC - V processor to implement each of the following instructions. auipc slli jalr See the RISC -
Modify the singlecycle RISCV processor to implement each of the following instructions.
auipc
slli
jalr
See the RISCV assembly language summary sheets on Canvas, inside cover of textbook for the definitions of the instructions.
List the changes that need to be made to the processors datapath andor controller.
Markup a copy of the RISCV processor diagram to indicate changes to the data path. Using colored lines to indicate changes is a good way to do this. Name any new control signals.
Modify the main decoder truth table and the ALU decoder truth table as needed to implement the instructions.
Also markup any changes to the ALU Decoder and Main Decoder Diagrams and ALU as needed.
Describe any other changes if any that are required.
Note for each instruction assume you are starting with the singlecycle processor shown at the end of this document. Do not build on the capabilities you added from the previous instruction.
ALU Decoder Truth table
begintabularccccl
hline ALUOp & funct & op funct & Instruction & ALUControl :
hline & x & x & lw sw & add
hline & x & x & beq & subtract
hline multirow & & & add & add
cline & & & sub & subtract
cline & & x & slt & set less than
cline & & x & or & or
cline & & x & and & and
hline
endtabular SingleCycle RISCV Processor Diagram ALU Diagram Main and ALU Decoder Diagrams Main Decoder Truth Table
begintabularcccccccccc
hline op & Instruct. & RegWrite & ImmSrc & ALUSrc & MemWrite & ResultSrc & Branch & ALUOp & Jump
hline & lw & & & & & & & &
hline & sw & & & & & X X & & &
hline & Rtype & & XX & & & & & &
hline & beq & & & & & X X & & &
hline & Itype & & & & & & & &
hline & jal & & & X & & & & X X &
hline
endtabular
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
