正在加载图片...
Example: 1 KB Direct Mapped Cache with 32 B Blocks 对于容量为2N字节的 cache 最高(32N位部分为 Cache Tag 最低M位为字节选择位( Block size=2M) Block address Cache Tag Example: 0x50 Cache index Byte select Ex: OxO Ex: Ox00 Stored as part of the cache“ state” Valid bit Cache Tag Cache data Bvte3·· Byte 1 Byte00 0x50 Byte 63 Byte 33 Byte 32 1 2 3 Byte 1023 Byte 992 31 2021-2-4 计算机体系结构Example: 1 KB Direct Mapped Cache with 32 B Blocks • 对于容量为 2 N 字节的cache: − 最高(32-N)位部分 为 Cache Tag − 最低M位为字节选择位 (Block Size = 2 M) 2021-2-4 计算机体系结构 32 Cache Index 0 1 2 3 : Cache Data Byte 0 31 4 0 : Cache Tag Example: 0x50 Ex: 0x01 0x50 Stored as part of the cache “state” Valid Bit : 31 Byte 31 Byte 1 : Byte 63 Byte 33 Byte 32 : Byte 1023 Byte 992 : Cache Tag Byte Select Ex: 0x00 9 Block address
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有