Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

image text in transcribed

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. [5 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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions

Question

Calculate the pH of 0.025 M Ascorbic acid . Ka= 7.9 x 10^-5

Answered: 1 week ago