Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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.
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

MySQL/PHP Database Applications

Authors: Brad Bulger, Jay Greenspan, David Wall

2nd Edition

0764549634, 9780764549632

More Books

Students also viewed these Databases questions

Question

Where did 0.005 come from?

Answered: 1 week ago