Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
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