Assume that cache is 2 way set associative and has the following configurations:-
(i) 8B of the total size
(ii)2B of block size
(iii)LRU replacement
if byte-addressable memory has 16-bit addresses then find the number of hits for the following reference stream(initially the cache is empty)
2,3,5,7,12,1,2,4,13
am getting 4 hits but the answer given is different