From: Andreas Hansson Date: Mon, 19 Aug 2013 07:52:26 +0000 (-0400) Subject: mem: Warn instead of panic for tXAW violation X-Git-Tag: stable_2014_02_15~178 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d5593f3c75c9d005b89788647a9383e791c9c2a2;p=gem5.git mem: Warn instead of panic for tXAW violation Until the performance bug is fixed, avoid killing simulations. --- diff --git a/src/mem/simple_dram.cc b/src/mem/simple_dram.cc index 3d8f71ee9..9091288ec 100644 --- a/src/mem/simple_dram.cc +++ b/src/mem/simple_dram.cc @@ -858,9 +858,10 @@ 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 " - "than %d\n", activationLimit, act_tick - actTicks.back(), - act_tick, actTicks.back(), tXAW); + // @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); } // shift the times used for the book keeping, the last element