Added fatal error if ControllerCoreEnableRefPostpone is enabled and memSpec is not DDR3
This commit is contained in:
@@ -205,7 +205,12 @@ void Configuration::setParameter(std::string name, std::string value)
|
||||
else if (name == "ControllerCoreForceMaxRefPostpone")
|
||||
ControllerCoreForceMaxRefPostpone = string2bool(value);
|
||||
else if (name == "ControllerCoreEnableRefPostpone")
|
||||
{
|
||||
ControllerCoreEnableRefPostpone = string2bool(value);
|
||||
if (ControllerCoreEnableRefPostpone && memSpec.MemoryType != "DDR3") {
|
||||
SC_REPORT_FATAL("Configuration", (name + " requires memory type DDR3.").c_str());
|
||||
}
|
||||
}
|
||||
else if (name == "ControllerCoreMaxPostponedARCmd")
|
||||
ControllerCoreMaxPostponedARCmd = string2int(value);
|
||||
else if (name == "ThermalSimulation")
|
||||
|
||||
Reference in New Issue
Block a user