39 virtual std::size_t
size()
const = 0;
56 virtual bool write(
const uint8_t* data, std::size_t length, uint64_t offset, sc_core::sc_time& d) = 0;
57 inline bool write(
const uint8_t* data, std::size_t length, uint64_t offset = 0) {
59 return write(data, length, offset, d);
71 virtual bool read(uint8_t* data, std::size_t length, uint64_t offset, sc_core::sc_time& d)
const = 0;
72 inline bool read(uint8_t* data, std::size_t length, uint64_t offset = 0)
const {
74 return read(data, length, offset, d);
86 virtual bool write_dbg(
const uint8_t* data, std::size_t length, uint64_t offset = 0) = 0;
96 virtual bool read_dbg(uint8_t* data, std::size_t length, uint64_t offset = 0)
const = 0;