In a set associative cache memory, if the number of ways (lines) in a set is doubled while keeping the cache size and line size unchanged, the number of set index bits

a.
Doubles

b.
Halves

c.
Increases by 1

d.
Reduces by 1

Answer :

Answer:nswer. Since there are 16 bytes in a cache block, the OFFSET field must contain 4 bits (24 = 16). To determine the number of bits in the SET field, we need to determine the number of sets. Each set contains 2 cache blocks (2-way associative) so a set contains 32 bytes.

Explanation:

Other Questions