Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Consider the following sequence of instructions. 1 addi s 2 , s 2 , 1 2 add s 6 , s 1 , s 3
Consider the following sequence of instructions.
addi
add
add
a Determine the clock cycle at which each of the instructions in the sequence given above
would be completed, assuming the stage pipeline without forwarding as covered in
class, and numbering the clock cycle at which the first of the instructions is fetched as
clock cycle Assume that if one instruction reads a register during the same clock
cycle as another instruction is writing it the new value will be read. Do not reorder
the instructions. Instructions are fetched and executed exactly in the order given,
with the pipeline stalling if necessary
b Repeat part a but now assume that the pipeline does use forwarding.
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