##### 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.

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