diff options
author | Andreas Hansson <andreas.hansson@arm.com> | 2013-08-19 03:52:26 -0400 |
---|---|---|
committer | Andreas Hansson <andreas.hansson@arm.com> | 2013-08-19 03:52:26 -0400 |
commit | d5593f3c75c9d005b89788647a9383e791c9c2a2 (patch) | |
tree | 4fa5251c3db5c90f512cd1135704f783fda013a8 /src | |
parent | 7bc3eaec7a7a67b821774bea4298418241cbf815 (diff) | |
download | gem5-d5593f3c75c9d005b89788647a9383e791c9c2a2.tar.xz |
mem: Warn instead of panic for tXAW violation
Until the performance bug is fixed, avoid killing simulations.
Diffstat (limited to 'src')
-rw-r--r-- | src/mem/simple_dram.cc | 7 |
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 |