Use placement policy specific block search within generic access.
Change-Id: I6070035e6e00595bcf073d4011f78a55ba7e7a8a
Reviewed-on: https://gem5-review.googlesource.com/8721
Reviewed-by: Nikos Nikoleris <nikos.nikoleris@arm.com>
Maintainer: Nikos Nikoleris <nikos.nikoleris@arm.com>
*/
CacheBlk* accessBlock(Addr addr, bool is_secure, Cycles &lat) override
{
- Addr tag = extractTag(addr);
- int set = extractSet(addr);
- BlkType *blk = sets[set].findBlk(tag, is_secure);
+ BlkType *blk = findBlock(addr, is_secure);
// Access all tags in parallel, hence one in each way. The data side
// either accesses all blocks in parallel, or one block sequentially on