1,086 views
0 votes
0 votes
The virtual address generated by a CPU is 32 bits. The Translation Look-aside Buffer (TLB) can hold total 64 page table entries and a 4-way set associative (i.e. with 4- cache lines in the set). The page size is 4 KB. The minimum size of TLB tag is (A) 12 bits (B) 15 bits (C) 16 bits (D) 20 bits

1 Answer

Best answer
2 votes
2 votes

CPU is 32 bits.
Page size (Block Size) = 4 KB
TLB can hold 64 Blocks and it is 4 way associative. So  Set offset Size = 64/4 = 16 i.e. 4 bit 
Let tag is X bit long.

X + 4 + 12 = 32
X = 16 bit

selected by

Related questions

2 votes
2 votes
3 answers
1
h4kr asked Dec 27, 2022
564 views
What is the difference b/w cache & TLB? TLB is stored in cache too right? TLB helps in addressing like a faster version of page table while speaking of cache, it directly...
0 votes
0 votes
0 answers
3
Sunidhi chauhan asked Dec 16, 2017
414 views
TLB IS EITHER HARDWARE OR SOFTWARE PLZ EXPLAIN BRIEFLY?????