[理工] [計組]-cache 計算
The processor has a 32KB 1-level cache and a 256KB 2-level cache on chip
1-level cache is 4-way associative and 2-level is fully associative.
Assume the word size is 32bits and the block size for both caches
is 32 bytes.
求 tag index Block offset
1-level
2-level
謝謝~可以列式算嗎?
--
┌這篇文章讓您覺得?─────────────────────────────┐
│ │
│ 一"一 \ / >\\\< ╯ ╰ ∩ ∩ ▁ ▁ >_< ㄧ ㄧ+ │
│ 皿 ε □ ▽ ▇Δ ▇ ╰╯ ╯ │
│ 北七 亂喔 害羞 莎笅 爽啦 哭爸 XD 科科 │
└──────────────────────────────────────┘
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 122.116.14.2
推
01/07 22:59, , 1F
01/07 22:59, 1F
→
01/07 23:18, , 2F
01/07 23:18, 2F
推
01/07 23:51, , 3F
01/07 23:51, 3F
→
01/08 00:34, , 4F
01/08 00:34, 4F
→
01/08 00:51, , 5F
01/08 00:51, 5F
推
01/08 22:57, , 6F
01/08 22:57, 6F