The Sparta Modeling Framework
|
An older class used to help in encapsulate read/virtual addresses. More...
#include <Translation.hpp>
Public Member Functions | |
Translation () | |
Default constructor. | |
Translation (addr_t addr, addr_t out) | |
Create a Translation object containing a pair of (pre-translation, post-translation) addresses. | |
Translation & | operator= (const Translation &rhp)=default |
Assignment operator (builtin) | |
bool | isValid () const |
addr_t | getOutputAddress () const |
Returns output address of this translation. | |
addr_t | getRealAddress () const |
addr_t | getVirtualAddress () const |
An older class used to help in encapsulate read/virtual addresses.
Class that will contain results of an address translation
Definition at line 22 of file Translation.hpp.
|
inline |
Default constructor.
Constructs an invalid Translation object
Definition at line 31 of file Translation.hpp.
Create a Translation object containing a pair of (pre-translation, post-translation) addresses.
addr | Input address |
out | Translated address (from addr) |
Definition at line 43 of file Translation.hpp.
|
inline |
Returns output address of this translation.
Definition at line 59 of file Translation.hpp.
|
inline |
Definition at line 63 of file Translation.hpp.
|
inline |
Definition at line 67 of file Translation.hpp.
|
inline |
Definition at line 54 of file Translation.hpp.