Question: 2. (4 marks) Suppose that a p operations on the following memory addresses (e.g., with Ib or lw instructions) memory block that each of these
2. (4 marks) Suppose that a p operations on the following memory addresses (e.g., with "Ib" or "lw" instructions) memory block that each of these addresses belongs to, for each of the following memory block sizes. (a) block size of one word (4 bytes) (b) block size of eight words (32 bytes) (8 marks) Give the position (or set) in the cache that would be checked on each of the read operations of question 2, for each of the following caches: 3. (a) direct-mapped cache with total capacity of 32 one-word blocks (b) direct-mapped cache with total capacity of 4 eight-word blocks (c) 4-way set-associative cache with total capacity of 32 one-word blocks (d) 2-way set-associative cache with total capacity of 4 eight-word blocks
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
