Added RFM to Config

This commit is contained in:
Matthias Jung
2021-08-27 18:01:31 +02:00
parent 4f109d3646
commit d579f6f8ea
2 changed files with 8 additions and 0 deletions

View File

@@ -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")

View File

@@ -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;