Rocket Chip Generator (https://github.com/freechipsproject/rocket-chip)
3c95afebc6
Prior to this commit, the L2 cache banks used the lower bits of the block address as the set index. However, the lower bits are also used to route addresses to different banks. As a result, in multi-bank configurations, only a fraction of the sets in each bank could be accessed. This commit fixes that problem by using the bits ahead of the bank index as the set index, so that all sets in the cache can be accessed. |
||
---|---|---|
uncore |