Go to the documentation of this file.
35 #ifndef TTA_ADDRESS_SPACE_HH
36 #define TTA_ADDRESS_SPACE_HH
59 virtual int width()
const;
95 typedef std::set<unsigned>
IDSet;
virtual void unsetMachine()
virtual TCEString name() const
virtual void addNumericalId(unsigned id)
std::set< unsigned > numericalIds() const
virtual bool hasNumericalId(unsigned id) const
int width_
Bit width of the minimum addressable word.
static const std::string OSKEY_NUMERICAL_ID
bool operator!=(const AddressSpace &other) const
virtual void setShared(bool shared)
static const std::string OSNAME_ADDRESS_SPACE
ObjectState name for AddressSpace.
static const std::string OSKEY_MAX_ADDRESS
ObjectState attribute key for maximum address.
virtual bool isShared() const
virtual void setWidth(int width)
static const std::string OSKEY_WIDTH
ObjectState attribute key for the bit width.
AddressSpace(const std::string &name, int width, ULongWord minAddress, ULongWord maxAddress, Machine &owner)
virtual void setAddressBounds(ULongWord start, ULongWord end)
static const std::string OSKEY_SHARED_MEMORY
virtual ObjectState * saveState() const
bool setNumericalIds(const std::set< unsigned > &ids)
virtual int width() const
std::set< unsigned > IDSet
static const std::string OSKEY_MIN_ADDRESS
ObjectState attribute key for minimum address.
virtual void setMachine(Machine &mach)
virtual void loadState(const ObjectState *state)
bool operator==(const AddressSpace &other) const
bool shared_
True in case this address space maps to a memory that is shared across all the cores in the multicore...
ULongWord minAddress_
Lowest address in the address space.
IDSet numericalIds_
The numerical ids mapped to this address space.
virtual ULongWord start() const
virtual ULongWord end() const
ULongWord maxAddress_
Highest address in the address space.
virtual void setName(const std::string &name)