Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

4. (8 points-Correctness) Adding an Instruction. The luigilSA (which is basically MIPS but enhanced) needs to support some instructions for the same datapath in the

image text in transcribedimage text in transcribed

4. (8 points-Correctness) Adding an Instruction. The luigilSA (which is basically MIPS but enhanced) needs to support some instructions for the same datapath in the image below). Note that this is a single-cycle CPU. PCS > Add ALU Addresult RegWrite Shift left 2 branch MemWrite Instruction (25:21) Read address Instruction [2016] Instruction 0 [31:0) Instruction Instruction (15:11) memory Read register 1 Read Read data 1 register 2 Write Read register data 2 ALUSTO Zero MemtoReg Read ALU ALU Address data result U X Write data Registers exo) RegDst Data Write memory data Instruction (15:0) 16 32 Sign- extend ALU control MemRead Instruction (5:0) ALLOP a. Assume the designers want to support the substore instruction, which is defined as substore $rd, $rs, $rt. It is represented in RTL as: M[$rs - $rt] = R[$rt] R[$rd] = R[$rs] - R[$rt] What are the values of the control signals? Put an X for all the control signals if this instruction cannot be supported by the given datapath. Control Signals (Fill the right column): Signal Value Reason RegDest RegWrite ALUOp (Fill in add/sub/xor/or/and/mul) ALUSrc 0 No immediate value MemWrite MemRead MemtoReg PCSrc Explain your

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

Professional Microsoft SQL Server 2014 Integration Services

Authors: Brian Knight, Devin Knight

1st Edition

1118850904, 9781118850909

More Books

Students also viewed these Databases questions