retagged by
1,901 views

1 Answer

Best answer
9 votes
9 votes

Answer : TLB tags bits =16.

Explanation -

Actually TLB is cache memory.

Hence this problem may be considered as in the subject CO

Here Page size = 16KB = 214 B. hence to represent all pages we need 14 bits.

TLB having 256 entries (i.e lines)

It uses 4 way set associativity, hence number of sets = 256/4 = 64 = 26 (Though it is already given, but this is actual method which will be helpful while solving other problems.

Now in set associative mapping

Virtual address is distributed as

Tag set number Block/page offset

Virtual address = 36 bit.

set number = bits required for representing sets = 6

Block/page offset = bits required for representing pages = 14

Hence Tag = VA bits - (set number + page offset)

Tag bits = 36 - (6+14)

Tag bits = 36 - 20 = 16

selected by

Related questions

2 votes
2 votes
3 answers
3
Veerendra V asked Nov 8, 2016
6,916 views
Consider a paging system uses, TLB’s access time is 30 ns and memory access time is 200ns. If the effective memory access time is 150ns, what will be the hit ratio of T...