Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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 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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started