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/66f3174d2e9d1_24466f3174c96289.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? c. [10 points] Consider the following program. Assuming the starting address of array X is [0] (32 bits of O). 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 P1 P2 X112
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
