Answered step by step
Verified Expert Solution
Question
1 Approved Answer
A main memory has 128 words where each word is 1 byte long and occupies one location in the main memory. Besides that, there
A main memory has 128 words where each word is 1 byte long and occupies one location in the main memory. Besides that, there are a total of 32 lines in the cache where each line has 8 bytes. Assuming a set associative cache mapping function, answer the following questions: (i) Briefly describe how set associative mapping works. [2 marks] (ii) Calculate the number of blocks in the main memory. [2 marks] (iii) There are 2 bits reserved for the Tag field of the address. Calculate the number of sets that are present in the cache. Consequently, number of bits reserved for the Word field of the address. calculate the [4 marks] (iv) Calculate the number of lines in each set of the cache. [2 marks]
Step by Step Solution
★★★★★
3.44 Rating (154 Votes )
There are 3 Steps involved in it
Step: 1
i Set associative mapping works by dividing the cache into a number of sets where each set can hold ...Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started