My cache can have 32 address bits with 2 bits for index and 3 bits for byte-offset.
Associativity 2, block size 8.
Of course, the the bits for index says which row of the cache the data is.
But how do I know which block when there are 2 blocks (associativity 2)?
The 3 bits byte-offset only tells which byte within a block and there are 2 blocks.
Is there a comparator that determines which of the blocks has the tag that matches the incoming request for data?