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

Now that you have a new diagram with multiplexors, you will be focusing on elabo

ID: 3910599 • Letter: N

Question

Now that you have a new diagram with multiplexors, you will be focusing on elaborating on each section of the overview diagram to account for different parts of the execution of the machine for different instructions. To make sure that you understand the overview diagram, answer the following questions with respect to it.

a) What bits of the instruction will be sent to the second adder in the circuit computing the new PC – why?

b) What bits of the instruction will be going into each of the Register # inputs of the Register file in the center of the machine?

c) For what kind of instruction will the output of the data memory be going into the input of the register file? Explain.

The modified diagram is given below Add rc MemToReg Select Data ?Register # Register # -Register # Address egisterslag ource ?ALU4.?A hess PCAddress Instruction Data memory Instruction memory Data

Explanation / Answer

Second adder will receive incremented PC value along with branch offser value. This because in branch instruction PC value is updated with target address and target address is calculated by adding branch offset with current PC value.

B) We will send register number of rs, rt, rd from instruction. The rs, rt are input register number from which value is taken for ALU operation and rd is destination register to which result is stored.

C) For Load(lw) instruction value of data memory will be input of register file.

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