Question
1. Consider the MIPS load word instruction as implemented on the datapath above: lw R2, 8(R1) // Reg[2] Circle the correct value 0 or 1
1. Consider the MIPS load word instruction as implemented on the datapath above:
lw R2, 8(R1) // Reg[2]
Circle the correct value 0 or 1 for the control signals (a-d) and circle whether each of the three muxes (e-g) selects its upper input, lower input, or don't care. For the ALU operation (h) circle one of the function names. (The Zero condition signal will be assumed to be 0.)
(a) Branch = 0 1 (e) Mux1 (upper left; output to PC) = upper, lower, don't care (b) MemRead = 0 1 (f) Mux2 (upper middle; output to Data port of Regs) = upper, lower, don't care (c) MemWrite = 0 1 (g) Mux3 (lower middle; output to bottom leg of ALU) = upper, lower, don't care (d) RegWrite = 0 1 (h) ALU operation = and, or, add, subtract, set-on-less-than, nor
Branch Add Add ALU Data Register # Register # Register # RegWrite! PCAddress Instruction Registers ALI Address Instruction memory Data memory "(x Data MemRead ControlStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started