A N-way Set Associative Cache
N-way set associative: N entries for each Cache Index
- N direct mapped caches operating in parallel
Example: Two-way set associative cache
- Cache Index selects a “set” from the cache
- The two tags in the set are compared in parallel
- Data is selected based on the tag result