View worked solution
Answer: 22
To find the minimum length of the TLB tag, we can analyze how the virtual address is split for TLB lookup.
1. Analyze the Virtual Address Structure
- Virtual Address Size:
- Page Size:
The page offset requires .
Therefore, the size of the Virtual Page Number (VPN) is:
2. Analyze the TLB Structure
- Total TLB entries:
- Organization: set-associative with sets ( entries)
To select one of the sets, we need a set index. The number of index bits is:
3. Calculate the TLB Tag Length
During a TLB lookup, the Virtual Page Number (VPN) is split into the TLB Set Index and the TLB Tag:
Thus, the minimum length of the TLB tag is bits.
Free practice · Your answers on this page are not saved.
