summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/mem/packet_queue.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mem/packet_queue.cc b/src/mem/packet_queue.cc
index 77fba8883..37aa2dcda 100644
--- a/src/mem/packet_queue.cc
+++ b/src/mem/packet_queue.cc
@@ -106,7 +106,8 @@ PacketQueue::schedSendEvent(Tick when)
void
PacketQueue::schedSendTiming(PacketPtr pkt, Tick when, bool send_as_snoop)
{
- assert(when > curTick());
+ // we can still send a packet before the end of this tick
+ assert(when >= curTick());
// nothing on the list, or earlier than current front element,
// schedule an event