Added RFM to Config
This commit is contained in:
@@ -179,6 +179,13 @@ void Configuration::setParameter(const std::string &name, const nlohmann::json &
|
||||
else
|
||||
SC_REPORT_FATAL("Configuration", "Unsupported power down policy!");
|
||||
}
|
||||
else if (name == "RFM")
|
||||
{
|
||||
if(value == "Enabled")
|
||||
{
|
||||
RFM = true;
|
||||
}
|
||||
}
|
||||
else if (name == "PowerDownTimeout")
|
||||
powerDownTimeout = value;
|
||||
else if (name == "MaxActiveTransactions")
|
||||
|
||||
@@ -80,6 +80,7 @@ public:
|
||||
enum class PowerDownPolicy {NoPowerDown, Staggered} powerDownPolicy;
|
||||
unsigned int powerDownTimeout = 3;
|
||||
unsigned int maxActiveTransactions = 64;
|
||||
bool RFM = false;
|
||||
sc_core::sc_time arbitrationDelayFw = sc_core::SC_ZERO_TIME;
|
||||
sc_core::sc_time arbitrationDelayBw = sc_core::SC_ZERO_TIME;
|
||||
sc_core::sc_time thinkDelayFw = sc_core::SC_ZERO_TIME;
|
||||
|
||||
Reference in New Issue
Block a user