看板 Grad-ProbAsk 關於我們 聯絡資訊
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
skyevolution:valid=1,tag=22,block size = 2^4byte = 2^7bit 07/16 22:18
skyevolution:兩個都會乘到 block數 所以就不用乘 07/16 22:19