Question: Suppose a computer using direct-mapped cache has 2 32 bytes of byte-addressable main memory and a cache size of 512 bytes, and each cache block
Suppose a computer using direct-mapped cache has 2 32 bytes of byte-addressable main memory and a cache size of 512 bytes, and each cache block contains 64 bytes
a) How many blocks of main memory are there?
b) What is the format of a memory address as seen by cache; that is, what are the sizes of the tag, block, and offset fields?
c) To which cache block will the memory address 0x13A4498A map?
Step by Step Solution
3.41 Rating (154 Votes )
There are 3 Steps involved in it
a To determine the number of blocks of main memory we need to divide the total main memory size by t... View full answer
Get step-by-step solutions from verified subject matter experts
