/**
* Write back dirty blocks in the cache using functional accesses.
*/
- virtual void memWriteback() = 0;
+ virtual void memWriteback() override = 0;
/**
* Invalidates all blocks in the cache.
*
* memory. Make sure to call functionalWriteback() first if you
* want the to write them to memory.
*/
- virtual void memInvalidate() = 0;
+ virtual void memInvalidate() override = 0;
/**
* Determine if there are any dirty blocks in the cache.
*
/**
* Register stats for this object.
*/
- virtual void regStats();
+ virtual void regStats() override;
public:
BaseCache(const BaseCacheParams *p, unsigned blk_size);
~BaseCache() {}
- virtual void init();
+ virtual void init() override;
virtual BaseMasterPort &getMasterPort(const std::string &if_name,
- PortID idx = InvalidPortID);
+ PortID idx = InvalidPortID) override;
virtual BaseSlavePort &getSlavePort(const std::string &if_name,
- PortID idx = InvalidPortID);
+ PortID idx = InvalidPortID) override;
/**
* Query block size of a cache.