|
OpenASIP 2.2
|


Private Member Functions | |
| PLUGIN_DESCRIPTION ("Explorer plugin that creates wide load/store unit.") | |
| VectorLSGenerator () | |
| virtual bool | requiresStartingPointArchitecture () const |
| virtual bool | producesArchitecture () const |
| virtual bool | requiresHDB () const |
| virtual bool | requiresSimulationData () const |
| virtual bool | requiresApplication () const |
| virtual std::vector< RowID > | explore (const RowID &configurationID, const unsigned int &) |
| void | readParameters () |
| void | addOperation (TTAMachine::FunctionUnit &lsUnit, Operation &op, bool scalar) |
| void | createVectorLSU (TTAMachine::FunctionUnit &lsUnit, TTAMachine::AddressSpace &addrSpace) |
Private Attributes | |
| ComponentImplementationSelector | selector_ |
| Selector used by the plugin. | |
| int | nodeCount_ |
| TCEString | addressSpaces_ |
Static Private Attributes | |
| static const TCEString | NodeCountPN_ |
| static const TCEString | AddressSpacesPN_ |
Additional Inherited Members | |
Public Types inherited from DesignSpaceExplorerPlugin | |
| typedef std::pair< std::string, ExplorerPluginParameter > | Parameter |
| typedef std::map< std::string, ExplorerPluginParameter > | ParameterMap |
| typedef std::map< std::string, ExplorerPluginParameter >::iterator | PMIt |
| typedef std::map< std::string, ExplorerPluginParameter >::const_iterator | PMCIt |
Public Member Functions inherited from DesignSpaceExplorerPlugin | |
| virtual std::string | description () const |
| void | addParameter (TCEString name, ExplorerPluginParameterType type, bool compulsory=true, TCEString defaultValue="", TCEString description="") |
| template<typename T > | |
| void | readCompulsoryParameter (const std::string paramName, T ¶m) const |
| template<typename T > | |
| void | readOptionalParameter (const std::string paramName, T ¶m) const |
| template<typename RT > | |
| RT | parameterValue (const std::string ¶mName) const |
| virtual | ~DesignSpaceExplorerPlugin () |
| virtual void | giveParameter (const std::string &name, const std::string &value) |
| virtual std::string | name () const |
| virtual void | setPluginName (const std::string &pluginName) |
| virtual bool | hasParameter (const std::string ¶mName) const |
| ParameterMap | parameters () const |
| virtual bool | booleanValue (const std::string ¶meter) const |
Public Member Functions inherited from DesignSpaceExplorer | |
| DesignSpaceExplorer () | |
| virtual | ~DesignSpaceExplorer () |
| virtual void | setDSDB (DSDBManager &dsdb) |
| virtual bool | evaluate (const DSDBManager::MachineConfiguration &configuration, CostEstimates &results=dummyEstimate_, bool estimate=false) |
| virtual DSDBManager & | db () |
| std::vector< DesignSpaceExplorerPlugin * > | getPlugins () |
| RowID | createImplementationAndStore (const DSDBManager::MachineConfiguration &conf, const double &frequency=0.0, const double &maxArea=0.0, const bool &createEstimates=true, const std::string &icDec="DefaultICDecoder", const std::string &icDecHDB="asic_130nm_1.5V.hdb") |
| bool | createImplementation (const DSDBManager::MachineConfiguration &conf, DSDBManager::MachineConfiguration &newConf, const double &frequency=0.0, const double &maxArea=0.0, const bool &createEstimates=true, const std::string &icDec="DefaultICDecoder", const std::string &icDecHDB="asic_130nm_1.5V.hdb") |
| IDF::MachineImplementation * | selectComponents (const TTAMachine::Machine &mach, const double &frequency=0.0, const double &maxArea=0.0, const std::string &icDec="DefaultICDecoder", const std::string &icDecHDB="asic_130nm_1.5V.hdb") const |
| void | createEstimateData (const TTAMachine::Machine &mach, const IDF::MachineImplementation &idf, CostEstimator::AreaInGates &area, CostEstimator::DelayInNanoSeconds &longestPathDelay) |
| RowID | addConfToDSDB (const DSDBManager::MachineConfiguration &conf) |
Static Public Member Functions inherited from DesignSpaceExplorer | |
| static DesignSpaceExplorerPlugin * | loadExplorerPlugin (const std::string &pluginName, DSDBManager *dsdb=NULL) |
Protected Member Functions inherited from DesignSpaceExplorerPlugin | |
| DesignSpaceExplorerPlugin () | |
| void | checkParameters () const |
Protected Member Functions inherited from DesignSpaceExplorer | |
| TTAProgram::Program * | schedule (const std::string applicationFile, TTAMachine::Machine &machine, TCEString paramOptions="-O3") |
| const ExecutionTrace * | simulate (const TTAProgram::Program &program, const TTAMachine::Machine &machine, const TestApplication &testApplication, const ClockCycleCount &maxCycles, ClockCycleCount &runnedCycles, const bool tracing, const bool useCompiledSimulation=false, std::vector< ClockCycleCount > *executionCounts=NULL) |
Protected Attributes inherited from DesignSpaceExplorerPlugin | |
| std::string | pluginName_ |
| the name of the explorer plugin | |
| ParameterMap | parameters_ |
| Parameters for the plugin. | |
Explorer plugin that creates wide load store unit.
Supported parameters:
Definition at line 68 of file VectorLSGenerator.cc.
|
inlineprivate |
Definition at line 71 of file VectorLSGenerator.cc.
References DesignSpaceExplorerPlugin::addParameter(), addressSpaces_, AddressSpacesPN_, nodeCount_, NodeCountPN_, STRING, Conversion::toString(), and UINT.

