mem-ruby: fix functional reads in abstract ctrl
authorTiago Mück <tiago.muck@arm.com>
Tue, 29 Sep 2020 19:07:23 +0000 (14:07 -0500)
committerTiago Mück <tiago.muck@arm.com>
Thu, 11 Feb 2021 17:11:33 +0000 (17:11 +0000)
commitc1cb1f2f936603b9b3efdb38b952c105b75b3650
treed9ecdd17b173f859d12a92dc36756b7b18d4ff86
parent0183c584928e3740dc017e6d3b92c1e1e2e1a0ac
mem-ruby: fix functional reads in abstract ctrl

When calling functionalMemoryRead we need to check the mem req. queue
first as it may have write data not yet forwarded to the memory port.

Change-Id: Id37aa0837a3462d92ae9ac3b45ca756b2c4f7d97
Signed-off-by: Tiago Mück <tiago.muck@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/41153
Reviewed-by: Jason Lowe-Power <power.jg@gmail.com>
Maintainer: Jason Lowe-Power <power.jg@gmail.com>
Tested-by: kokoro <noreply+kokoro@google.com>
src/mem/ruby/slicc_interface/AbstractController.cc