OpenASIP
2.0
|
#include <DataAddressDef.hh>
Public Member Functions | |
DataAddressDef (Address start, int size, Address dest, bool littleEndian) | |
virtual | ~DataAddressDef () |
virtual bool | isInitialized () const |
virtual bool | isAddress () const |
virtual Address | destinationAddress () const |
virtual void | setDestinationAddress (Address dest) |
DataDefinition * | copy () const |
Public Member Functions inherited from TTAProgram::DataDefinition | |
DataDefinition (Address start, int size, bool littleEndian, MinimumAddressableUnit *initData=NULL, bool allZeros=false) | |
DataDefinition (Address start, const std::vector< MinimumAddressableUnit > &initData, bool littleEndian) | |
virtual | ~DataDefinition () |
virtual Address | startAddress () const |
virtual void | setStartAddress (Address start) |
virtual MinimumAddressableUnit | MAU (int index) const |
virtual int | size () const |
virtual bool | isInstructionAddress () const |
bool | isLittleEndian () const |
Private Attributes | |
Address | dest_ |
Destination address of a data area. More... | |
Describes characteristics of a memory area containing an address.
Definition at line 45 of file DataAddressDef.hh.
TTAProgram::DataAddressDef::DataAddressDef | ( | Address | start, |
int | size, | ||
Address | dest, | ||
bool | littleEndian | ||
) |
Creates data area definition containing address.
start | Starting address of definition. |
size | Number of MAUs that area represents. |
dest | Address where to data definition refers. |
Definition at line 44 of file DataAddressDef.cc.
Referenced by copy().
|
virtual |
|
virtual |
POM style copy constructor, which supports dynamic binding.
Reimplemented from TTAProgram::DataDefinition.
Definition at line 102 of file DataAddressDef.cc.
References DataAddressDef(), destinationAddress(), TTAProgram::DataDefinition::isLittleEndian(), TTAProgram::DataDefinition::size(), and TTAProgram::DataDefinition::startAddress().
|
virtual |
Returns destination address, where to intialization value refers.
Reimplemented from TTAProgram::DataDefinition.
Definition at line 82 of file DataAddressDef.cc.
References dest_.
Referenced by copy().
|
virtual |
Returns true, class contains always address reference.
Reimplemented from TTAProgram::DataDefinition.
Definition at line 72 of file DataAddressDef.cc.
|
virtual |
Returns true, class defines always initialized data area.
Reimplemented from TTAProgram::DataDefinition.
Definition at line 62 of file DataAddressDef.cc.
|
virtual |
Set new destination address for the data definition.
dest | New destination address. |
Reimplemented from TTAProgram::DataDefinition.
Definition at line 92 of file DataAddressDef.cc.
References dest_.
|
private |
Destination address of a data area.
Definition at line 60 of file DataAddressDef.hh.
Referenced by destinationAddress(), and setDestinationAddress().