Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Problem 1 ( 3 0 Points ) We need to extend the above RISC - V single - cycle datapath and control block diagram to

Problem 1(30 Points)
We need to extend the above RISC-V single-cycle datapath and control block diagram to
implement the slli instruction by adding the shifter shown below. This shifter must be added
to the datapath as a separate circuit from the ALU. You will need to add a new control signal
named Shift. The slli instruction is an I-type instruction with the following format
slli rd,rs1,imm
The instruction shifts left the value in the rs1 a number of bits
equal to the 5-bit value stored in the imm field and stores that
value in register rd. The figure shows the shifter to be used.
a) Draw the extended block diagram to include the new proposed
control signal, the shifter circuit, and any needed additional
circuits. Make sure to label any added line following the same
labeling technique shown in the above block diagram.
b) Extend the "Control Unit - Instruction Decoder" table in the
lecture slides to reflect the support for the new slli instruction. Add to the table a new
column for the new Shift signal.
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_2

Step: 3

blur-text-image_3

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

More Books

Students also viewed these Databases questions