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