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.a. b. Cache Data Size 32 KB 32 KB Cache Block Size 2 words 4 words Cache Access Time 1 cycle 2 cycle

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  answer-question

Computer Organization And Design The Hardware Software Interface

ISBN: 9780123747501

4th Revised Edition

Authors: David A. Patterson, John L. Hennessy

Question Posted: