67.6k views
1 vote
Offset bits tell us how many bytes of data are in a block. These bits are the right-most bits of the memory address. You can consider this as the number of columns of data in a cache. With a specific value of the offset bits from an address, we know which column of a block we are trying to access. Given the block size of a cache is 16B (bytes), how many bits do we need for offset? What is the number of bits in offset as a function of block size? Is it practical to have a cache of block size = 1 byte?

1 Answer

3 votes

128 bits is needed to offset the 16 bytes.

Step-by-step explanation:

It is practical to have a cache of block size = 1 byte

It is made up of 8 bits.

User Burke Holland
by
6.0k points