46#ifndef __MEM_CACHE_TAGS_BASE_HH__
47#define __MEM_CACHE_TAGS_BASE_HH__
60#include "params/BaseTags.hh"
68class ReplaceableEntry;
220 return addr & ~blkMask;
239 panic(
"This tag class does not implement way allocation limit!\n");
248 panic(
"This tag class does not implement way allocation limit!\n");
286 const std::size_t
size,
288 const uint64_t partition_id=0) = 0;
Defines global host-dependent types: Counter, Tick, and (indirectly) {int,uint}{8,...
Definitions of a simple cache block class.
A common base class for indexing table locations.
uint32_t getSrcRequestorId() const
Get the requestor id associated to this block.
unsigned getRefCount() const
Get the number of references to this block since insertion.
virtual void invalidate() override
Invalidate the block and clear all state.
virtual bool isValid() const
Checks if the entry is valid.
The ClockedObject class extends the SimObject with a clock and accessor functions to relate ticks to ...
Cycles is a wrapper class for representing cycle counts, i.e.
A Packet is used to encapsulate a transfer between two objects in the memory system (e....
A replaceable entry is a basic entry in a 2d table-like structure that needs to have replacement func...
A vector of Average stats.
A stat that calculates the per tick average of a value.
This is a simple scalar statistic, like a counter.
A 2-Dimensional vecto of scalar stats.
A vector of scalar stats.
ClockedObject declaration and implementation.
#define panic(...)
This implements a cprintf based panic() function.
Copyright (c) 2024 - Pranith Kumar Copyright (c) 2020 Inria All rights reserved.
uint64_t Addr
Address type This will probably be moved somewhere else in the near future.
Declaration of the Packet class.
Declaration of Statistics objects.