CohereSim: A Bus-based Cache Simulator
v3.3
A tool for education in computing - learn about coherence protocols, replacement policies, and SMP vs DSM
|
The cache interface. More...
#include <cache_abc.h>
Public Member Functions | |
virtual bool | issueBusMsg (bus_msg_e bus_msg)=0 |
Issue a BusRd message to neighboring caches. More... | |
virtual state_e | getLineState (uint32_t set_idx, uint32_t way_idx)=0 |
Get the state of a line in the cache. More... | |
The cache interface.
|
pure virtual |
Get the state of a line in the cache.
set_idx | The index of the set containing the line |
way_idx | The index of the way containing the line (0 to assoc-1) |
Implemented in InteractiveMode, and Cache.
|
pure virtual |
Issue a BusRd message to neighboring caches.
bus_msg | The specific bus message |
Implemented in InteractiveModeCoherence, InteractiveMode, and Cache.