Go to the documentation of this file.
20 #ifndef __SYSTEMC_EXT_TLM_CORE_2_SOCKETS_INITIATOR_SOCKET_HH__
21 #define __SYSTEMC_EXT_TLM_CORE_2_SOCKETS_INITIATOR_SOCKET_HH__
25 #include "../interfaces/fw_bw_ifs.hh"
31 template <
unsigned int BUSWIDTH=32,
34 class tlm_base_initiator_socket_b
47 template <
unsigned int BUSWIDTH,
typename FW_IF,
typename BW_IF>
48 class tlm_base_target_socket_b;
50 template <
unsigned int BUSWIDTH,
typename FW_IF,
typename BW_IF,
int N,
56 #pragma GCC diagnostic push
57 #pragma GCC diagnostic ignored "-Woverloaded-virtual"
58 template <
unsigned int BUSWIDTH=32,
typename FW_IF=tlm_fw_transport_if<>,
59 typename BW_IF=tlm_bw_transport_if<>,
int N=1,
60 sc_core::sc_port_policy POL=sc_core::SC_ONE_OR_MORE_BOUND>
79 template <
unsigned int,
typename,
typename,
int, sc_core::sc_port_policy>
86 "tlm_base_initiator_socket_export"))
91 (
std::string(
name) +
"_export").c_str()))
94 virtual const char*
kind()
const {
return "tlm_base_initiator_socket"; }
149 virtual unsigned int get_bus_width()
const {
return BUSWIDTH; }
177 #pragma GCC diagnostic pop
186 BUSWIDTH, tlm_fw_transport_if<TYPES>,
187 tlm_bw_transport_if<TYPES>, N, POL>
200 virtual const char *
kind()
const {
return "tlm_initiator_socket"; }
202 virtual std::type_index
205 return typeid(TYPES);
tlm_base_initiator_socket_b< BUSWIDTH, fw_interface_type, bw_interface_type > base_type
tlm_base_initiator_socket()
virtual BW_IF & get_base_interface()
virtual sc_core::sc_export< BW_IF > & get_base_export()
virtual std::type_index get_protocol_types() const
void operator()(base_target_socket_type &s)
sc_core::sc_port< fw_interface_type, N, POL > port_type
tlm_base_target_socket_b< BUSWIDTH, fw_interface_type, bw_interface_type > base_target_socket_type
const char * sc_gen_unique_name(const char *seed)
virtual tlm_socket_category get_socket_category() const
virtual const char * kind() const
virtual BW_IF & get_base_interface()=0
virtual sc_core::sc_export_base & get_export_base()
virtual void bind(base_target_socket_type &s)
Overload hash function for BasicBlockRange type.
const char * name() const
sc_core::sc_export< bw_interface_type > export_type
virtual unsigned int get_bus_width() const
virtual sc_core::sc_port_b< FW_IF > & get_base_port()
virtual ~tlm_base_initiator_socket_b()
virtual sc_core::sc_export< BW_IF > & get_base_export()=0
virtual const char * kind() const
virtual sc_core::sc_port_b< FW_IF > & get_base_port()=0
virtual sc_core::sc_port_base & get_port_base()
Generated on Wed Sep 30 2020 14:02:16 for gem5 by doxygen 1.8.17