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

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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!