Below are listed parameters for different direct-mapped cachedesigns.
Cache Data Size: 32 KiB
Cache Block Size: 2 words
Cache Access Time: 1 cycle
Word: 4 bytes.
Calculate the total number of bits required for the cache listedabove, assuming a 32-bit address. Given that total size, find thetotal size of the closest direct-mapped cache with 16-word blocksof equal size or greater. Explain why the second cache, despite itslarger data size, might provide slower performance than the firstcache.