16 Kb cache size.
4 way set associative.
Line size = 4*32 bit = 16 bytes.
Here, in question "word" is mentioned and even
"Where in the cache is the word from memory location"
is asked. So, word addressing is in use. So, offset bits = 2 for 4 words.
#sets=no of lines/p(way)
#lines=cache size /line size = $2^{10}$
#sets = $\frac{2^{10}}{4} = 256$
tag(22 bit) |
sets( 8 bit) |
block size(2 bit) |
now addrees is ABCDE8F8
its binary from is :1010 1011 1100 1101 1110 1000 1111 1000
<1010 1011 1100 1101 1110 10> <00 1111 10> <00>
it is mapped to set number 62 in cache.