推 AtonHsu:謝謝 09/03 12:30
※ 引述《AtonHsu (阿湯)》之銘言:
: For the following memory system parameters:
: Cache:virtually-address but physically-tagged,8KB,direct-mapped,32B blocksize
: TLB:fully associative,32entries
: 32-bit physical address
: Virtual Memoey:8K pages,64-bit virtual address
: Question:
: How many bits are need in each tag field of the TLB?
: Ans:
: 64-13=51
: 想請問64-13是怎麼來的?
virtual address = 64bits
page size = 8KB = 2^13B,page offset field長度 = 13bits
virtual page number file長度 = 64-13 = 51bits
因為TLB採full associative,所以each tag field of the TLB = 51bits
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 219.85.4.110