How is a block found in a cache?

Showing Answers 1 - 1 of 1 Answers

Each place in cache records block's tag (as well as its data)

Of course, place in cache may be unoccupied, so usually place maintains valid bit

So to find block in cache:

  1. Use index of block address to determine place (or set of places)
  2. For that (or each) place, check valid bit is set and compare tag with that of block address --- this can be done in parallel for all places in a set

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions