44 virtual std::size_t
size()
const = 0;
61 virtual bool write(
const uint8_t* data, std::size_t length, uint64_t offset, sc_core::sc_time& d) = 0;
62 inline bool write(
const uint8_t* data, std::size_t length, uint64_t offset = 0) {
64 return write(data, length, offset, d);
76 virtual bool read(uint8_t* data, std::size_t length, uint64_t offset, sc_core::sc_time& d)
const = 0;
77 inline bool read(uint8_t* data, std::size_t length, uint64_t offset = 0)
const {
79 return read(data, length, offset, d);
91 virtual bool write_dbg(
const uint8_t* data, std::size_t length, uint64_t offset = 0) = 0;
101 virtual bool read_dbg(uint8_t* data, std::size_t length, uint64_t offset = 0)
const = 0;