retagged by
508 views
2 votes
2 votes

Consider two cache organization: the first one is 32 kB 2-way set associative with 32 B block size. The second one is of the same size but direct mapped. The size of an address is 32 bit in both cases. A 2 to 1 multiplexer has latency of 0.6 ns while a k-bit comparator has a latency of k/10 ns   the hit latency of set associative organization is h1 while that of the direct mapped one h2

Q.12 th value of h1 is

 A. 2.4ns        b. 2.3 ns

c. 1.8 ns     d. 1.7 ns

Q.13 the value of h2 is

A. 2.4 ns   b 2.3 ns     c. 1.8ns    d. 1.7 ns

 

 

 

My answers are as-

12. Op-a

Multiplexer latency+ comparator latency

= 0.6 + 18/10 as for set associative k=18 bit(tag bit)

= 2.4 ns

 

For 13. Op-d

Only comparator latency =k/10

=17/10 = 1.7 ns

Am i doing any thing wrong???

retagged by

Please log in or register to answer this question.

Related questions

2 votes
2 votes
2 answers
2
khushtak asked Oct 25, 2015
1,590 views
Let cache of 0.7 hit having average access time 9 times faster than that of memory.  if average access time increases 40% from 80ns. What would be new hit ratio.A. 0.72 ...
2 votes
2 votes
1 answer
4