Question

6) Suppose a computer using direct mapped cache has 232 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, i.e., what are the sizes of the c) To which cache block will the memory address 0X13A4498A map?

Fig: 1

Fig: 2

Fig: 3

Fig: 4