Consider a cache consisting of 256 blocks of 16 words each


COMPUTER ARCHITECTURE
CACHE MEMORY : MAPPING FUNCTION

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?

Your Answer of both should be at least 3 to 5 pages in length and should be completely answer properly

Solution Preview :

Prepared by a verified Expert
Data Structure & Algorithms: Consider a cache consisting of 256 blocks of 16 words each
Reference No:- TGS01469710

Now Priced at $20 (50% Discount)

Recommended (98%)

Rated (4.3/5)