10#include "sparta/memory/AddressTypes.hpp"
54 bool isValid()
const {
return valid_; }
63 addr_t getRealAddress()
const {
67 addr_t getVirtualAddress()
const {
An older class used to help in encapsulate read/virtual addresses.
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)
addr_t getOutputAddress() const
Returns output address of this translation.
uint64_t addr_t
Type for generic address representation in generic interfaces, errors and printouts within SPARTA.
Macros for handling exponential backoff.