The Sparta Modeling Framework
|
Defines an access window within this interface. Accesses through a memory interface are constrained to this window. More...
#include <DebugMemoryIF.hpp>
Public Member Functions | |
AccessWindow & | operator= (const AccessWindow &)=delete |
AccessWindow (const AccessWindow &)=default | |
Default copy constructor. | |
AccessWindow (addr_t _start, addr_t _end, const std::string &_name="default") | |
Construct address window with range. | |
bool | containsAddr (addr_t addr) const noexcept |
Does this window interval contain the specified post-translated address addr. | |
Public Attributes | |
const addr_t | start |
inclusive start address (block-aligned) | |
const addr_t | end |
exclusive end address (block-aligned) | |
const std::string | name |
What is this window called (for printouts) | |
Defines an access window within this interface. Accesses through a memory interface are constrained to this window.
Non-assignable
Definition at line 78 of file DebugMemoryIF.hpp.
|
inline |
Construct address window with range.
_start | Start address of the window in this interface's post-translated addresses (inclusive) |
_end | End address of the window in this interface's post-translated addresses (exclusive) |
Definition at line 98 of file DebugMemoryIF.hpp.
|
inlinenoexcept |
Does this window interval contain the specified post-translated address addr.
Definition at line 114 of file DebugMemoryIF.hpp.
const addr_t sparta::memory::DebugMemoryIF::AccessWindow::end |
exclusive end address (block-aligned)
Definition at line 126 of file DebugMemoryIF.hpp.
const std::string sparta::memory::DebugMemoryIF::AccessWindow::name |
What is this window called (for printouts)
Definition at line 131 of file DebugMemoryIF.hpp.
const addr_t sparta::memory::DebugMemoryIF::AccessWindow::start |
inclusive start address (block-aligned)
Definition at line 121 of file DebugMemoryIF.hpp.