作者mqazz1 (無法顯示)
看板Grad-ProbAsk
標題[理工] [計組] direct-mapped cache
時間Sat Jul 16 20:04:59 2011
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