From 0c4a69bcbf851e3ece8fae5b1159540206036ee8 Mon Sep 17 00:00:00 2001 From: Christian Menard Date: Thu, 9 Feb 2017 19:15:46 -0500 Subject: [PATCH] misc: Clean up and complete the gem5<->SystemC-TLM bridge [8/10] The current TLM bridge only provides a Slave Port that allows the gem5 world to send request to the SystemC world. This patch series refractors and cleans up the existing code, and adds a Master Port that allows the SystemC world to send requests to the gem5 world. This patch: * bugfix: The BEGIN_RESP also needs to be handled when END_REQ was * skipped and '&trans == blockingRequest && phase == tlm::BEGIN_RESP' evaluates to true. Reviewed at http://reviews.gem5.org/r/3797/ Signed-off-by: Jason Lowe-Power --- util/tlm/sc_slave_port.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/tlm/sc_slave_port.cc b/util/tlm/sc_slave_port.cc index b62c64724..8c6b051e9 100644 --- a/util/tlm/sc_slave_port.cc +++ b/util/tlm/sc_slave_port.cc @@ -261,7 +261,7 @@ SCSlavePort::pec( sendRetryReq(); } } - else if (phase == tlm::BEGIN_RESP) + if (phase == tlm::BEGIN_RESP) { CAUGHT_UP; -- 2.30.2