64const string FU =
"fu";
68const string RF =
"rf";
72const string IU =
"iu";
75const string BUS =
"bus";
210 std::string name =
"";
211 std::string fileName =
"";
212 std::string hdbFile =
"";
214 for (
int i = 0; i < child->
childCount(); i++) {
235 std::string parameterValue =
"";
246 icdecState->
addChild(parameterState);
269 for (
int i = 0; i < fileState->
childCount(); i++) {
281 for (
int i = 0; i < fileState->
childCount(); i++) {
284 if (!handledElements.count(child->
name())) {
294 if (child->
name() ==
FU) {
302 }
else if (child->
name() ==
RF) {
310 }
else if (child->
name() ==
IU) {
318 }
else if (child->
name() ==
BUS) {
392 for (
int i = 0; i < child->
childCount(); i++) {
434 for (
int i = fuGens->
childCount() - 1; i >= 0; --i) {
442 for (
int i = 0; i < fuImpls->
childCount(); i++) {
464 for (
int i = 0; i < rfImpls->
childCount(); i++) {
486 for (
int i = 0; i < iuImpls->
childCount(); i++) {
508 for (
int i = 0; i < busImpls->
childCount(); i++) {
530 for (
int i = 0; i < socketImpls->
childCount(); i++) {
#define assert(condition)
IDF::MachineImplementation * implementation
the implementation definition of the estimated processor
const string FU_GENERATE_OPERATION_ID
const string DECOMPRESSOR_FILE
const string IC_DECODER_PARAMETER
const string IC_DECODER_PLUGIN
const string ADF_IMPLEMENTATION
const string FU_GENERATE_OPERATION_NAME
const string FU_GENERATE_NAME
const string IDF_SCHEMA_FILE
const string FU_GENERATE_OPERATION
const string IC_DECODER_PARAMETER_VALUE
const string IC_DECODER_PLUGIN_NAME
const string FU_GENERATE_OPTION
const string IC_DECODER_PLUGIN_FILE
const string IC_DECODER_PARAMETER_NAME
static std::string schemaDirPath(const std::string &prog)
virtual void writeState(const ObjectState *state)
virtual ObjectState * readState()
MachineImplementation * readMachineImplementation()
static ObjectState * convertToOMFormat(const ObjectState *fileState)
void writeMachineImplementation(const MachineImplementation &implementation)
static ObjectState * convertToFileFormat(const ObjectState *omState)
static const std::string OSKEY_DECOMPRESSOR_FILE
ObjectState attribute key for the name of the decompressor file.
static const std::string OSNAME_IC_DECODER_PLUGIN
ObjectState name for the name of the IC/decoder plugin file.
static const std::string OSKEY_IC_DECODER_HDB
ObjectState attribute name for ic&decoder HDB.
static const std::string OSKEY_SOURCE_IDF
ObjectState attribute name for the source IDF.
static const std::string OSNAME_IU_IMPLEMENTATIONS
ObjectState name for IU implementation container.
static const std::string OSKEY_IC_DECODER_NAME
ObjectState attribute name for ic&decoder name.
static const std::string OSNAME_MACHINE_IMPLEMENTATION
ObjectState name for machine implementation.
static const std::string OSNAME_BUS_IMPLEMENTATIONS
ObjectState name for bus implementation container.
static const std::string OSNAME_FU_GENERATED
ObjectState name for FU generations container.
static const std::string OSKEY_IC_DECODER_FILE
ObjectState attribute name for ic&decoder file.
virtual ObjectState * saveState() const
static const std::string OSNAME_IC_DECODER_PARAMETER
ObjectState attribute name for ic&decoder parameter.
static const std::string OSNAME_SOCKET_IMPLEMENTATIONS
ObjectState name for socket implementation container.
static const std::string OSKEY_IC_DECODER_PARAMETER_NAME
ObjectState attribute name for ic&decoder parameter name.
static const std::string OSNAME_RF_IMPLEMENTATIONS
ObjectState name for RF implementation container.
static const std::string OSNAME_FU_IMPLEMENTATIONS
ObjectState name for FU implementation container.
static const std::string OSKEY_IC_DECODER_PARAMETER_VALUE
ObjectState attribute name for ic&decoder parameter value.
static const std::string OSNAME_UNIT_IMPLEMENTATION
ObjectState name for unit implementation.
static const std::string OSKEY_ID
ObjectState attribute key for the entry ID.
static const std::string OSKEY_UNIT_NAME
Objectstate attribute key for the name of the unit.
static const std::string OSKEY_HDB_FILE
ObjectState attribute key for the name of the HDB file.
bool hasAttribute(const std::string &name) const
ObjectState * childByName(const std::string &name) const
void setAttribute(const std::string &name, const std::string &value)
void setValue(const std::string &value)
bool hasChild(const std::string &name) const
ObjectState * child(int index) const
void addChild(ObjectState *child)
std::string stringAttribute(const std::string &name) const
std::string stringValue() const
void setUseSchema(bool useSchema)
void setSchemaFile(const std::string &fileName)
std::string sourceFile() const
virtual void writeState(const ObjectState *rootState)
virtual ObjectState * readState()