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 <jason@lowepower.com>
This commit is contained in:
Christian Menard 2017-02-09 19:15:46 -05:00
parent b5045005de
commit 0c4a69bcbf

View file

@ -261,7 +261,7 @@ SCSlavePort::pec(
sendRetryReq();
}
}
else if (phase == tlm::BEGIN_RESP)
if (phase == tlm::BEGIN_RESP)
{
CAUGHT_UP;