Power Down Checker fixed

This commit is contained in:
Felipe S. Prado
2016-08-16 15:22:14 +02:00
parent a4aa9141e7
commit 69dfbfe8aa

View File

@@ -55,6 +55,8 @@ sc_time PowerDownChecker::getTimeConstraintToEnterPowerDown(Command lastCmd, Com
constraint = config.memSpec.tXP;
} else if (lastCmd == Command::SREFX) {
constraint = config.memSpec.tXSR;
} else if(lastCmd == Command::Precharge || lastCmd == Command::PrechargeAll) {
constraint = config.memSpec.tRP;
} else {
reportFatal("Powerdown checker", commandToString(pdnCmd) + " can not follow " + commandToString(lastCmd));
}