Consider a cache consisting of 256 blocks of 16 words each


Question 1

Consider a cache consisting of 256 blocks of 16 words each, for a total of 4096(4k) words and assume that the main memory is addressable by a 16 bit address and it contains of 4k blocks. How many bits are there in each of the TAG, BLOCK/SET and WORD fields for different mapping techniques?

Question 2

A cache consists of 128 blocks of 16 words each, for a total of 2048(2k) words. Assume that the main memory is addressable by a 16 bit address and it consists of 4k blocks. How many bits are there in each of the TAG, BLOCK/SET and WORD fields for direct, associative and set associative mapping techniques?

Solution Preview :

Prepared by a verified Expert
Computer Graphics: Consider a cache consisting of 256 blocks of 16 words each
Reference No:- TGS01265324

Now Priced at $12 (50% Discount)

Recommended (92%)

Rated (4.4/5)