看板 Grad-ProbAsk 關於我們 聯絡資訊
※ 引述《wsx02 ()》之銘言: : 1GB of physical memory 1GB = 2^30byte => 30 bit address : a physically indexed data cache with 64KB data and 256Byte bolcks 64KB / 256B = 256 bolcks : a 32-bit virtual address space and the page size is 64KB 64KB = 2^16byte => 16bit page offset 32bit - 16bit = 16bit virtual page NO. 30bit - 16bit = 14bit physically page NO. : fully associative TLB with 2 entries and the LRU replacement policy : CPU data cache is direct mapped direct map => tag:14bit index: 8bit offset: 8bit physical address data cache hit/miss TLB hit/miss 0x2d45 e221 M M 0x350a 58a3 M M 0x2d45 e251 H H 0x350a 5a09 M H 0x0933 5add M M 0x350a 5aaa M H 0x2d45 e292 H M 應該是這樣吧 -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 122.125.38.160 ※ 編輯: kuso0516 來自: 122.125.38.160 (03/23 21:06)