-
Hi |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Imagine a cache configuration with 4 blocks with a block size of 16 bytes. Fur such a cache configuration, each address (applied to the cache) is decomposed into 3 parts: a tag ("TAG"), a block number ("B") and a block offset ("offs"):
This layout implies that each block is 16-byte aligned. For example, accessing address Inside the cache, block 2 is used (since bits If you increase the block size, the "B" section of the decomposed address just gets wider (while the TAG section shrinks). Does that answer your question? Because I don't know exactly what you're getting at 😅 |
Beta Was this translation helpful? Give feedback.
Imagine a cache configuration with 4 blocks with a block size of 16 bytes. Fur such a cache configuration, each address (applied to the cache) is decomposed into 3 parts: a tag ("TAG"), a block number ("B") and a block offset ("offs"):
bitblock since we have 2^2=4 blocks in total.This layout implies that each block is 16-byte aligned. For example, acce…