Defines global host-dependent types: Counter, Tick, and (indirectly) {int,uint}{8,...
A CacheEntry is an entry containing a tag.
virtual bool match(const Addr addr) const
Checks if the given tag information corresponds to this entry's.
CacheEntry(TagExtractor ext)
std::function< Addr(Addr)> TagExtractor
virtual void insert(const Addr addr)
Insert the block by assigning it a tag and marking it valid.
virtual void invalidate()
Invalidate the block.
virtual Addr getTag() const
Get tag associated to this block.
TagExtractor extractTag
Callback used to extract the tag from the entry.
std::string print() const override
Prints relevant information about this entry.
virtual bool isValid() const
Checks if the entry is valid.
virtual void setTag(Addr _tag)
Set tag associated to this block.
A replaceable entry is a basic entry in a 2d table-like structure that needs to have replacement func...
virtual std::string print() const
Prints relevant information about this entry.