Computer Arch and Operating Sys
Computer Arch and Operating Sys
Computer Architecture
And
Operating Systems
Read Write
i = j modulo m
where
i = cache line number
m = number of lines in the cache
j = main memory block number
B2
Set 1
X Bj
X
s+w
Compare
(hit in cache)
(miss in cache)