Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Examine the difficulty of adding a proposed ss instruction to the LEGv8 instruct

ID: 3734171 • Letter: E

Question

Examine the difficulty of adding a proposed ss instruction to the LEGv8 instruction set, which works as follows: Mem [Reg [Rd] ] Reg [Rn]+immediate; (20 pts) 3. Rd, Rn, #im mediate (Store sum) Which new functional blocks (if any) do we need for this instruction? (4 pts) Which existing functional blocks (if any) require modification? (4 pts) What new datapaths do we need (if any) to support this instruction? (4 pts) What new control unit signals (if any) do we need for this instruction? (4 pts) Modify the complete control and datapath Figure to demonstrate the implementation a. b. c. d. e. of this new instruction. Use Figure 4.23, also shown in Chapter 4 slides, Slide 25. (4 pts)

Explanation / Answer

ANSWER:

The below indicates the instructions with the set of interpretations;

a)

i) Firstly read port in Registers basically to define read Rn and next by choosing a alternative ALU to add Rn to Rp +

Rq or Finally a third input to the actual ALU,

ii) Last step is to extend the actual ALU to perform the shifts and simultaneously adding the SLL ALU operations.

b)

i)First of all, The instruction adopts the instruction memory, both actual read ports like ALU, Registers and

the write port.

ii). After that, Make sure one of the actual register read ports have the lane

that reached immediate to the ALU, and the register write port.

d)

i)In this step, we need to focus more on a controlling of a signal which tells the Arithmetic logic unit to perform the specific task.

ii) Next, This time we need to differenciate the ALU Operations to control signals which adds the SLL modiifcation to it.

Interprepation Set:

ADDI Rs,Ra, Imm12: Reg[Rd] = Reg[Rn].

ADDS Rb, Ra, Rz: Reg[Ra] = Reg[Rs] + Reg[Rb].

B Imm26: PC = PC

B.LT Imm19: PC = PC.

BL Imm26: X30 = PC + 4 , PC = PC

BR Rd: PC = Reg[Rd].

CBZ Rt, Imm19: If (Reg[Rt] == 0) PC = PC

LDUR Rt, [Rn, #Imm9]: Reg[Rt] = Mem[Reg[Rn]

STUR Rt, [Rn, #Imm9]: Mem[Reg[Rn] +

SUBS Rd, Rn, Rm: Reg[Rd] = Reg[Rn] - Reg[Rm].

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote