The formula shown on page 457 shows the typical method to index a direct-mapped cache, specifically (Block
Question:
The formula shown on page 457 shows the typical method to index a direct-mapped cache, specifically (Block address) modulo (Number of blocks in the cache). Assuming a 32-bit address and 1024 blocks in the cache, consider a different indexing function, specifically (Block address[31:27] XOR Block address[26:22]). Is it possible to use this to index a direct-mapped cache? If
so, explain why and discuss any changes that might need to be made to the cache. If it is not possible, explain why.
There are many different design parameters that are important to a cache’s overall performance. The table below lists parameters for different direct-mapped cache designs.
Step by Step Answer:
Computer Organization And Design The Hardware Software Interface
ISBN: 9780123747501
4th Revised Edition
Authors: David A. Patterson, John L. Hennessy