From ed76b58aaf877c9f3141402a478ed384fc04650e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89der=20F=2E=20Zulian?= Date: Thu, 7 Jul 2016 15:58:40 +0200 Subject: [PATCH] Transport debug in Arbiter using the correct channel --- DRAMSys/simulator/src/simulation/Arbiter.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/DRAMSys/simulator/src/simulation/Arbiter.h b/DRAMSys/simulator/src/simulation/Arbiter.h index db8c46af..76939a08 100644 --- a/DRAMSys/simulator/src/simulation/Arbiter.h +++ b/DRAMSys/simulator/src/simulation/Arbiter.h @@ -137,9 +137,9 @@ private: virtual unsigned int transport_dbg(int id, tlm::tlm_generic_payload &trans) { - //appendDramExtension(id, trans); - //trans.acquire(); - return iSocket[id]->transport_dbg(trans); + DecodedAddress decodedAddress = xmlAddressDecoder::getInstance().decodeAddress(trans.get_address()); + return iSocket[decodedAddress.channel]->transport_dbg(trans); + } void peqCallback(tlm_generic_payload& payload, const tlm_phase& phase)