retagged by
351 views
0 votes
0 votes

A $4$ way set associative cache with a size of $32$ KB has line size $16$ Bytes. There is a Byte addressable main memory with a size of $256$ MB, then which of the following Main Memory block is mapped on to the set $'0'$ of Cache Memory?

  1. $(FCEE90B)16$
  2. $(FECF10C)16$
  3. $(CFEE09B)16$
  4. $(CDDE00B)16$
retagged by

1 Answer

Best answer
1 votes
1 votes

Total cache size is 32 KB = 25 * 210 Bytes .

Total number of sets = (25 * 210  / 24 * 22 ) =  29

9 bits used for set .

15 bits for tag and 4 bits for word .  

 Tag | Set | Word

    15 | 9 |  4

CDD  111 0 0000 0000  B  hence answer is option D .

selected by
Answer:

Related questions

573
views
1 answers
1 votes
Bikram asked May 27, 2017
573 views
Suppose in a system we store data using arrays, we have $2$ arrays A1 and A2. Array A1 contains $256$ elements of size $4$ bytes each. The first element is ... $1$0$2048$
427
views
2 answers
0 votes
Bikram asked May 27, 2017
427 views
Consider a memory hierarchy system consisting of two levels. The access time of level $1$ is $2$ ns. The miss penalty (The time to get data from level $2$, in ... $1$ is ___________ $\%$
635
views
2 answers
2 votes
Bikram asked May 27, 2017
635 views
Suppose there are $500$ memory references in which $50$ misses in the $1$st level cache and $20$ misses in the $2$nd level cache . Let ... memory reference/instruction , average number of stall cycles per instruction will be __________
595
views
2 answers
0 votes
Bikram asked May 27, 2017
595 views
Consider a two level memory hierarchy having only one level cache and main memory. Cache and Main memory access times are $20$ ns and $120$ ns/word respectively. ... is referenced $40 \%$ of the times, then average access time is _______ ns