[理工] [計組] direct-mapped cache

看板Grad-ProbAsk作者 (無法顯示)時間14年前 (2011/07/16 20:05), 編輯推噓1(101)
留言2則, 1人參與, 最新討論串1/1
for a direct-mapped cache design with 32-bit address, the following bits of the address are used to access the cache Tag Index Offset 31-10 9-4 3-0 what is the ratio between total bits required for such a cache implementation over the data storage bits? (1+22+128)/128 = 1.179 請問這些數字是怎麼來的? 謝謝 -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 61.228.27.8

07/16 22:18, , 1F
valid=1,tag=22,block size = 2^4byte = 2^7bit
07/16 22:18, 1F

07/16 22:19, , 2F
兩個都會乘到 block數 所以就不用乘
07/16 22:19, 2F
文章代碼(AID): #1E8NvkR7 (Grad-ProbAsk)