I'm using gem5 to simulate multi-core (or multi-cpu) environment, but I got
error about dram activate sanity check.
There is recordActivate (Tick act_tick) module In simple_dram.cc. In that
module, gem5 did sanity check.
It is true that in same DRAM device, it can't activate X times in tXAW. But
gem5 do not care the number of activate operations, only consider first and
last activation time.
I think, it need to check the number of activation operations too. Like
this,

void
SimpleDRAM::recordActivate(Tick act_tick)
{
   ...
 // sanity check
   if ( actTick.size() == activationLimit-1) {
         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);
      }
   }
   ...
}

Please help me.
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to