Question: Please answer all questions. Question 3 (Cache Memory Mapping): 10 marks (a) For the main memory address 0:0:0, briefly explain how a search is performed
Please answer all questions.

Question 3 (Cache Memory Mapping): 10 marks (a) For the main memory address 0:0:0, briefly explain how a search is performed in two-way set associative mapping. Assume that the main memory size is 4 GB, the cache memory is 8 KB and the size of cache block is 32 bytes. [3 marks] (b) A 4-way set associative mapped cache consists of 64 blocks, divided into 4 sets. Main memory consists of 4K blocks, each containing 128 locations. Complete the following format for the main memory address by showing all your workings and find the tag size. [Hint: Calculate the no. of locations in the main memory, which gives the memory size in terms of the total number of bits) (5 marks] Set No. Block No. Location Within Block No. of bits
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
