Question: data and code? 4) [15] For this exercise, we assume that we have 512-byte cache with 64-byte blocks. We will also assume that the main
data and code? 4) [15] For this exercise, we assume that we have 512-byte cache with 64-byte blocks. We will also assume that the main memory is 2 KB large. We can regard the memory as an array of 64- byte blocks: MO, M1, .. M31.Table below, shows the memory blocks that can reside in different cache blocks if the cache was fully associative. Cache Block Set Way Memory blocks that can reside in the cache block Mo.MM a) Show the contents of the table if cache is organized as a direct mapped cache. b) Repeat part (a) with the cache organized as a four-way set associative cache
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
