From: Steve Reinhardt Date: Fri, 13 Jun 2008 05:33:49 +0000 (-0400) Subject: Get rid of bogus bus assertion. X-Git-Tag: m5_2.0_beta6~125 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=caccbd1edcacc82a952429950fcd4314b86b5b89;p=gem5.git Get rid of bogus bus assertion. It runs out that if a MemObject turns around and does a send in its receive callback, and there are other sends already scheduled, then it could observe a state where it's not at the head of the list but the bus's sendEvent is not scheduled (because we're still in the middle of processing the prior sendEvent). --- diff --git a/src/mem/tport.cc b/src/mem/tport.cc index ad5e95909..15c7fdf9f 100644 --- a/src/mem/tport.cc +++ b/src/mem/tport.cc @@ -103,11 +103,6 @@ SimpleTimingPort::schedSendTiming(PacketPtr pkt, Tick when) return; } - // list is non-empty and this is not the head, so event should - // already be scheduled - assert(waitingOnRetry || - (sendEvent->scheduled() && sendEvent->when() <= when)); - // list is non-empty & this belongs at the end if (when >= transmitList.back().tick) { transmitList.push_back(DeferredPacket(when, pkt));