From lecture, there're some bits in the tag part used to select set. In a 2-way associative cache, we need 1 bit, and a 4-way needs 2 bit and so on.
jle
In these caches (write allocate, write back), is there any specific way the cache selects a location to place the line in the cache? Or is that similar to any other caches where programmer decides e.g. like LRU, MRU
From lecture, there're some bits in the tag part used to select set. In a 2-way associative cache, we need 1 bit, and a 4-way needs 2 bit and so on.