A cache memory unit with capacity of N words and block

A cache memory unit with capacity of N words and block size of B words is to be designed. If it is designed as a 16-way set-associative cache, the length of the TAG field is 10 bits. If the cache unit is now designed as direct mapped cache, the length of the TAG field is ______ bits.

Answer: 6

2Comments
Akshay Saxena @akshay0612 11 Jan 2018 11:25 am

Line offset of cache = \({x+4}\) where x= set offset therefore TAG bits will reduce by 4.
\(10-4=6\)bits

jatin dev @jatinsaini 27 Jan 2018 11:19 pm