mem: Fix scheduling bug in SimpleMemory
authorAndreas Hansson <andreas.hansson@arm.com>
Wed, 18 Sep 2013 12:46:33 +0000 (08:46 -0400)
committerAndreas Hansson <andreas.hansson@arm.com>
Wed, 18 Sep 2013 12:46:33 +0000 (08:46 -0400)
commit9aa939891f9d8250dde552638bb03d3f3b6ba268
treeb460bd3a218441a480315c2dd31d02c77bb034be
parentcecb951f603bd3105a0de0fdf9fefa9780c2f20e
mem: Fix scheduling bug in SimpleMemory

This patch ensures that a dequeue event is not scheduled if the memory
controller is waiting for a retry already. Without this check it is
possible for the controller to attempt sending something whilst
already having one packet that is in retry, thus causing the bus to
have an assertion failure.
src/mem/simple_mem.cc