summaryrefslogtreecommitdiff
path: root/util/tlm/sc_slave_port.hh
diff options
context:
space:
mode:
Diffstat (limited to 'util/tlm/sc_slave_port.hh')
-rw-r--r--util/tlm/sc_slave_port.hh9
1 files changed, 2 insertions, 7 deletions
diff --git a/util/tlm/sc_slave_port.hh b/util/tlm/sc_slave_port.hh
index a42532cad..9e37ff4bb 100644
--- a/util/tlm/sc_slave_port.hh
+++ b/util/tlm/sc_slave_port.hh
@@ -67,12 +67,10 @@ namespace Gem5SystemC
* original packet as a payload extension, the packet can be restored and send
* back to the gem5 world upon receiving a response from the SystemC world.
*/
-class SCSlavePort : public tlm::tlm_initiator_socket<>,
- public tlm::tlm_bw_transport_if<>,
- public ExternalSlave::Port
+class SCSlavePort : public ExternalSlave::Port
{
public:
- SCSlavePort &iSocket;
+ tlm_utils::simple_initiator_socket<SCSlavePort> iSocket;
/** One instance of pe and the related callback needed */
//payloadEvent<SCSlavePort> pe;
@@ -111,9 +109,6 @@ class SCSlavePort : public tlm::tlm_initiator_socket<>,
tlm::tlm_phase& phase,
sc_core::sc_time& t);
- void invalidate_direct_mem_ptr(sc_dt::uint64 start_range,
- sc_dt::uint64 end_range);
-
public:
SCSlavePort(const std::string &name_,
const std::string &systemc_name,