In a system with a 4KB page size and a 4-way set-associative TLB with 128 entries, how many bits are used for the TLB index if the virtual address is 48 bits?
Explanation: First, find the number of sets: 128/4 = 32. To index 32 sets, you need log(32) = 5 bits The rest of the bits in the Virtual Page Number (VPN) are used for the Tag.