作者degia220 ( )
看板Grad-ProbAsk
标题Re: [理工] [计组]-台大97-资工
时间Wed Sep 2 22:48:32 2009
※ 引述《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
1F:推 AtonHsu:谢谢 09/03 12:30