summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/mem/cache/tags/base_set_assoc.hh4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/mem/cache/tags/base_set_assoc.hh b/src/mem/cache/tags/base_set_assoc.hh
index fc15b0220..21a250e75 100644
--- a/src/mem/cache/tags/base_set_assoc.hh
+++ b/src/mem/cache/tags/base_set_assoc.hh
@@ -161,9 +161,7 @@ public:
*/
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