NaMe: RHUL H JaDVANI
uSN ENGaacsD|24
CLASS : CSE - 4B
DATE : ot|D6/a0a4
SuBJECT: COA(CoMPUTER D RGANIS4TI DN AND ARCH TECTURE)
ASS14NMENT No :0a
MDDUAE -}
S-stage pipelined
advontaga inplmeutg
4cguts
AGtes 4u wutructiou
Ste ton Aqistes to
'pipeib
4o ilustrate yr pont. ase,
Tt mchcns the esnot let We
wineas cPU uti isotiou and do
CPU be ldle
Aedules te msthuction lateney
total trme takeu to conuplete
Tt neducu
Procces ALU instuetion
petais of_seqiter to gut memDy based
mstuctow from
lI): Te heticves the
Fetcen
devedled,tie
mstmetwwmtere IR u
Depde CID): The
nitpts tu mstctvow k gtuesateu cndsol
Lontrol wit w eopupcte.
signals
ignal based segistus are identr<ied.
tiou
he soUsee e dectaina
put me the oprafims based bu te
Exe te Cex): ALU
ctiow, H takes va ues tom sDue Acsule.
imst 4pnoduee' tee
Pypm opeaatms
Memey Access: hee acctbL mvowed
Aqistu- to-ncgistu a
bub bie etage
vOAte Back: he ncsuCt poclucecd
baRto He destinatiow istea.
$a) Dù uas the sigvnificauee a wsing sin signals fo*
A) The six sign als nsed ase
WA0He - enace: detes mnee ohethes oAIte opeatto to a
scqita slould oewa ohese data should
vonite-sele ct: speufiu ue aegite
written
Rend seltt Read &eleet a : peteuminee tEe Ngisies foonm
owee the dat shoulol be ead
dba 1 & Reod daba a: Represeu ta 4ee out put
Reod
casaespoolina to Read select | &2, lre
AeguteAs
aeqitsLaaies spe cified
aficanee
Emabtes simulkoneous scad ppeaaton fon a nis1s
eaui ed u opeAatiov%
oite
AUovos l oite open atiow to update tte
Ema dato tonaisten and synlonisrtion oit
cla patt
8) E va uate the efficayot udila toad
desig
4) A sin gle
an dabapath
imsfri. desigr
sble clocs ple
Advan togs clack yles asent sppored
s,srmple as muttiple
-Tt
to be handled. stiaigldtforas d,
&
-The design i snpte
imstitivn eKeCLteL
wingte
nge clock oyele
-Evmg as slooert
Dis a don tegc -yclee
clock acconordated
ciet use ok
- Tr cffi mut be
Msteeon also clock specd k Les«
Tt as o cimuted yes connplex instuctpns
Hme os exeuten clock eyelee.
(ong
Mone pooes Lons unption ue to long
stoe
holol g00d o Load oand
Jhe abeve noists aloo
nstctions
yoith multiyele dato patl
CorvpanisiDn as insteton
shett clock ycles in mutti ycle,datopat
n 'scp erate stages
s exe utedefficiey Ui60ughput kabo aow
Ineseased aud msteHnt
-
simmpie kpreodiekble
8ingle cyde dotapat
ge, CloLk ape ed lpouoes
clock
but sus6Lse to ubiuge olatapath is.mose pae7eh
censUmp bion. muth-ycied
opfinmsd persmanee, balanee tnoug
able due to nchs of simgle
pub ad it LOves al teie dáaob
ycte dodo potl appontln.
g4)Avalyze t e ha o(l Lode Hor bol dato B
&
I|: oD: PI,0, RR
teuoanding
tai AtD: R3, R, Rt
Ta :5TD: R3,4, Ra
Wte
CeA W) dato tazad oc CuA s tie innstmipa
Ta scads ee in core ct Va tue oh PI as uce
Value Ok R o
is not yet oaiten bck wto the
dator Hazd occuss
e
the osmes vae of Rz ic
0st ..
sthnetwal tagaAd
st Tnstnctloy
MEn
EX MEM OB
13
EX MEM
MEM
stuctsal Haznd beoeeu
T) is alheady wh tsiee to
tle Memony and Ty thiu
fetce tie
to sthuctusol #A7nd holt can be Uavpioled
by n bubbley stoll
85) Given tthe s tnenee o7 nsthuct ion, sese0stbo kraatil
he inste ens. As6ulhie jol. la
to scacolule
4DD takes d Cle MUs tohe t0 yces k SuB takes
singiefwcttenal uut for
eacl opeonto AegistA asenot ónitew trl end ot
exeuto, al tre below wsthttons
TOCA
Tavce the sscOseo0and ti
eonplete exetisn
Ra
Rk YESYES R ADD
Waite R7
kesulE
Ro ADD
!7
5 Ps
onplete
Exetion
Re)
Ru MVLTI
Rs
34
4eadstait- R6
Ry
ADD
Opuand ADD
6
ue yBus
NO NO O
i'ss
FU
status
unit
Funetional
Nane
Tinue stafus
Kesut
Kegisfen
DIVIDE
ADD
status
Ra Re
cton
ctio
Instsu
st cloch
ADD
MUh ADD
Tm
4)
MODUhE- 5
censtvast v tual and cache
46) Compane oand
Cace Vwtual
ded data - Brted pgtao
and wsutens
- Muc s a l s teran - MCa
main mmeg
VOy fat access time, w milliseLond
typi tay nanosecs
-Handwase managd
thansp aSut to nonaged
Contat
hyowes
te
bott basdwe l sottuoae k has slowes accesk
due to die tateny
By Defme cach ut, cache m'ss and is hate w tee
Lontext D7 cacere Memey
4) e Cache ttt : Tt ocwns oten cpu Acgsteus dat
from
m
tast actival pocss bjnee CPu can acces% tie
dscety ow cacle. (acae it is dahable n
Caclie miss: Pt# ocus ohen CPu negistes data fm
memenycache docsnot contaus t copy e ib. fw eus
Case cpu nuet 5etaine e data fom mam memoy
Longer acc
ACCess tine
and loos enosmance cOmpared to cacaelets
Miss Rot! A69 knoo s tee Cacuemiss hatto, t s ar
measuse
dota
ok cach dividing
mi'su by totat munnbes o7 menesy heauee ts -
A
hotniving olata , leadin to bettea ppmancs
s9ompaeGivw: lacee acciss
cacle eit na tio
Man
time:Sns
Calucote
4MAT
men Main
Q0ms trme acces
tne acces (ache
dms
Dy men man 40r time access
teuate CaQ0ns tine
i accesL
mme acceLs the a Tk
0:9. o7
hatre at a hatatSuppKe g4)
woHE A4stemcOnputeA Lhave
a
LI-0.95)x
45 45 =
+xs0.AMAT.4s
AMAg1
4Sns Tmain Sn uwe Tea
ne access
lio) eie (a -CI
te t acces< Cacae yatox Cache
Hrt
avsa 1he A)
levee taLle .
sta l yle pu
ea instu ctih
yelee
Hit ime tov cache = l
lo00
4MAT
xAMAT
) Grplaw tie fuwdancutal caceoptmieaHe tclniue
tenputs yln
4) Cacene btot kiy A oknoon as toop bloc
Auo it iyoWe
oividing le omays ieto sualla block iot
LaHCah
Cacac tateue
micc inpsovee apabal locatityond Acducea
Aoop leono tCing zt invo wee apeatng koop boolair to mduce
Loopiveshcad .& Lnhease computatons pe7osmed or4lur
ealb itesati. Bhi pelps iup sove spatác Locatty bt
cuse os data in calae Acdu ing alt Kiapong
e bnig
Paefeta ingiTt auticlpatee tutua mene acceeeCPu
aata ttotaene bepe
Cache- Coneiou data styuctuse, peeiqmng da ta &{uofusc
mind tar
impoove caclt wtiigatiow.
kotuoase datn layout optimicatien opfimisinq te tayout o
olatu w meayy bo impove tacee mumos kocalety
ponaie gaa.
Compiler opfrnas atiei modun tonples cnuptoy vavpue
optimisontens to
ieop than emao', ode motie &acgistea allo caton
coptt 6yetems. Weat is the meed vË tyanclatvow
Look-side buttts Explam uoite a meat oliagnam
wauggorneut tecluigue
teuded Addseas Spaue: viituaC memay atloeapplica-tiow
to we mo Memoa peysi cay availa lole by
Isolatio and Paotction la poesA hae it ouo
VAtual addec sbae wlih ensee ot oue pOceA
paidig
abstaack
Siplifid Menoy Mageneut: istual menoy
4le
Pganaigxecbiot inpsoning
Need for Thanslatey hook -Aside Buffs (THB):
épeed up addsetransalation! mvowee acceRsmA
page table, vouc cau be cDous. Tt pndee fatu
tue
ioy othausalate iuto puyLicau aodsess.
Peduce access ed
thans latiew, B seduces ee mee d 7a access tte
Fage tabe, nducina tateny
osrce CPUpesosmanee! Pastu anelato impovu
ovsal epu paçomae,incasig efficitniy
THB
Pagt Puysicat
Ta ole
TH8 Mise usical
Addaes46 a ddae