Question: Question 3 (20 Marks) Consider an 8-way set associative cache mapping where the number of bits in the different fields of the memory address are

 Question 3 (20 Marks) Consider an 8-way set associative cache mapping

Question 3 (20 Marks) Consider an 8-way set associative cache mapping where the number of bits in the different fields of the memory address are shown in Figure 3. TAG SET OFFSET 16 bits 4 bits 4 bits Figure 3: Number of bits in the different field of the memory address Assume a byte addressable memory to answer the below questions based on Figure 3. a) Compute the followings: - capacity of the main memory line size Number of sets in the cache memory Number of lines in the cache memory Capacity of the cache memory Number of blocks that maps to the same cache set You need to show your working for all the computations. 16 marks b) Give examples of two different block addresses in hexadecimal that will be mapped into cache set number OxE. 14 marks c) Give examples of two different memory addresses in hexadecimal that will be mapped into the same cache block. 14 marks

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!