OpenASIP
2.0
|
#include <RFCostEstimationPlugin.hh>
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... | |
A base interface for all classes that implement pluggable register file cost estimation algorithms.
Definition at line 67 of file RFCostEstimationPlugin.hh.
CostEstimator::RFCostEstimationPlugin::RFCostEstimationPlugin | ( | const std::string & | name | ) |
Constructor.
Definition at line 44 of file RFCostEstimationPlugin.cc.
|
virtual |
|
virtual |
Estimates the area of the given RF.
architecture | The RF architecture of which area to estimate. |
implementation | (The location of) the implementation of RF. |
area | The variable to store the area estimate into. |
Reimplemented in InterpolatingRFEstimator, and StrictMatchRFEstimator.
Definition at line 64 of file RFCostEstimationPlugin.cc.
|
virtual |
Estimates the energy consumed by the given RF when running the given program.
architecture | The RF architecture of which area to estimate. |
implementation | (The location of) the implementation of RF. Can be an instance of NullFUImplementationLocation. |
program | The program of which energy to calculate. |
traceDB | The simulation trace database of the program running in the target architecture which can be used in the estimation algorithm. |
energy | The variable to store the energy estimate into. |
Reimplemented in StrictMatchRFEstimator, and InterpolatingRFEstimator.
Definition at line 88 of file RFCostEstimationPlugin.cc.
|
virtual |
Estimates the maximum "computation delay" of the given RF.
The maximum computation delay is the longest stage in the RF's execution. It's used mainly for calculating the maximum clock frequency of target architecture.
architecture | The RF architecture of which area to estimate. |
implementation | (The location of) the implementation of RF. Can be an instance of NullRFImplementationLocation. |
computationDelay | The variable to store the delay estimate into. |
Reimplemented in InterpolatingRFEstimator, and StrictMatchRFEstimator.
Definition at line 149 of file RFCostEstimationPlugin.cc.
|
virtual |
Estimates the output delay of the given RF port.
port | The RF port of which output delay to estimate. |
implementation | (The location of) the implementation of RF. |
outputDelay | The variable to store the delay estimate into. |
Reimplemented in InterpolatingRFEstimator, and StrictMatchRFEstimator.
Definition at line 126 of file RFCostEstimationPlugin.cc.
|
virtual |
Estimates the input delay of the given RF port.
port | The RF port of which input delay to estimate. |
implementation | (The location of) the implementation of RF. |
inputDelay | The variable to store the delay estimate into. |
Reimplemented in InterpolatingRFEstimator, and StrictMatchRFEstimator.
Definition at line 108 of file RFCostEstimationPlugin.cc.