Question: Assume that on the multi - cycle data path all instructions listed below, except for the lw instruction, require 4 cycles to execute. The lw
Assume that on the multicycle data path all instructions listed below, except for the lw instruction, require cycles to execute. The lw instruction takes cycles on the multicycle data path. Consider the following instruction sequence:
lui $x
ori $ $
lui $xC
lw $$
addu $ $ $
lw $$
addiu $ $
addu $ $ $
nop
sw $$
a How many nanoseconds will this instruction sequence take to execute on the multicycle data path if the clock cycle time is nanoseconds?
b How many nanoseconds will this instruction sequence take to execute on our stage MIPS pipelined system if the clock cycle time is nanoseconds? Assume that the pipelined system includes a data hazard unit as well as a data forwarding unit.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
