Question: 1.) [20 points] (Exercise 5.3) For a 32-bit address system, consider a cache with 32KB (data only), 4-byte block size. a. [5 points] How many
![1.) [20 points] (Exercise 5.3) For a 32-bit address system, consider](https://dsd5zvtm8ll6.cloudfront.net/si.experts.images/questions/2024/09/66f315eb368a8_89066f315ea9c7c7.jpg)
1.) [20 points] (Exercise 5.3) For a 32-bit address system, consider a cache with 32KB (data only), 4-byte block size. a. [5 points] How many bits in 32-bit address are index, assuming the cache is direct-mapped? b. [5 points] What is the total size of the tag part, assuming the cache is 2- way associative? [10 points] Consider the following program. Assuming the starting address of array X is [0] (32 bits of 0). The type of each element of X is int (4 bytes). Indicate a cache hit or a cache miss for each memory access using a write-invalidate based snooping protocol, with a direct-mapped cache. What if the block size becomes 8 bytes? Initial states for all cache blocks are invalid c. P1 P2 XI11+2 XI1
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
