20#ifndef __EXTENSIONS_ADAPTORS_H__
21#define __EXTENSIONS_ADAPTORS_H__
26#include "tlm_utils/simple_initiator_socket.h"
27#include "tlm_utils/simple_target_socket.h"
29template <
unsigned int BUSWIDTH = 32>
101template <
unsigned int BUSWIDTH = 32>
adapt_ext2gp(sc_core::sc_module_name name_)
tlm_utils::simple_target_socket< adapt_ext2gp, BUSWIDTH, my_extended_payload_types > target_socket_type
bool get_dmi_pointer(target_payload_type &trans, tlm::tlm_dmi &dmi_data)
void invalidate_dmi_pointers(sc_dt::uint64 start_range, sc_dt::uint64 end_range)
SC_HAS_PROCESS(adapt_ext2gp)
target_socket_type target_socket
tlm::tlm_generic_payload initiator_payload_type
tlm::tlm_sync_enum forward_nb_transport(initiator_payload_type &trans, tlm::tlm_phase &phase, sc_core::sc_time &t)
unsigned int transport_debug(target_payload_type &trans)
tlm::tlm_sync_enum backward_nb_transport(target_payload_type &trans, tlm::tlm_phase &phase, sc_core::sc_time &t)
tlm_utils::simple_initiator_socket< adapt_ext2gp, BUSWIDTH, tlm::tlm_base_protocol_types > initiator_socket_type
tlm::tlm_generic_payload target_payload_type
initiator_socket_type initiator_socket
target_socket_type target_socket
void invalidate_dmi_pointers(sc_dt::uint64 start_range, sc_dt::uint64 end_range)
tlm::tlm_sync_enum backward_nb_transport(target_payload_type &trans, tlm::tlm_phase &phase, sc_core::sc_time &t)
initiator_socket_type initiator_socket
unsigned int transport_debug(target_payload_type &trans)
bool get_dmi_pointer(target_payload_type &trans, tlm::tlm_dmi &dmi_data)
tlm_utils::simple_target_socket< adapt_gp2ext, BUSWIDTH, tlm::tlm_base_protocol_types > target_socket_type
tlm::tlm_generic_payload initiator_payload_type
tlm::tlm_generic_payload target_payload_type
tlm::tlm_sync_enum forward_nb_transport(initiator_payload_type &trans, tlm::tlm_phase &phase, sc_core::sc_time &t)
tlm_utils::simple_initiator_socket< adapt_gp2ext, BUSWIDTH, my_extended_payload_types > initiator_socket_type
my_extension * m_initiator_ext
SC_HAS_PROCESS(adapt_gp2ext)
adapt_gp2ext(sc_core::sc_module_name name_)
void get_extension(T *&ext) const
void clear_extension(const T *ext)
T * set_extension(T *ext)
void register_nb_transport_bw(MODULE *mod, sync_enum_type(MODULE::*cb)(transaction_type &, phase_type &, sc_core::sc_time &))
void register_invalidate_direct_mem_ptr(MODULE *mod, void(MODULE::*cb)(sc_dt::uint64, sc_dt::uint64))
void register_nb_transport_fw(MODULE *mod, sync_enum_type(MODULE::*cb)(transaction_type &, phase_type &, sc_core::sc_time &))
void register_get_direct_mem_ptr(MODULE *mod, bool(MODULE::*cb)(transaction_type &, tlm::tlm_dmi &))
void register_transport_dbg(MODULE *mod, unsigned int(MODULE::*cb)(transaction_type &))