Cache Memory and Mapping
Cache Memory and Mapping
he ht Yoho
Process
here are
Jn the Cache memoNy Orqani zaim,
Cxists
hee tpes of mapping Procedures
Associaive mappin
2 Digect mappi
3 Set- ASSociaive mapfid
technique), ConsideY
For 11uraim of thee mapfn
as ghown
O Specifc narmpie of a memony Osqani2ahon
below
Main memo
CpU
32-K X 12
Cache
miaO
Earngle of CoChinemoy
0n 9ive n tme
Fo Cach wod SaJed in Cache, here is a dupica e
CoPi t maun mimo
CpU Communicales w t c mt movie:
ASsociaive
moPfin
and
ASSeciahve memonM
memoay SOsed fo s Pabtest
vnost lei ble Cache Organizoien
in tis Cae, tu Associakve memay Stone both
OddreSs dnd Content (dada) f t memo7 t0ond.
- T iolotoin
diagram ShotoS three wOmds that
ave stted in
Cache.
CPU adàves (is bits)
Arqorewt Reqsle
Ade Dcta
O100o 3450
6410
21345 23
T addye-data paix
9ociathve Co Chi VnmoT
RAm
he Cache iS
k Possi bikty of using a RM o)
Shen beloto
6bits
7o 7nde
009
14tial-3
Ta, Jndex.
Uses t h m-bit
Tus dyect mappm Cache orgoni2otion
memo74
And the k-bi
addes accey
Of tue wonds
OYqoni2ai oy
nievna
in he tollowing
me moY
Shou
Cache
dic rm,
CP.TC)
addre
Brdes
obs 1 Daia
120
o9 240
olo0o 3450
45 60
02000 590 (b)Coch rs ne n.
Cach
6H
in u e
with dffevent tog vaues Camnot YeBide
mem
o UndeY ths Sane index addrey.
C 6+10 00 2340
Hing t Cock
>whe the CPU md S a oon in Cache durinq
Yead
operahn, t mam memomy iS not
Invowed in
he traster.
B, if he operatim is a
Oofi te, Hheve AYe toO