Go to the documentation of this file.
20 #ifndef __SYSTEMC_EXT_TLM_CORE_2_SOCKETS_TARGET_SOCKET_HH__
21 #define __SYSTEMC_EXT_TLM_CORE_2_SOCKETS_TARGET_SOCKET_HH__
25 #include "../interfaces/fw_bw_ifs.hh"
31 template <
unsigned int BUSWIDTH=32,
typename FW_IF=tlm_fw_transport_if<>,
32 typename BW_IF=tlm_bw_transport_if<>>
33 class tlm_base_target_socket_b
43 template <
unsigned int BUSWIDTH,
typename FW_IF,
typename BW_IF>
44 class tlm_base_initiator_socket_b;
46 template <
unsigned int BUSWIDTH,
typename FW_IF,
typename BW_IF,
int N,
48 class tlm_base_initiator_socket;
50 template <
unsigned int BUSWIDTH=32,
typename FW_IF=tlm_fw_transport_if<>,
51 typename BW_IF=tlm_bw_transport_if<>,
int N=1,
52 sc_core::sc_port_policy POL=sc_core::SC_ONE_OR_MORE_BOUND>
53 class tlm_base_target_socket :
54 public tlm_base_socket_if,
55 public tlm_base_target_socket_b<BUSWIDTH, FW_IF, BW_IF>,
64 typedef tlm_base_initiator_socket_b<
68 typedef tlm_base_target_socket_b<
71 template <
unsigned int,
typename,
typename,
int, sc_core::sc_port_policy>
82 (
std::string(
name) +
"_port").c_str()))
85 virtual const char *
kind()
const {
return "tlm_base_target_socket"; }
165 virtual unsigned int get_bus_width()
const {
return BUSWIDTH; }
198 BUSWIDTH, tlm_fw_transport_if<TYPES>,
199 tlm_bw_transport_if<TYPES>, N, POL>
214 virtual const char*
kind()
const {
return "tlm_target_socket"; }
216 virtual std::type_index
219 return typeid(TYPES);
virtual sc_core::sc_port_b< BW_IF > & get_base_port()=0
virtual FW_IF & get_base_interface()=0
virtual const char * kind() const
tlm_base_target_socket_b< BUSWIDTH, fw_interface_type, bw_interface_type > base_type
virtual sc_core::sc_port_base & get_port_base()
virtual std::type_index get_protocol_types() const
tlm_base_initiator_socket_b< BUSWIDTH, fw_interface_type, bw_interface_type > base_initiator_socket_type
void operator()(base_initiator_socket_type &s)
sc_core::sc_export< fw_interface_type > export_type
virtual sc_core::sc_port_b< BW_IF > & get_base_port()
virtual unsigned int get_bus_width() const
const char * sc_gen_unique_name(const char *seed)
bw_interface_type * operator->()
virtual const char * kind() const
const std::string & name()
virtual sc_core::sc_export< FW_IF > & get_base_export()=0
Overload hash function for BasicBlockRange type.
sc_core::sc_port< bw_interface_type, N, POL > port_type
virtual sc_core::sc_export< FW_IF > & get_base_export()
virtual void bind(base_initiator_socket_type &s)
bw_interface_type * operator[](int i)
virtual FW_IF & get_base_interface()
virtual ~tlm_base_target_socket_b()
virtual sc_core::sc_export_base & get_export_base()
virtual tlm_socket_category get_socket_category() const
Generated on Wed Sep 30 2020 14:02:16 for gem5 by doxygen 1.8.17