retagged by
1,504 views
2 votes
2 votes
A processor with a word addressable memory has a two-way set associative cache. A cache line is one word and, so a cache entry contains a set of words. If there are M words of memory and C cache entries, How many words of memory map to the same cache entry?

 

(A) C/2

(B) M/2C

(C) M/C

(D) 2M/C
retagged by

2 Answers

2 votes
2 votes
Answer should be option C ie M/C

Coz it is nothing but the size of TAG and number of words of memory mapped to the same cache entry is nothing but the words having same TAG bits.

So M/C should be the correct answer.

Related questions

4 votes
4 votes
3 answers
4
val_pro20 asked May 15, 2019
1,276 views
What is the time complexity for checking whether an assignment of truth values to variables $x_1,\dots ,x_n$ satisfies a given formula $f(x_1\dots,x_n)$?$O(2^n)$$O(g(n))$...