summaryrefslogtreecommitdiff
path: root/src/mem
diff options
context:
space:
mode:
authorAndreas Hansson <andreas.hansson@arm.com>2013-08-19 03:52:26 -0400
committerAndreas Hansson <andreas.hansson@arm.com>2013-08-19 03:52:26 -0400
commitd5593f3c75c9d005b89788647a9383e791c9c2a2 (patch)
tree4fa5251c3db5c90f512cd1135704f783fda013a8 /src/mem
parent7bc3eaec7a7a67b821774bea4298418241cbf815 (diff)
downloadgem5-d5593f3c75c9d005b89788647a9383e791c9c2a2.tar.xz
mem: Warn instead of panic for tXAW violation
Until the performance bug is fixed, avoid killing simulations.
Diffstat (limited to 'src/mem')
-rw-r--r--src/mem/simple_dram.cc7
1 files 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