Problem : comuter organization and architecture
Suppose a computer using direct mapped cache has 232 bytes of main memory and a cache of 1024 blocks, where each block contains 32 bytes.
(a) How many blocks of main memory are there?
(b) What is the format of a memory address as seen by the cache, that is, what are the sizes of the tag, block and byte fields?
(c) To which cache block will the memory reference 000063FAH map?
(d) What is the total size of the cache (bits) including tag, valid and dirty bits?