Answered step by step
Verified Expert Solution
Question
1 Approved Answer
In this exercise we examine in detail how an instruction is executed in a single cycle datapath. Problems in this exercise refer to a clock
In this exercise we examine in detail how an instruction is executed in a single cycle datapath. Problems in this exercise refer to a clock cycle in which the processor answers in decimal unless otherwise specified.
Assume that data memory is all zeros and that the processor's registers have the following values at the beginning of the cycle in which the above instruction word is fetched:
tableRRRRRRRRRR
a What is the MIPS assembly instruction?
b What are the outputs of the signextend and the "Shift left for this instruction word?c What are the values of the ALU control unit's inputs for this instruction?
d What is the new PC address after this instruction is executed?
e For each Mux, show the values of its data output during the execution of this instruction
and these register values.
RegDst:
MemtoR
Jump:
ALUSrc:
Branch:
f For the ALU and the two add units, what are their data input values?
ALU:
ALU:
AddPC:
AddPC:
AddBranch:
AddBranch:
g What are the values of all inputs for the "Registers" unit?
ReadReg:
ReadReg:
WriteReg:
WriteData:Question Points In this exercise we examine in detail how an instruction is executed in a single cycle datapath. Problems in this exercise refer to a clock cycle in which the processor answers in decimal unless otherwise specified.
Assume that data memory is all zeros and that the processor's registers have the following values at the beginning of the cycle in which the above instruction word is fetched:
tableRRRRRRRRRR
a What is the MIPS assembly instruction?
b What are the outputs of the signextend and the "Shift left for this instruction word?Question Points In this exercise we examine in detail how an instruction is executed in a single cycle datapath. Problems in this exercise refer to a clock cycle in which the processor fetches the following instruction word: Provide all answers in decimal unless otherwise specified.
Assume that data memory is all zeros and that the processor's registers have the following values at the beginning of the cycle in which the above instruction word is fetched:
tableRRRRRRRRRR
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