CohereSim: A Bus-based Cache Simulator  v3.3
A tool for education in computing - learn about coherence protocols, replacement policies, and SMP vs DSM
broadcast.h
Go to the documentation of this file.
1 
4 #pragma once
5 
6 #include "memory_system.h"
7 
9 class Broadcast : public MemorySystem {
10 public:
11 
15 
20  void issueBusMsg(bus_msg_e bus_msg, addr_t addr, uint32_t cache_id);
21 };
The Broadcast directory protocol.
Definition: broadcast.h:9
Broadcast(cache_config &config)
Construct a new Broadcast directory protocol.
Definition: broadcast.h:14
void issueBusMsg(bus_msg_e bus_msg, addr_t addr, uint32_t cache_id)
Issue a bus message from a cache to all other caches.
Definition: broadcast.cc:9
The MemorySystem class connecting multiple caches and main memory.
Definition: memory_system.h:12
cache_config config
Config for this memory system.
Definition: memory_system.h:74
Declaration of the MemorySystem class.
Configuration for an individual memory system.
Definition: typedefs.h:164
uint32_t addr_t
Memory address.
Definition: typedefs.h:147
bus_msg_e
Bus message IDs.
Definition: typedefs.h:92