From d5593f3c75c9d005b89788647a9383e791c9c2a2 Mon Sep 17 00:00:00 2001 From: Andreas Hansson Date: Mon, 19 Aug 2013 03:52:26 -0400 Subject: [PATCH] mem: Warn instead of panic for tXAW violation Until the performance bug is fixed, avoid killing simulations. --- src/mem/simple_dram.cc | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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 -- 2.30.2