

Block: 1 cache line stores 1 block
Cache line = one cell
Block = the data stored inside that cell
Block size = how many bytes that cell stores
Assume we are using 32-bit address. L1 cache is direct mapped and size is 16KB, block size is 32B. L2 cache is 8-way set associative and size is 4MB, block size is 64B. Draw the cache access diagram for L1 and L2 cache respectively, and indicate the size of all fields (in bits) and the size of L1 and L2 caches (in number of blocks they can hold). You may use the Lec5-slide8 as a reference.

You have split caches (a 32KB instruction cache and a 32KB data cache) with the following specifications:
Assume 40% of instructions are data transfer instructions, CPI is 1 when all memory accesses hit in the cache.

You have a two-level cache with the following specifications:
What is the average memory access time?