|
inlineprivate |
Adds operation to function unit, sets the port bindings and pipeline parameters.
Definition at line 185 of file VectorLSGenerator.cc.
References TTAMachine::ExecutionPipeline::addPortRead(), TTAMachine::ExecutionPipeline::addPortWrite(), assert, TTAMachine::HWOperation::bindPort(), TTAMachine::HWOperation::isBound(), Operation::name(), Operation::numberOfInputs(), Operation::numberOfOutputs(), TTAMachine::FunctionUnit::operationPort(), TTAMachine::HWOperation::pipeline(), and Conversion::toString().
Referenced by createVectorLSU().

|
inlineprivate |
Create single instance of vector load store unit, starting from empty unit.
Definition at line 228 of file VectorLSGenerator.cc.
References __func__, addOperation(), assert, TTAMachine::AddressSpace::end(), TCEString::endsWith(), TTAMachine::FunctionUnit::hasOperation(), TTAMachine::FUPort::isOpcodeSetting(), TTAMachine::FUPort::isTriggering(), OperationIndex::moduleCount(), nodeCount_, Operation::numberOfInputs(), Operation::numberOfOutputs(), OperationIndex::operationCount(), OperationIndex::operationName(), MathTools::requiredBits(), TCEString::startsWith(), Conversion::toString(), and Operation::usesMemory().
Referenced by explore().

|
inlineprivatevirtual |
Explorer plugin that adds machine components to a given machine with adf parameter or with configuration id in dsdb.
Reimplemented from DesignSpaceExplorerPlugin.
Definition at line 95 of file VectorLSGenerator.cc.
References __func__, DSDBManager::addArchitecture(), DSDBManager::addConfiguration(), TTAMachine::Machine::addFunctionUnit(), TTAMachine::Machine::addressSpaceNavigator(), addressSpaces_, DSDBManager::architecture(), DSDBManager::MachineConfiguration::architectureID, StringTools::chopString(), DSDBManager::configuration(), createVectorLSU(), DesignSpaceExplorer::db(), Exception::errorMessageStack(), DSDBManager::MachineConfiguration::hasImplementation, TTAMachine::Machine::Navigator< ComponentType >::hasItem(), TTAMachine::Machine::Navigator< ComponentType >::item(), TTAMachine::Component::name(), readParameters(), and TTAMachine::FunctionUnit::setAddressSpace().

|
private |
|
inlineprivatevirtual |
Implements DesignSpaceExplorerPlugin.
Definition at line 85 of file VectorLSGenerator.cc.
|
inlineprivate |
Reads the parameters given to the plugin.
Definition at line 177 of file VectorLSGenerator.cc.
References addressSpaces_, AddressSpacesPN_, nodeCount_, NodeCountPN_, and DesignSpaceExplorerPlugin::readOptionalParameter().
Referenced by explore().

|
inlineprivatevirtual |
Reimplemented from DesignSpaceExplorerPlugin.
Definition at line 88 of file VectorLSGenerator.cc.
|
inlineprivatevirtual |
Implements DesignSpaceExplorerPlugin.
Definition at line 86 of file VectorLSGenerator.cc.
|
inlineprivatevirtual |
Implements DesignSpaceExplorerPlugin.
Definition at line 87 of file VectorLSGenerator.cc.
|
inlineprivatevirtual |
Implements DesignSpaceExplorerPlugin.
Definition at line 84 of file VectorLSGenerator.cc.
|
private |
Definition at line 172 of file VectorLSGenerator.cc.
Referenced by explore(), readParameters(), and VectorLSGenerator().
|
staticprivate |
Definition at line 169 of file VectorLSGenerator.cc.
Referenced by readParameters(), and VectorLSGenerator().
|
private |
Definition at line 171 of file VectorLSGenerator.cc.
Referenced by createVectorLSU(), readParameters(), and VectorLSGenerator().
|
staticprivate |
Definition at line 168 of file VectorLSGenerator.cc.
Referenced by readParameters(), and VectorLSGenerator().
|
private |
Selector used by the plugin.
Definition at line 166 of file VectorLSGenerator.cc.