Cache placement policies: Difference between revisions

Content deleted Content added
mNo edit summary
Line 118:
# Address <code>0x0000</code> (tag - <code>0b00_0000</code>, index – <code>0b00_0000</code>, offset – <code>0b00</code>) corresponds to block 0 of the memory and maps to the set 0 of the cache. The block occupies a cache line in set 0, determined by the replacement policy for the cache.
# Address <code>0x0004</code> (tag - <code>0b00_0000</code>, index – <code>0b00_0001</code>, offset – <code>0b00</code>) corresponds to block 1 of the memory and maps to the set 1 of the cache. The block occupies a cache line in set 0, determined by the replacement policy for the cache.
# Address <code>0x00FF</code> (tag – <code>0b00_0000</code>, index – <code>0b11_1111</code>, offset – <code>0b11</code>) corresponds to block 63 of the memory and maps to the set 63 of the cache. The block occupies a cache line in set 6331, determined by the replacement policy for the cache.
# Address <code>0x0100</code> (tag – <code>0b00_0001</code>, index – <code>0b00_0000</code>, offset – <code>0b00</code>) corresponds to block 64 of the memory and maps to the set 0 of the cache. The block occupies a cache line in set 0, determined by the replacement policy for the cache.
 
== Two-way skewed associative cache ==