Question
Assume an instruction word given as 00010100010000110000000000100001? a)What is the instruction? [please use all lowercase letters. For example, in case of addition instruction only write
Assume an instruction word given as 00010100010000110000000000100001?
a)What is the instruction? [please use all lowercase letters. For example, in case of addition instruction only write add] b)What is the type of the instruction? [The answer should be a single lowercase letter]
C)What will be the selector bit value on the MUX connected to the register file after fetch stage? [only write the digit or if no control signal is necessary or applicable only write x]
d) What will be the ALUOp control bits for the given instruction? [Hints. please write the digits without any space in between]
e)What will be the output of ALU Control for the given instruction? [Hints. please write the digits without any space in between]
f)What is the output of the ALU output Zero? [Hints. please write the digits without any space in between]
g)What will be the value stored in destination data memory location?[Hints. please write the MSB two digits without any space in between if applicable or else write x]
h) What will be the control bit for control signal 'Branch'?[Hints. only write the digit or if no control signal is applicable only write x]
Consider the single cycle datapath given below. Assume that the opcodes for Lw,Sw,Bne are 35, 43 and 5 respectvely. Also, use decimal 64 as the base address in data memory address calculations and the initial value PC will generate is decimal 28. Consider data memory addresses 100, 104, 108, 112 store decimal value 10,11,12,13 respectively. Instruction (25-0) Shift Jump address [31-0] left 2) 26 28 PC + 4 [31-28) Add M 4 - )Add ALU result Shift left 2 RegDst Jump Branch MemRead MemtoReg Instruction (31-26] Control ALUOP MemWrite ALUSC RegWrite Instruction [25-21) Read PC Read address register 1 Read Instruction [20-16] Zero Read data 1 register 2 Write Read Instruction [31-0] Instruction memory >ALU ALU M Instruction (15-11) Read result Address data register data 2 M u Ex- Write data Registers Write Data data memory Instruction [15-0) 16 32 Sign- extend ALU control Instruction (5-0)Step 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