retagged by
322 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