6#include "sparta/memory/AddressTypes.hpp"
16 Command cmd = Command::UNKNOWN;
19 uint8_t *data =
nullptr;
20 void *meta_data =
nullptr;
23 inline std::ostream & operator<<(std::ostream & os,
const MemoryRequest &req) {
24 auto flags = os.flags();
25 os << (req.cmd == MemoryRequest::Command::READ ?
"READ " :
"WRITE ");
26 os << std::hex << req.addr <<
" " << req.size;
uint64_t addr_t
Type for generic address representation in generic interfaces, errors and printouts within SPARTA.