Sets - 5.0 English

System Cache LogiCORE IP Product Guide (PG118)

Document ID
PG118
Release Date
2021-11-05
Version
5.0 English

Several cache lines, determined by C_NUM_WAYS, are grouped to form a set. Each set is accessed by the index bits part of the address, see the previous figure. An address can be mapped to any of the cache lines, also called ways, in a set. The way that is used when allocating a cache line is firstly any free way in a set, secondly already allocated lines replaced by a Least Recently Used (LRU) algorithm.