changeset 9487cdff1bc3 in /z/repo/gem5
details: http://repo.gem5.org/gem5?cmd=changeset;node=9487cdff1bc3
description:
        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 <ja...@lowepower.com>

diffstat:

 util/tlm/sc_slave_port.cc |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 77ab27b06d62 -r 9487cdff1bc3 util/tlm/sc_slave_port.cc
--- a/util/tlm/sc_slave_port.cc Thu Feb 09 19:15:43 2017 -0500
+++ b/util/tlm/sc_slave_port.cc Thu Feb 09 19:15:46 2017 -0500
@@ -261,7 +261,7 @@
             sendRetryReq();
         }
     }
-    else if (phase == tlm::BEGIN_RESP)
+    if (phase == tlm::BEGIN_RESP)
     {
         CAUGHT_UP;
 
_______________________________________________
gem5-dev mailing list
gem5-dev@gem5.org
http://m5sim.org/mailman/listinfo/gem5-dev

Reply via email to