The three portions of an address in a set-associative or direct-mapped cache include |
|
index
is used to select the set,
tag
is used to choose the block by comparison with the blocks in the selected set, and
block offset
is the address of the desired data in the block.
The output of the comparators is used to select the data from one of the four blocks of the indexed set, using a multiplexor with a decoded select signal. |