Go to the documentation of this file.
34 #ifndef TTA_DATA_DEFINITION_HH
35 #define TTA_DATA_DEFINITION_HH
59 Address start,
const std::vector<MinimumAddressableUnit>& initData,
69 virtual int size()
const;
88 std::vector<MinimumAddressableUnit>*
data_;
DataDefinition(Address start, int size, bool littleEndian, MinimumAddressableUnit *initData=NULL, bool allZeros=false)
int size_
Size of uninitialized data definition.
virtual Address startAddress() const
virtual bool isAddress() const
bool isLittleEndian() const
Address start_
Start address of definition.
virtual Address destinationAddress() const
Word MinimumAddressableUnit
Type for storing a MAU (must be unsigned type!). This limits the maximum size of the simulated minimu...
virtual bool isInitialized() const
bool allZeros_
Is all the data zeros? (In this case data_ is null)
virtual void setDestinationAddress(Address dest)
virtual ~DataDefinition()
virtual DataDefinition * copy() const
virtual bool isInstructionAddress() const
virtual void setStartAddress(Address start)
std::vector< MinimumAddressableUnit > * data_
Init data of definition.
virtual MinimumAddressableUnit MAU(int index) const