0 ratings0% found this document useful (0 votes) 24 views11 pagesDLCD Assignment 4 Solution
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content,
claim it here.
Available Formats
Download as PDF or read online on Scribd
Assignment I) OLED]
\ DeCine DM. Explain is Need. ¢ xphoin with block Siam
woniting of a DMA Contorg tte.
U
h
2 DMA dined Memory ACCOM) it a rmcthod Hoa oGowus hasduvare
Subsystems usithin dk Computor to or (cos the sytem pemary
~ Voeetly, by passing the CPU-TE enable Inigh- speed dada toanef
between memory and periphenald, Such af hand dst ved, graphic Cos
and network adaptor, Without needling cordtum CPU intervention,
> Nee) fon DMA t-
g Etrcteny + Of fbreds the CPU by erating Sinect dad Enanifors
allowing \4 40 perfor other tayke Sirutan covaly.
© Speed s- Facibitaty faster bar traneton natu, oJ device can
Communicate taety vith memory Dede) Hran Oey on
CRU Control,
> Biloew Diegsam of « DMA Conl-nollens-slim Danson Access,
) ‘
| | | cl Memony (RAM)
Hoe
if les —
pin (abe
hea) Corbet
ANwing
Seteet
RO WR Aun Data
; oa
“> Figube shore blak Bagram of 0 bY peal ae
Unik Comarnt caer with the MP via the Yok be and Control Lind.
2 the negistog in the DMA ode cubed by the MP Hog te adie bul by
rating Yeo OS CMA soled) an) RS Clapton colect)inpudsy The ROCA) and
WR unite) inputs are bidinect onal
> hen the ba qhart (etn) ined -b 0, 4he MP can Lammunicate witr sre DMA
rigiseos Wrough the lata hut to stad Prom O write to the D/A rgisters
When Gln=d, the procmen Joos not have gontnal burr the “system buwa ov
the DMA Can commynicade deity VI te pes spect hyrry an
AN in ie addnad hut ard Attivading a sae ice
7 "The DMA Controller had stare Sropittent --
© AS koe ng istey
© WO comt agistor
© control oegisto”D> Feadusieg of an Inpuk= Output Proce on t=
© Speclati'ced Markie ¢ An 10p ot equipped with spectabized honduras,
that Sy optimized Pon handing npr ouput byradiont. This hardware
Includes infer ouput ports, Oma Contoroldypis, and intoorupl lortoMeg,
e@ Dm tagalelliy & AN 100 har tte Apatibiry do poor Dine Meron
ACEC D IA) cporadion’y DAMA allruy deta b be transhone) divatly
lw prlPhoat device and Meany Without a poogh the Cy
Proreby free op the CPU Ay other tewke.
> Aopbiiation of 110 procertons
© Dats Acquistion Systems’ T/0 procesgasy can by used in ded deavicttion
SYStEME 40 alguisye anj POCO dota from VeriOWl contort and tppucd
devices. The YO preceio can Rane highspeed dats stourator ond
© PEF Sad Lime Prcetbina of she acayined adtae
© Toduatniad Consol Systemes. TO procorsoe can be uged in FridugtarPort
tontrdl, Syste 0 ToLorfae win Virioug contsrol Seview onl censerl. The.
Vo procexsen can pouise proie ting Gnd control Shralt and can algo
Polen” bo cap Peclitirg of Ae input dada,
=) Advantogiy a6 Ta put- Outgct Proceso
o The HO device can Soret y accer, tne mesn Perony Withouy Ye inter yay
OF the Pocettor in 1/0 prociyen ~ basa Systeme,
o Lt SD used bp adloxons she Problemy tat anise ih the didnock memory
© Reaver) Porvcetson woskLoad t- Lith an Yo proce a, -the main proc eeon
doesn't have ty dead wh Vo operations, allowing Hb focud ‘on other
AMWite Tas alts fp moe eb ficient use of tne Pocwmi'e autowice
AP Can Dead bo Coster overnell. SyS+o porfeosmance.Assignment 4(b) LDL ld |
81 Eartoin row marory management unite proutig merrory Protedien
Te Prmany Monagemest nit ( snr) proifdes merany vrotedion
by contsrollt how PAM accor phystaul memory, Hones how it
ALtomplishes +higs
* Arts Toranglations- the Memory Managem ont Unit (MMU)
traritoy Logical adilrerny Pacm programe te prysical a\soreTs0s y
: polosing bach Programs Momory spacl«
ALCOR Primfssiong ¢- The MMU assigns porriss ong Lov, vite»
Qxuecwte). to cach meneny seign , blooxing una thetic) Opratrore
And en hancing seeusity,
Porividege Levebt s- The MMU prtsree prividye Devt Cuwor mode
And Veundh mo¥) fo guint Ub uror pegnams Paror Acconcing «sore Hive
Speem memasy. .
Faulk Handling s- TF 0 Prognar tri to acco Unauthorised meh OY,
Fhe PMU Gerorackes an in Lvorupe ot fault suth os Sigrmentation fault,
Storing he Atcess,
e Segmentation dnd aging The MMU organize’ meray into segments
1 Pag, with provection Sings fay each) enaysing controlled and
Sane ACCS Utthin alLocoted memory Hegiont.>» Neline - sid
‘ ‘ i Wanadoo) th a vi
(a) Vin toal ark|oexde- Se onesie fe. ate romy,
> The Cpy wa viral adancies, which are raged to physiol merry
by the Mann, Managemen vinit Lamy). This 0 bebora ction allo! Progrars
to have (Soloted and cortinoud natren) spactl
(b) Loyal addon A Legicad adtyos F-the addons genoot® ty +t
CRU during a programe exe ution.
Te Syrers with visdval memory Dopiol addnesty aoe ne same 48
Vinkend Adin. They ave raged to plysial adinergns YMMU
CED physi Aro: A thysizal alle dhtho ach a Jdoye tothe
Compudo's physi'eal merry (RAI
7 Ale LgansSatfon bj she MMV, a vou an Angtal adinog 2 conpted into
G emgsiad Addie, cyectfyig Ire crak Mimory location whore date
A Stood,
C8) Rage Tables A. page a¥e 3 4 ota sd>euchie used $y" the MMV to
Map vinhel addneasey to Physrad cad 038,
> Th Lodolys entnte Co cach Vidhad (440 incdudiy infay mation abowt
iss Corn epontig mnysiead fage and qccorg Wirmissiom( Dice ore awrri?,
Oretute) thie erabied atte managtmnet ard protection of Mimory
19 Synemns ot Visca nemong,.) , 7
N3 with élock Dingaam, ei plain wanking Of an ANocrah ye merany,
‘ U
Ampurnent rayicean(A)
Key region ()
nahh negistr
Tnput
Associative tnemody
oe an) lgic
Read 6
waite Mm wer
1 bi ts POA word
Ee
putt
# Asgumert Reatstin( A) + Te contale, te worl to be Searched.
Key Registor(K)?- This spniPter which park of the apigumant werd
Weeds 4 be compantd with words in memarye Fall
a IP Hgister are 1» he erie war) shoud d
© lorypaae), Elle . i r
real Ing se bite having will be
© Assodibive meropy anrey Te roan the areric which ow to be cogonth
With the artgum ot Wore
© Madch Reister(/4)s- ALEX sne matching Pec s the bik cesnsponding 0
pee words jn makdh oyéttey ane Sct to 1Wonk hy of Asoctalive Meme
(
l 1 , inh Uny db provided.
® Tnput Maye The op ration “begiry when an ingul Key 4
\
‘ pct
> Parraltel seascht= Tho input Kew) J} sont Lo the By asimy|y whith Compeons i
ageinit all's tod says simubtancousf
~ Maken Detection + HFA mals sp Sound, the Coperasponding indee in the
Stooge Asvay 3 Lienti Pied
> "Date tetsu: he data at the methed indore si Sebicued Pan
Hae Stonaae Asay,
> Opt Data tho MNetsieved Yala ie sem ay the oudpuc-
SM Exqloio Gacke with se~adhed ative amy didech Mmopping.
¥ (ae memory vi a small, high =speod Storage win Loaded Clase fo
TAC CPU that cone Prayerdly ateersed dab wo nedvce looker uy and
UIOVE PrOLONng cpa. Gute vash dPPernd Pa ppg tabniqud
bo determing pow doda from maura meray BY Sted “and Setnicve )y
TWO Common Levming axe Whock fmaping and sob abort ative Papping
> Died Mapping Th Woe Pap ping, €AK bloc of ain pyimo
é Ant bathe Dire. Me cathe 3 dyive
Ki Js diviled
IMDM Kile Dines (op lots), and each Ding cy hol
block of data, a ge
tae
\e1The memory Addnes dive) nb dee parte,
(
4 Ne de bee f merrony,
*Toqy toentlier the block ol g
ye cd,
Inder s Sprifien He Cathe ire slot) who the blotk Ehoud) be ”
@olh set Theat the sprite bake within the Bock,
i nv Lyn wa tod bloty
# The inder Bwyd bo dederming Whip Cte Mire bo chick Fara otk,
vail tor fas cheexe it ste dada 19 that bine OM Upeds to he Jug uttte bio,
> cb- Asso Ciative Mapping +- Tn a
Prey aT ata [oa
Tre Doors Ads It Wile roto tnge Parts
© Tan, - Teentifiog fr leuk of minor.
¢ St -Iner; — Specitia waih set to eek
© Offers Indiary ne Spatie bite Within the block
© the SO inden ddemby which sot of Dit tp Stas Cor tne dam Sag
and He ta, cheuks th Mada mang Ube within We tt Mahe te
Ait qyias eg block, ;5 Waite noty on ~
(a) cache momary
Cb) visttal memrony
(a’) Cathe memory a Small, high Specs) Storage ova Sn ete) clo to
the Cpy Hot Lerposrnily helas Fog uerstly a-cceried doc cae
WSkrvchoy Prom Hre Mein Memaseyl koi). Dot Pimsy sole bt
MULE Jota aeeert Ling onflanci oinpill Syston pon formant
by aMow i awe CU to oelaritye dod Mone quick than
O.CAing Slow LAM, Osan) into 2eviy th, Ly13)
with 14 being we farsear and Srmallst , cashe morrary jmprouy
Cv AFteney Mough quick dats brie paying acaucial
Ade in modern Lompustiea Systems,
Cb) Virrhall mares i a MIM menagtmot Xabniyve Hak-otewha
Computte to use Prore Peary than i phgsicolly cull by ea
abi an abst oadkyn ofa Saryor logical adiserd spa? Te ide
MUO Inbe fiad — see Slots cailed Pages, which are rape) to
Phssiad rner-yoy $5y0.meg, When a Pegram 4 cog Jada ‘nok cunotly
in BAM, the Optroting Prony Fan Susap out tractive PAP to Sik storage
{Se sa), boeiig Up RAM for ahve Prowty , thi, prot only
Soha nas Pull satking capab cbitied bud also Provide! hemor protetion
b Ley the adds ory Syaw of diftoront- Programe. OWal, ished
Bie Syarony oe ONS crasles the px ec utin of ay a