276 views

1 Answer

Best answer
3 votes
3 votes

 <-------------------------16 bits--------------------------------------->

9 set 3

no. of lines = cache size / block size = ${}\frac{2^{10}}{2^3} = 2^7$

sets = lines/associativity = ${}\frac{2^{7}}{2^x} = 2^{7-x}$

so, 16 = 9 +(7-x) +3

$\therefore$ x= 3

associativity = $2^x = 2^3 =8$

selected by

Related questions

0 votes
0 votes
1 answer
1
naveen bhatt asked Dec 10, 2018
433 views
A Processor supports 256KW of memory and uses memory mapping I/O for I/O port. Address to the I/O port is assigned when 3 MSB bits of the address is high. The number of ...
0 votes
0 votes
0 answers
3
Gate Fever asked Nov 6, 2018
704 views
I THINK ANSWER SHOULD BE 462,THEY HAVE GIVEN ANSWER 554, WHICH I FEEL IS WRONG!
0 votes
0 votes
0 answers
4
Prince Sindhiya asked Apr 6, 2018
345 views