Question: Q 4 ) Con of data path ( IF , D / R , ALU, DM , WB . Also assume that writing into aregistethrehcalopcpkencsycnile.thAelsofi,rsatsshuamlfe
Q Con
of data path IF DR ALU, DM WB Also assume that writing into aregistethrehcalopcpkencsycnile.thAelsofi,rsatsshuamlfe tha clock cycle while reading from aregister happens ni thesecond shpalrfeodficttaken tofetch the instruction the hardware wil apply "predicted taken"predictor ie alway
takes twocycles as after the branch and flush it later ni case of misprediction. Also, assume branch
did in class.
Loop:
Iw
StSt
#I; Load from location addi
$ St
#
SW
St OSt
#
addi
StSt #
addi
St $t
#; $t initiallycontains one one
$t $zero, Loop #
SW
St$t
#
A
C
a List the readafterwrite data dependencies. As an example, x on y $ shows instruction x has d dependency oninstruction ysince it is reading register $
bAssume the stage MIPS pipelinewith no forwarding,what is the total number ofstall cycles?W si the execution time in cycles for the whole program? Showyour work.
c AssumethestageMIPSpipelinewithfull forw
si theexecution time incycles for th arding, what is the total number
e whole program?Show yourwork. of stall cycles?
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
