The cache interface.
Definition: cache_abc.h:9
The base class for coherence protocols.
Definition: coherence_protocol.h:14
CacheABC & cache
The parent cache.
Definition: coherence_protocol.h:65
The MSI coherence protocol.
Definition: msi.h:9
bool isWriteBackNeeded(state_e state)
Determine whether a line needs to be written back to main memory.
Definition: msi.cc:66
bool BusRd(cache_line *line)
Receive a BusRd message.
Definition: msi.cc:37
void PrWr(cache_line *line)
Receive a PrWr message.
Definition: msi.cc:23
MSI(CacheABC &cache)
Construct a new MSI coherence protocol.
Definition: msi.h:14
void PrRd(cache_line *line)
Receive a PrRd message.
Definition: msi.cc:8
bool BusRdX(cache_line *line)
Receive a BusRdX message.
Definition: msi.cc:51
Definition of the coherence protocol base class.
Cache line fields (without data field)
Definition: typedefs.h:152
state_e
Cache line state.
Definition: typedefs.h:64