12 Placement Policies WHERE to put a block in cache Mapping between main and cache memories.Main memory has a much larger capacity than cache memory.
13 Memory Fully Associative Cache 123456789101112131415161718192021222324252627282930311234567Block numberBlock can be placed in any location in cache.
14 Memory Direct Mapped Cache 123456789101112131415161718192021222324252627282930311234567Block number(Block address) MOD (Number of blocks in cache)12 MOD 8 = 4Block can be placed ONLY in a single location in cache.
15 Memory Set Associative Cache 12345678910111213141516171819202122232425262728293031Set no.1234567123Block numberBlock number(Block address) MOD (Number of sets in cache)12 MOD 4 = 0Block can be placed in one of n locations in n-way set associative cache.
Your consent to our cookies if you continue to use this website.