1,411 views
0 votes
0 votes

Consider a cache consisting of 128 blocks of 16 words each. Main memory has 64 K words and given main memory is 16 bit addressable. Assume tag memory cost is defined as 1Rs/bit. X and Y are respective costs of tag memories (in Rs ) for Direct Mapping and Associative Mapping. The value (in Rs) of 2X + 3Y is
__________.

1 Answer

0 votes
0 votes

Size of tag memory is number of lines into number of bits for tag.

Therfore X= 27× 5 is tag memory size in bits.

Now for associative mapping address format will be Tag | Offset. Bcoz for one set we do not need any bit. Y= 27× 12

So answer is 5888 ₹

edited by

Related questions

0 votes
0 votes
1 answer
3