43 #ifndef __MEM_DRAMSIM2_WRAPPER_HH__ 44 #define __MEM_DRAMSIM2_WRAPPER_HH__ 48 #include "DRAMSim2/Callback.h" 55 class MultiChannelMemorySystem;
72 DRAMSim::MultiChannelMemorySystem*
dramsim;
81 T extractConfig(
const std::string& field_name,
82 const std::string& file_name)
const;
98 const std::string& system_file,
99 const std::string& working_dir,
100 const std::string& trace_file,
101 unsigned int memory_size_mb,
116 void setCallbacks(DRAMSim::TransactionCompleteCB* read_callback,
117 DRAMSim::TransactionCompleteCB* write_callback);
124 bool canAccept()
const;
131 void enqueue(
bool is_write, uint64_t
addr);
139 double clockPeriod()
const;
146 unsigned int queueSize()
const;
153 unsigned int burstSize()
const;
161 #endif //__MEM_DRAMSIM2_WRAPPER_HH__ Wrapper class to avoid having DRAMSim2 names like ClockDomain etc clashing with the normal gem5 world...
DRAMSim::MultiChannelMemorySystem * dramsim
Forward declaration to avoid includes.