mem: Warn instead of panic for tXAW violation

Until the performance bug is fixed, avoid killing simulations.
This commit is contained in:
Andreas Hansson 2013-08-19 03:52:26 -04:00
parent 7bc3eaec7a
commit d5593f3c75

View file

@ -858,7 +858,8 @@ SimpleDRAM::recordActivate(Tick act_tick)
// sanity check
if (actTicks.back() && (act_tick - actTicks.back()) < tXAW) {
panic("Got %d activates in window %d (%d - %d) which is smaller "
// @todo For now, stick with a warning
warn("Got %d activates in window %d (%d - %d) which is smaller "
"than %d\n", activationLimit, act_tick - actTicks.back(),
act_tick, actTicks.back(), tXAW);
}