20 #ifndef TLM_CORE_TLM_INITIATOR_SOCKET_H_INCLUDED_ 21 #define TLM_CORE_TLM_INITIATOR_SOCKET_H_INCLUDED_ 26 #if defined(__clang__) || \ 27 (defined(__GNUC__) && ((__GNUC__ * 1000 + __GNUC_MINOR__) >= 4006)) 29 #pragma GCC diagnostic push 30 #pragma GCC diagnostic ignored "-Woverloaded-virtual" 35 template <
unsigned int BUSWIDTH = 32,
36 typename FW_IF = tlm_fw_transport_if<>,
37 typename BW_IF = tlm_bw_transport_if<> >
52 template <
unsigned int BUSWIDTH,
56 template <
unsigned int BUSWIDTH,
62 template <
unsigned int BUSWIDTH = 32,
85 template <
unsigned int,
typename,
typename,
int, sc_core::sc_port_policy>
101 virtual const char*
kind()
const 103 return "tlm_base_initiator_socket";
113 virtual void bind(base_target_socket_type& s)
121 void operator() (base_target_socket_type& s)
130 virtual void bind(base_type& s)
138 void operator() (base_type& s)
147 virtual void bind(bw_interface_type& ifs)
152 void operator() (bw_interface_type& s)
195 template <
unsigned int BUSWIDTH = 32,
201 tlm_fw_transport_if<TYPES>,
202 tlm_bw_transport_if<TYPES>,
222 virtual const char*
kind()
const 224 return "tlm_initiator_socket";
229 return typeid(TYPES);
235 #if defined(__clang__) || \ 236 (defined(__GNUC__) && ((__GNUC__ * 1000 + __GNUC_MINOR__) >= 4006)) 237 #pragma GCC diagnostic pop 240 #endif // TLM_CORE_TLM_INITIATOR_SOCKET_H_INCLUDED_ virtual void bind(base_type &s)
sc_core::sc_port< fw_interface_type, N, POL > port_type
virtual sc_core::sc_export< BW_IF > & get_base_export()=0
tlm_base_target_socket_b< BUSWIDTH, fw_interface_type, bw_interface_type > base_target_socket_type
virtual void bind(bw_interface_type &ifs)
sc_core::sc_export< bw_interface_type > export_type
virtual const char * kind() const
virtual sc_core::sc_port_b< FW_IF > const & get_base_port() const
virtual BW_IF const & get_base_interface() const
virtual sc_core::sc_export_base const & get_export_base() const
virtual sc_core::sc_type_index get_protocol_types() const
virtual sc_core::sc_port_b< BW_IF > & get_base_port()=0
virtual sc_core::sc_export< BW_IF > & get_base_export()
virtual tlm_socket_category get_socket_category() const
virtual BW_IF & get_base_interface()=0
tlm_base_initiator_socket()
virtual sc_core::sc_port_b< FW_IF > & get_base_port()=0
virtual sc_core::sc_export_base & get_export_base()
SC_API const char * sc_gen_unique_name(const char *, bool preserve_first)
virtual unsigned int get_bus_width() const
virtual sc_core::sc_port_base & get_port_base()
virtual FW_IF & get_base_interface()=0
virtual BW_IF & get_base_interface()
virtual sc_core::sc_export< BW_IF > const & get_base_export() const
virtual void bind(base_target_socket_type &s)
tlm_initiator_socket(const char *name)
virtual ~tlm_base_initiator_socket_b()
tlm_base_initiator_socket(const char *name)
virtual sc_core::sc_port_b< FW_IF > & get_base_port()
virtual const char * kind() const
virtual sc_core::sc_port_base const & get_port_base() const
tlm_base_initiator_socket_b< BUSWIDTH, fw_interface_type, bw_interface_type > base_type