Question: Give the following datapath in each part, what will be the signal value in ( i ) , ( ii ) , ( iii )
Give the following datapath in each part, what will be the signal value in iiiiii and
iv Please specify the answers according to the BUS width. No CREDIT will be given if
the answer is different BUS width.
a add $$$ assume $ and $ FFF
b beq $$ assume $$
xAA c lw $$ assume $$
The following MIPS assembly code is being executed on a singlecycle process as shown in the figure below. a During the sixth time cycle of processing, which register will be read and which
register will be written?
b During the sixth time cycle of processing what is the value of the second input of the
ALU stage?
c At the end of the sixth time cycle of processing, what are the values of registers, St
$ and $
Assume a newly designed microprocessor has pipeline stages, and it is perfectly
pipelined. Answer the following questions:
a How much speedup the new processor will achieve compared to the non
pipelined processor?
b The new processor has pipeline stages, and each stages takes to complete.
When the following MIPS assembly program in executed, how much faster is the
new pipelined processor against a nonpipelined processor? Assume the non
pipelined processor requires to complete instruction. Assume the below instructions are being executed in a singlecycle processor, what
would be the following control signals RegDst ALUSre, MemtoReg, Branch, Jump,
ALU Control
a sub $$$
b beq $$ Target
c$$
Consider the following MIPS assembly program running in a stage pipeline processor
and answer the following questions:
a List all the data hazards, specify the type.
b Assume that only "nop" instruction can be added to resolve the data hazards found in part
a How many "nop" instructions are needed?
c Draw pipeline diagram with the hardware methods introduce in this course to resolve the
data hazard found in part a
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
