OpenASIP
2.0
|
Additional Inherited Members | |
Protected Attributes inherited from CostEstimator::CostEstimationPlugin | |
std::string | name_ |
the name of the plugin class in the HDB; used to identify cost data More... | |
Definition at line 46 of file StrictMatchRFEstimator.cc.
|
inline |
Definition at line 48 of file StrictMatchRFEstimator.cc.
|
inlinevirtual |
Definition at line 52 of file StrictMatchRFEstimator.cc.
StrictMatchRFEstimator::DESCRIPTION | ( | "Simple RF cost estimator plugin that estimates costs of RFs " "simply by looking up direct matches from HDB. In case there's " "no cost data available for the given | RF, |
it 's unable to estimate " "it by using linearization etc." | |||
) |
|
inlinevirtual |
Estimates the register file's area by fetching cost data named 'area' from HDB.
Reimplemented from CostEstimator::RFCostEstimationPlugin.
Definition at line 67 of file StrictMatchRFEstimator.cc.
References debugLog, DataObject::doubleValue(), Exception::errorMessage(), implementation, Application::logStream(), and HDB::HDBManager::rfCostEstimationData().
|
inlinevirtual |
Estimates the energy consumed by given RF.
Estimate is done by computing the sum of all register file access type energies and RF idle energy. Register file access energies are stored with entries named 'rf_access_energy Nr Nw'. Nr is the number of read accesses, Nw the number of write accesses. For example, 'rf_access_energy 1 3' is the name of entry which tells how much energy is consumed by the RF in case RF is accessed simultaneously once for reading and trice for writing. Idle energy is stored in entry 'rf_idle_energy'.
Reimplemented from CostEstimator::RFCostEstimationPlugin.
Definition at line 230 of file StrictMatchRFEstimator.cc.
References debugLog, DataObject::doubleValue(), Exception::errorMessage(), implementation, Application::logStream(), TTAMachine::Component::name(), ExecutionTrace::registerFileAccessCounts(), HDB::HDBManager::rfCostEstimationData(), ExecutionTrace::simulatedCycleCount(), Conversion::toString(), and trace.
|
inlinevirtual |
Estimates the register file maximum computation delay by fetching cost data named 'computation_delay' from HDB.
Reimplemented from CostEstimator::RFCostEstimationPlugin.
Definition at line 186 of file StrictMatchRFEstimator.cc.
References debugLog, DataObject::doubleValue(), Exception::errorMessage(), implementation, Application::logStream(), and HDB::HDBManager::rfCostEstimationData().
|
inlinevirtual |
Estimates the register file port read delay by fetching cost data named 'output_delay' from HDB.
Assumes that all ports have the same output delay, that is, there is only one 'output_delay' entry for a RF in HDB.
Reimplemented from CostEstimator::RFCostEstimationPlugin.
Definition at line 149 of file StrictMatchRFEstimator.cc.
References debugLog, DataObject::doubleValue(), Exception::errorMessage(), implementation, Application::logStream(), and HDB::HDBManager::rfCostEstimationData().
|
inlinevirtual |
Estimates the register file port write delay by fetching cost data named 'input_delay' from HDB.
Assumes that all ports have the same input delay, that is, there is only one 'input_delay' entry for a RF in HDB.
Reimplemented from CostEstimator::RFCostEstimationPlugin.
Definition at line 108 of file StrictMatchRFEstimator.cc.
References debugLog, DataObject::doubleValue(), Exception::errorMessage(), implementation, Application::logStream(), and HDB::HDBManager::rfCostEstimationData().