-1
$\begingroup$

enter image description here

Please can any one describe this picture? I am not getting that 4 entries to 001.

$\endgroup$
  • 1
    $\begingroup$ This is not twitter. Please use full sentences and traditional spellings. $\endgroup$ – Yuval Filmus Dec 6 '16 at 11:10
1
$\begingroup$

There are 8 blocks in cache which are represented as (000,001,...111 ) There are 32 blocks in Memory which are represented as (00000,00001,...11111) So in Direct Mapped cache the 0 th block will have all the entries of main memory where 0,8,16,24 this is by 0 mod 8 = 8 mod 8= 16 mod 8 = 24 mod 8 =0

Here the entries will be for 1 th block of a cache (001) will have entries of main memory where 1,9,17,25 this is by 1 mod 8 = 9 mod 8= 17 mod 8 = 25 mod 8 =1

$\endgroup$

Not the answer you're looking for? Browse other questions tagged or ask your own question.