OpenASIP 2.2
|
#include <BlocksModel.hh>
Classes | |
struct | FunctionalUnit |
Public Member Functions | |
BlocksModel (std::string filename) | |
Public Attributes | |
std::list< FunctionalUnit > | mFunctionalUnitList |
Private Member Functions | |
void | LoadModelFromXml () |
bool | VerifyXmlStructure () |
Private Attributes | |
const std::map< std::string, BlocksTranslator::FU_TYPE > | stringToEnum |
ObjectState * | mdfState_ |
Definition at line 55 of file BlocksModel.hh.
|
inline |
Definition at line 82 of file BlocksModel.hh.
References LoadModelFromXml(), mdfState_, XMLSerializer::readState(), and XMLSerializer::setSourceFile().
|
private |
Load and parse the Blocks 'architecture.xml'.
Definition at line 44 of file BlocksModel.cc.
References ObjectState::child(), ObjectState::childByName(), ObjectState::childCount(), mdfState_, mFunctionalUnitList, BlocksModel::FunctionalUnit::name, BlocksModel::FunctionalUnit::src, ObjectState::stringAttribute(), stringToEnum, BlocksModel::FunctionalUnit::type, BlocksModel::FunctionalUnit::usesOut0, BlocksModel::FunctionalUnit::usesOut1, and VerifyXmlStructure().
Referenced by BlocksModel().
|
private |
Verify the structure of the 'architecture.xml' file.
Definition at line 74 of file BlocksModel.cc.
References ObjectState::hasChild(), and mdfState_.
Referenced by LoadModelFromXml().
|
private |
Definition at line 78 of file BlocksModel.hh.
Referenced by BlocksModel(), LoadModelFromXml(), and VerifyXmlStructure().
std::list<FunctionalUnit> BlocksModel::mFunctionalUnitList |
Definition at line 88 of file BlocksModel.hh.
Referenced by BlocksTranslator::BuildTTAModel(), and LoadModelFromXml().
|
private |
Definition at line 60 of file BlocksModel.hh.
Referenced by LoadModelFromXml().