看板 Grad-ProbAsk 關於我們 聯絡資訊
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
assassin88:你讓我覺得很模擬考XD 01/07 22:59
polomoss:= =因為覺得答案給錯了@@ 01/07 23:18
james1815:小算一下不知是不是 LEVEL1 19 8 5 LEVEL2 27 0 5 01/07 23:51
polomoss:恩~我是算這個~~不過block size應該填3 01/08 00:34
james1815:抱歉 我把它算在一起了 感謝指點 01/08 00:51
uminchu185:應該是採word addressing, 所以offet=3bits 01/08 22:57