|
OpenASIP 2.2
|
#include <FUGenerated.hh>


Classes | |
| struct | DAGOperation |
| struct | Info |
Public Member Functions | |
| FUGenerated ()=default | |
| FUGenerated (const std::string &name) | |
| virtual | ~FUGenerated ()=default |
| void | loadState (const ObjectState *state) override |
| ObjectState * | saveState () const override |
| std::string | name () const |
| void | name (const std::string &newName) |
| std::vector< Info > & | operations () |
| const std::vector< std::string > & | dagOperations () const |
| const std::vector< Info > & | operations () const |
| void | addOperation (const Info &op) |
| void | addOperation (const DAGOperation &op) |
| const std::vector< std::string > & | options () const |
Public Member Functions inherited from Serializable | |
| virtual | ~Serializable () |
Private Attributes | |
| std::string | name_ |
| std::vector< Info > | operations_ |
| std::vector< std::string > | dagOperations_ |
| std::vector< std::string > | options_ |
Definition at line 41 of file FUGenerated.hh.
|
default |
| IDF::FUGenerated::FUGenerated | ( | const std::string & | name | ) |
Definition at line 45 of file FUGenerated.cc.
|
virtualdefault |
| void IDF::FUGenerated::addOperation | ( | const DAGOperation & | op | ) |
Definition at line 133 of file FUGenerated.cc.
References dagOperations_, IDF::FUGenerated::DAGOperation::operationName, operations_, and IDF::FUGenerated::DAGOperation::suboperations.
| void IDF::FUGenerated::addOperation | ( | const Info & | op | ) |
Definition at line 128 of file FUGenerated.cc.
References operations_.
Referenced by ProGeTools::checkForGeneratableFU(), and Automagic::checkForGeneratableFU().
| const std::vector< std::string > & IDF::FUGenerated::dagOperations | ( | ) | const |
Definition at line 123 of file FUGenerated.cc.
References dagOperations_.
|
overridevirtual |
Loads the state of the object from the given ObjectState object.
| state | ObjectState object from which (and the children of which) the state is loaded. |
Implements Serializable.
Definition at line 48 of file FUGenerated.cc.
References IDF::ATTRIB_NAME, ObjectState::child(), ObjectState::childByName(), ObjectState::childCount(), ObjectState::hasChild(), ObjectState::intValue(), ObjectState::name(), name_, operations_, options_, ObjectState::stringAttribute(), ObjectState::stringValue(), IDF::TAG_HDBFILE, IDF::TAG_OPERATION, IDF::TAG_OPERATION_ID, IDF::TAG_OPERATION_LATENCY, and IDF::TAG_OPTION.
Referenced by IDF::MachineImplementation::loadState().

| std::string IDF::FUGenerated::name | ( | ) | const |
Definition at line 103 of file FUGenerated.cc.
References name_.
Referenced by ProGe::NetlistGenerator::addGeneratableFUsToNetlist(), ProGeTools::checkForGeneratableFU(), Automagic::checkForGeneratableFU(), FUGen::createFUHeaderComment(), FUGen::createShadowRegisters(), and ProGe::ProGeUI::generateIDF().
| void IDF::FUGenerated::name | ( | const std::string & | newName | ) |
| std::vector< FUGenerated::Info > & IDF::FUGenerated::operations | ( | ) |
Definition at line 113 of file FUGenerated.cc.
References operations_.
Referenced by FUGen::createImplementationFiles(), and FUGen::parseOperations().
| const std::vector< FUGenerated::Info > & IDF::FUGenerated::operations | ( | ) | const |
Definition at line 118 of file FUGenerated.cc.
References operations_.
| const std::vector< std::string > & IDF::FUGenerated::options | ( | ) | const |
|
overridevirtual |
Saves the objects state into an ObjectState object and maybe its child objects.
Implements Serializable.
Definition at line 73 of file FUGenerated.cc.
References ObjectState::addChild(), IDF::ATTRIB_NAME, name_, operations_, options_, ObjectState::setAttribute(), ObjectState::setValue(), IDF::TAG_FUGENERATE, IDF::TAG_HDBFILE, IDF::TAG_OPERATION, IDF::TAG_OPERATION_ID, IDF::TAG_OPERATION_LATENCY, and IDF::TAG_OPTION.

|
private |
Definition at line 74 of file FUGenerated.hh.
Referenced by addOperation(), and dagOperations().
|
private |
Definition at line 72 of file FUGenerated.hh.
Referenced by loadState(), name(), name(), and saveState().
|
private |
Definition at line 73 of file FUGenerated.hh.
Referenced by addOperation(), addOperation(), loadState(), operations(), operations(), and saveState().
|
private |
Definition at line 75 of file FUGenerated.hh.
Referenced by loadState(), options(), and saveState().