DPCO Unit 5 SEM 3
DPCO Unit 5 SEM 3
ATDS
Coganistion Yeas L
EX fentve og xeengue
SlsuR
used
Sed n Cache mem uged in mio momsty
Deshe USB
Unyensal serial Bus Cus8 suhheg data
ran&fes ratg uhto 480 mbPS, as mary
21 doviCes CenneckA to a
ith
SPngla
as
thLsuh -ho8Contholles
Srecal hus daviceg in a tree- Gke Mare
Houw
man totad aue Hausd ha doect- mafHed
tn 1 kb o daa acle
and 4 (eA ocks, a3tuumuga
No oweds n a 8leck 4 32-Ltades
ANO
owAS LG = los24= 2
CachommBy S Ze 16kB
Cachamamy Sze
. oe wedgha Blar. +K
-
1 hits3
he hut 9neuo: -
motur
A880caie mothng Rly30cale
ODitect- mainechnue. et aggsealne
Blodk w
Reld
a BlockR
is Sel Apeuminag tha adhe fesiLeq an ohich
hs block must be steud.
Lohich
KThase SiB ae usel to ?Asrdidg af S2b
hok ane Mahtad ito the ache
wnen meme acassedl, Tb+ Cacha block Fell lanisea
aiCuasn blck lotdfon to acha
as3otiatad wth tag bis
wth that Cache localion.
*IEHj match, thoan the dasita wad
Cache
2a tn that blake
THhL ås no match, than Ahe block
Contafning Heveua
Ad must frst be read
fom main mams cund lansdefat
Maun momEl Cacke
Block o
CadhemameA BloCk
glech0
Block
Block63
Block64
Bleck b5
Glocs11L
lock 128|
lock 121k-
. ck OS
AAAartaR
tagto nhlarnert and STmele
DSGdiantages
*Not Heefbe
Kfahlaamant algeithon as AVRa
2 esocialuue metung
Ofully as90Colie moahu.
A main mams blecR. Can be Plocad tnto any acha
lock fostteon
memsPJ aAdA09g hag
vo Bloc feld
n 2eldg ed
wed and
12 4
Ta
main memety addhag
Togw|
Hgh des n bits ao
ach bleck of ache if dasivtdemhasad to tag bits &
block 3
This echa'que Mes Comhlat eenderm03ent
acha ocakion
a thch td Placa the mans n ChBosng h
eme
Adankag28 1 Saca Con be uge Bck.
Blck.
esSCRert
Lves sud readom 2n Chaesing a
St an be used ache Locatton
new Block nalacos anefiente
extsing block 4 €ocha g
DRsadwasdage31 tu
*AA 128 tag8 aa Satche tosfnd
plocks dn tha cacha (@) n8t
whethan a given
gvenn
Set-Asspctatne mhng
oCombinaion of bot drect and agsatr
magping. eloc of ache are gtsuhol
trto se
main mameublock 0,b4128, 4032 Mat MtD anu
Dolocks of Jet o
main mimet lblock ,65, 129, . .4 033 Can map htoan
tuo blocks of setand SO
So on
t salocd two wy et a39oc?akfve ache2
ecaus each blods om main memey hag tuwechelea|
6et 6lock 9tMacomant
Cume AddIs8 has3 feldg.
set feld (6);- t nmdsbits to dodesmine dosfre
block from b4
TgeluL C SetToa ase now 64 Rals
a bAck beleng to The' + tag d'el uged to
atCaulan Paga from b4 2903 hi
uhd ield C) - This el Selects ong
blck ds inal s
PLock O
Gockbela
SetOo
Block Rago
to Tago
BloCkb3
ek
3ds o Cadhe meME Blockb
TEBck0 Block &S Page
mm
Blcck
Tag
BLock
121S
T
ai mam4addoa_
. Bleck.4OTS
.
ABNOndage
Conterlien rollams Selre
9caduncod
Cost
to imnlemont
simlbsn
(phat virtual datall alout
memes? EXPlan h
Conto Pa9erumlbe
vstual armely Chysicalageumbe)
AddLLs rame
TrcLnslaU olke
A&Mantage rhygcal adses3
Main meerU
n
gesn of vrtual Mama
Pgtams Can e Ste°tud
tabe roglarm naed nat e in mame-
xain
block
n dotal th DmAControlles
eth Suitabl
&ogtarn i
Drec mmsl accosg CpMA) Can
tran&n the
dota dinectty betuen meme anc o
devices,
ahes than ung CPU
ORHaion takeg flace Bei PmA
dota tranebes
Ao a olwus81
-
Se1The CPU Sel u davie and than
A Sig
Add
OrA
Tntena
elaDs Adro23 Rgste
Contho
Logkc
w wR word Codrt Rogistei
8R
eusRs
Control Regstes
PmA Roguost
DMAAcknDyklge
toto device
DmA Codtro||e
is usedto tonsf langR
acuMo9 tho bus usng data.
Cy cle Stsaling mede
DmA
DMA acquia3 th bu3,
tran&jeh the b
Nwe and Ahen alngudshes tha
bus
CPU Can Shate thebus duung DmA
ranSfg
what Hhe vck DMA Corolles and d
y'iOS ovehal eschanmana af The
A DmA Cortrolle7
used to lonnect aahgh- Sreo
DmA is
retetR tho Conhulon Bus
to
*DMA Contro) handes data trangfe belan
fgh srea natwstk and Brnhulir ysem
Also sed to rarafe data betwan the
diss Controlb
Phocess.e and Ask wfth the hel eß
Tha
data engfesi
Gcan also fetkeLm memsyto omaz
XA DmA davfca that te Rog eueN the Job of
Cpu duing a trar&fN,
Sg&em Bug
DPs
ueosl
OHRSCACH.
e ante of pMA Corcdroles
a mA daa trasaie
wh a ocesge6s6 heos Some doia om fbt dip
ingak
Coumand wda to agistes
SonlS a Cond
Sciits et
flosry disk olley
SPecstc } pcR Sedei the dek.
an
thdste sametme, Pho ce23E luods DmA dota
At
oonke and adltas8 togiste.
Oaia Cooner> is londad e be
w'th
Ag3t> s lsadod cote Stat ng addtas3
* It seads data, sends DmA reuast. wfthun
un, Sends HoLD HoNAA to w0SoN actaun
CenAro)fbus
Then OceggEN Sends HLDA Hold Acknouledge
to DmA
ASte transgatua all bt let Serls
DMA Contvo
EOP CEnd of ocess) to nhut et fleth disk.
Interut l sent to el ProcessE Anat, bleck
&-dada 3eqelid hag bean noadfrom dis k to a kuko
memo
Ara
Data
i.
og gnad to
to amemgr
oRes ctiong that taRe laa for To
egammed
SAPCP sirst dhecks Status af dskCà) each z/0
cove n3eqUACE This chocg aled
.
olling
uu ollug, ocessoy Ccant exeCUte othan
instructons fn SeweNce .
Sle2
TA disr a net ready to be read or
witten,
then cPo leoPs back and chechs statug Con4nuc
votl disk reada. This ajond toas buy-u
| when
the dsk 3 naly 9aad,
Cf data is made betuuan ds k thanatrangj
CPU
SeP
CPu chock3 to ee ie th@a 3 ano the omUia
reuagt for dsS. F thete «s deuAst, then a
the rocesg Tefeats, chouse CP Cortinuag cwithanehos
tag
ANantage.i
OSimele to1mPlement
Ves (+tle has91dusare Suhet-
Disadvautage
CPU
kest
waste 4ima
busg dos Poling doviceg
thus
.e) busg aft af CPU
4gh Proty
dovig ae not choche!.
tho Cfo s inshed wth t3 Cuent o
|uhih mat houwe a lew tak
Pnort
Sails Peue
T Cache dfuls Ssslem
utage the MalifedA data will be lest Becaug
al mhetanc ragieM data am Cache
Lest
OCcuUs to a locatin hat s net fre220
**toite
n the Cache (unie miSS) we use two oPttern3
Owite localion
wwte ATound.
Owise ALocaVeea
nwite allocatien data is wadocd om tha
Mmeyînto Cache and han uhdaled
gendally ugad usPth wite back because
i
cssas to bing dada Am emay to acha an
udaln data in both Cache and main m20mEH
wiee threugh hn ssewth write Allaaki
(2) wRie AxDurd
Data disecty wtten/ uheatd to main
mmeig Rthst dituling cche 6
sugad whan ha data n8t immellalo
ee asa
DfsCuss about Progtammal T/o an ntestueet
DMVen Tlo ag3ialad wfth Comhulby
Froamno o olna
CPU olls each ovice to see
Couwica tnaas
Pewes
(Enie
No Disk
Teacd
HCS
en data drom MemeYo|
aisk (wite) yrom Bkto
mame (read)
Done
Cotino
hnestutt
Ms jfe,
-
Diven
CAU
o
mods seukung
So
doea net acceg3
device unttl a
dees nat get Caught-uh
Tthe doyice yequastS SeSuice dhueugha
The n bgy n
eaut Ke that goes divedty to cPu. Specal fnkeaup-
Rexaiong that+ take Place sor
a adolleus8 1 intenuht doziven
UO
oninue
wite
wi seLNte D
oh0talkong (auind Oub baPoce39)|
her aeuftad y a fodkhoial Aouce Careciod to t
SeaACe 6eationg ca9(od &uk by ProCesgen wer
* M MeRtSygiemg
riorieg ae a3egheA to
he nueoouuht, eitheby the ro cesuei by
PTC ren pharal the
9tesu Contolle
Doaw and descibe about ha Mmev hienas
n a i cal Cemhutio Sy8tesm
hienaNChy
mems
evels a a Luhical
hietastcha Congs o6 multHP le
le
XAmameu SPeods and Si23
8meme th dibtert tomafd
Thase multiple levels e mamoly us urel
muilk gSlem efient
Mem meme BU
H
T/o douice3)
Sbobtt 64AB TB
S 25D Ps oo mg
m3
The goal is to rovidla memey sustem at lsu
oSt SPeac a Sat ag the sfagten aual,
hete
*ThONR 3Rmasuy
Ga tecknetogieg eed in lul
ameu hieanchog .
ODRA M (min mimet)
(2) SRAM cha MamaU
3magnetic Disk.
Man rOMEUA
mOmeu undt that Cemminicala dinetly uh|
CRU2e3RA
Au ias4 memeyi-
Deyiceg thot haide bacRuu Sts}zagso
e magnetic tahas and
rayaso Asks
ged dor Stonrg s8tem
ag daka fileg and
roFrans
othobackun inDumaTisM"
29-
e enanch Deg?gn Fagt
AEXRngVe
ArNlovel O)
Rogist
mome evel
/ acho
sRm)
Main momeU
CDRA M)
Small
ess
Hhe bottem of- korahch- thee ase Selondaru
nd Dane Storag momouo3 such as mgneic disks and|
eetun th2 9cogistesu and SeConda Stoag
tha othen demg
bekusean he twD
e Mema that bridge_the Fal
EXfensive mimotj tend to be Closen to
tre CPU
Preraa VersedARrovek|
Tsuithga 24o
h. Kegina