Transaction-Level Modeling Framework for Space Applications
#include <storage.h>
Public Member Functions | |
Storage (sc_core::sc_module_name mn) | |
virtual | ~Storage () |
virtual void | set_size (const uint32_t &size)=0 |
virtual void | write (const uint32_t &addr, const uint8_t &byte)=0 |
virtual uint8_t | read (const uint32_t &addr) const =0 |
virtual void | write_block (const uint32_t &addr, const uint8_t *data, const uint32_t &len)=0 |
virtual void | read_block (const uint32_t &addr, uint8_t *data, const uint32_t &len) const =0 |
virtual void | erase (const uint32_t &start, const uint32_t &end)=0 |
virtual uint8_t * | get_dmi_ptr () |
virtual bool | allow_dmi_rw () |
|
inline |
|
inlinevirtual |
|
inlinevirtual |
Reimplemented in ArrayStorage.
Referenced by AHBMem::exec_func(), and AHBMem::get_direct_mem_ptr().
Implemented in MapStorage, and ArrayStorage.
Referenced by BaseMemory::erase_dbg().
|
inlinevirtual |
Reimplemented in ArrayStorage.
Referenced by AHBMem::get_direct_mem_ptr().
Implemented in MapStorage, and ArrayStorage.
Referenced by BaseMemory::read_dbg().
|
pure virtual |
Implemented in MapStorage, and ArrayStorage.
Referenced by BaseMemory::read_block_dbg().
Implemented in MapStorage, and ArrayStorage.
Referenced by BaseMemory::set_storage().
Implemented in MapStorage, and ArrayStorage.
Referenced by usi.shell.console.Console::interact(), and BaseMemory::write_dbg().
|
pure virtual |
Implemented in MapStorage, and ArrayStorage.
Referenced by BaseMemory::write_block_dbg().