systemc: set Gem5ToTlmBridge blockingRrequest with TLM_UPDATE returning
authorYu-hsin Wang <yuhsingw@google.com>
Wed, 27 Jan 2021 03:15:43 +0000 (11:15 +0800)
committerYu-hsin Wang <yuhsingw@google.com>
Mon, 1 Feb 2021 02:56:12 +0000 (02:56 +0000)
commitf840d13c78d2346cef3240da9d9530e29bd025f8
treeb14ee3b8e043b3f5e2229e162e577e7c047e51eb
parentc8836142807e512beff11e16fbe4cc734c27d66d
systemc: set Gem5ToTlmBridge blockingRrequest with TLM_UPDATE returning

In Gem5ToTlmBridge::pec, the function expects blockingRequest should be
set no matter the tlm peer returns TLM_UPDATE or TLM_ACCEPTED.
However, current implementation only sets blockingRequest when the tlm
peer returns TLM_ACCEPTED. We should also set blockingRequest when the
tlm peer returns TLM_UPDATE.

Change-Id: I87bba3201cd68d52ded93c9c200f4fa4a40bdf5b
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/39815
Reviewed-by: Earl Ou <shunhsingou@google.com>
Maintainer: Gabe Black <gabe.black@gmail.com>
Tested-by: kokoro <noreply+kokoro@google.com>
src/systemc/tlm_bridge/gem5_to_tlm.cc