Direct-mapped cache-fully-associative cache


Questions:

Direct-mapped cache, Fully-associative cache

1. A computer using direct-mapped cache has 2^24 words of main memory and a cache of 256 blocks. Each cache block contains 64 words.

a) How many blocks of main memory are there?
b) What is the format of a memory address as seen by the cache? (What are the sizes of the tag, block and word fields?)
c) To which block will the memory reference 01BD36 (in hexadecimal) map?

2. A computer using fully-associative cache has 2^32 words of main memory and a cache of 1024 blocks. Each cache block contains 32 words.

a) How many blocks of main memory are there?
b) What is the format of a memory address as seen by the cache? (What are the sizes of the tag, block and word fields?)
c) To which block will the memory reference 025A13CF (in hexadecimal) map?

Solution Preview :

Prepared by a verified Expert
Computer Networking: Direct-mapped cache-fully-associative cache
Reference No:- TGS01934611

Now Priced at $20 (50% Discount)

Recommended (99%)

Rated (4.3/5)