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 address are there?
b). What is the format of a memory address as seen by cache, i.e., what are the sizes of the tag, block, and offset fields?
c). To which cache block will the memory address 13A4498A(16) ma?
Hi, the following is my answer. I will appreciate if you can award me extra credits once you satisfy the answer.
a) How many blocks of main memory address ...
The solution gives detailed steps on computing some numbers on Direct Mapped Cache. All formula and calculations are shown and explained.