TLM-2.0
2.0.4
Accellera TLM-2.0 proof-of-concept library
|
#include <tlm_core/tlm_2/tlm_sockets/tlm_initiator_socket.h>
Public Types | |
typedef FW_IF | fw_interface_type |
typedef BW_IF | bw_interface_type |
typedef sc_core::sc_port< bw_interface_type, N, POL > | port_type |
typedef sc_core::sc_export< fw_interface_type > | export_type |
typedef tlm_base_initiator_socket_b< BUSWIDTH, fw_interface_type, bw_interface_type > | base_initiator_socket_type |
typedef tlm_base_target_socket_b< BUSWIDTH, fw_interface_type, bw_interface_type > | base_type |
typedef unsigned | phase_cb_mask |
typedef sc_export_base | this_type |
Public Member Functions | |
tlm_base_target_socket () | |
tlm_base_target_socket (const char *name) | |
virtual const char * | kind () const |
virtual void | bind (base_initiator_socket_type &s) |
void | operator() (base_initiator_socket_type &s) |
virtual void | bind (base_type &s) |
void | operator() (base_type &s) |
virtual void | bind (fw_interface_type &ifs) |
void | operator() (fw_interface_type &s) |
int | size () const |
bw_interface_type * | operator-> () |
bw_interface_type * | operator[] (int i) |
virtual sc_core::sc_port_base & | get_port_base () |
virtual sc_core::sc_port_base const & | get_port_base () const |
virtual sc_core::sc_export_base & | get_export_base () |
virtual sc_core::sc_export_base const & | get_export_base () const |
virtual unsigned int | get_bus_width () const |
virtual tlm_socket_category | get_socket_category () const |
virtual sc_core::sc_port_b< BW_IF > & | get_base_port () |
virtual sc_core::sc_port_b< BW_IF > const & | get_base_port () const |
virtual FW_IF & | get_base_interface () |
virtual FW_IF const & | get_base_interface () const |
virtual sc_core::sc_export< FW_IF > & | get_base_export () |
virtual sc_core::sc_export< FW_IF > const & | get_base_export () const |
virtual sc_core::sc_type_index | get_protocol_types () const =0 |
virtual sc_interface * | get_interface () |
virtual const sc_interface * | get_interface () const |
const IF * | operator-> () const |
operator IF & () | |
operator const IF & () const | |
SC_VIRTUAL_ void | bind (IF &interface_) |
void | operator() (IF &interface_) |
virtual sc_type_index | get_interface_type () const |
const char * | name () const |
const char * | basename () const |
virtual void | print (::std::ostream &os=::std::cout) const |
virtual void | dump (::std::ostream &os=::std::cout) const |
virtual void | trace (sc_trace_file *tf) const |
sc_simcontext * | simcontext () const |
bool | add_attribute (sc_attr_base &) |
sc_attr_base * | get_attribute (const std::string &name_) |
const sc_attr_base * | get_attribute (const std::string &name_) const |
sc_attr_base * | remove_attribute (const std::string &name_) |
void | remove_all_attributes () |
int | num_attributes () const |
sc_attr_cltn & | attr_cltn () |
const sc_attr_cltn & | attr_cltn () const |
virtual const std::vector< sc_event * > & | get_child_events () const |
virtual const std::vector< sc_object * > & | get_child_objects () const |
sc_object * | get_parent () const |
sc_object * | get_parent_object () const |
Protected Member Functions | |
virtual void | before_end_of_elaboration () |
virtual void | end_of_elaboration () |
virtual void | start_of_simulation () |
virtual void | end_of_simulation () |
void | report_error (const char *id, const char *add_msg=0) const |
virtual void | add_child_event (sc_event *event_p) |
virtual void | add_child_object (sc_object *object_p) |
virtual bool | remove_child_event (sc_event *event_p) |
virtual bool | remove_child_object (sc_object *object_p) |
phase_cb_mask | register_simulation_phase_callback (phase_cb_mask) |
phase_cb_mask | unregister_simulation_phase_callback (phase_cb_mask) |
Protected Attributes | |
port_type | m_port |
IF * | m_interface_p |
Friends | |
template<unsigned int, typename , typename , int , sc_core::sc_port_policy > | |
class | tlm_base_initiator_socket |
Definition at line 60 of file tlm_initiator_socket.h.
typedef tlm_base_initiator_socket_b<BUSWIDTH, fw_interface_type, bw_interface_type> tlm::tlm_base_target_socket< BUSWIDTH, FW_IF, BW_IF, N, POL >::base_initiator_socket_type |
Definition at line 69 of file tlm_target_socket.h.
typedef tlm_base_target_socket_b<BUSWIDTH, fw_interface_type, bw_interface_type> tlm::tlm_base_target_socket< BUSWIDTH, FW_IF, BW_IF, N, POL >::base_type |
Definition at line 73 of file tlm_target_socket.h.
typedef BW_IF tlm::tlm_base_target_socket< BUSWIDTH, FW_IF, BW_IF, N, POL >::bw_interface_type |
Definition at line 63 of file tlm_target_socket.h.
typedef sc_core::sc_export<fw_interface_type> tlm::tlm_base_target_socket< BUSWIDTH, FW_IF, BW_IF, N, POL >::export_type |
Definition at line 66 of file tlm_target_socket.h.
typedef FW_IF tlm::tlm_base_target_socket< BUSWIDTH, FW_IF, BW_IF, N, POL >::fw_interface_type |
Definition at line 62 of file tlm_target_socket.h.
typedef sc_core::sc_port<bw_interface_type, N , POL> tlm::tlm_base_target_socket< BUSWIDTH, FW_IF, BW_IF, N, POL >::port_type |
Definition at line 64 of file tlm_target_socket.h.
|
inline |
Definition at line 79 of file tlm_target_socket.h.
|
inlineexplicit |
Definition at line 85 of file tlm_target_socket.h.
|
inlinevirtual |
Definition at line 103 of file tlm_target_socket.h.
|
inlinevirtual |
Definition at line 120 of file tlm_target_socket.h.
|
inlinevirtual |
Definition at line 137 of file tlm_target_socket.h.
|
inlinevirtual |
Implements tlm::tlm_base_target_socket_b< BUSWIDTH, FW_IF, BW_IF >.
Reimplemented in tlm_utils::multi_passthrough_target_socket< MODULE, BUSWIDTH, TYPES, N, POL >, and tlm_utils::multi_passthrough_target_socket< MODULE, BUSWIDTH, TYPES, N, sc_core::SC_ZERO_OR_MORE_BOUND >.
Definition at line 201 of file tlm_target_socket.h.
|
inlinevirtual |
Reimplemented in tlm_utils::multi_passthrough_target_socket< MODULE, BUSWIDTH, TYPES, N, POL >, and tlm_utils::multi_passthrough_target_socket< MODULE, BUSWIDTH, TYPES, N, sc_core::SC_ZERO_OR_MORE_BOUND >.
Definition at line 203 of file tlm_target_socket.h.
|
inlinevirtual |
Implements tlm::tlm_base_target_socket_b< BUSWIDTH, FW_IF, BW_IF >.
Reimplemented in tlm_utils::multi_passthrough_target_socket< MODULE, BUSWIDTH, TYPES, N, POL >, and tlm_utils::multi_passthrough_target_socket< MODULE, BUSWIDTH, TYPES, N, sc_core::SC_ZERO_OR_MORE_BOUND >.
Definition at line 196 of file tlm_target_socket.h.
|
inlinevirtual |
Reimplemented in tlm_utils::multi_passthrough_target_socket< MODULE, BUSWIDTH, TYPES, N, POL >, and tlm_utils::multi_passthrough_target_socket< MODULE, BUSWIDTH, TYPES, N, sc_core::SC_ZERO_OR_MORE_BOUND >.
Definition at line 198 of file tlm_target_socket.h.
|
inlinevirtual |
Implements tlm::tlm_base_target_socket_b< BUSWIDTH, FW_IF, BW_IF >.
Definition at line 191 of file tlm_target_socket.h.
|
inlinevirtual |
Definition at line 193 of file tlm_target_socket.h.
|
inlinevirtual |
Implements tlm::tlm_base_socket_if.
Definition at line 185 of file tlm_target_socket.h.
|
inlinevirtual |
Implements tlm::tlm_base_socket_if.
Definition at line 181 of file tlm_target_socket.h.
|
inlinevirtual |
Implements tlm::tlm_base_socket_if.
Definition at line 183 of file tlm_target_socket.h.
|
inlinevirtual |
Implements tlm::tlm_base_socket_if.
Definition at line 177 of file tlm_target_socket.h.
|
inlinevirtual |
Implements tlm::tlm_base_socket_if.
Definition at line 179 of file tlm_target_socket.h.
|
pure virtualinherited |
Implemented in tlm::tlm_target_socket< BUSWIDTH, TYPES, N, POL >, tlm::tlm_target_socket< BUSWIDTH, TYPES, 1, sc_core::SC_ONE_OR_MORE_BOUND >, tlm::tlm_target_socket< BUSWIDTH, TYPES, 1, POL >, tlm::tlm_initiator_socket< BUSWIDTH, TYPES, N, POL >, tlm::tlm_initiator_socket< BUSWIDTH, TYPES, 1, sc_core::SC_ONE_OR_MORE_BOUND >, and tlm::tlm_initiator_socket< BUSWIDTH, TYPES, 1, POL >.
|
inlinevirtual |
Implements tlm::tlm_base_socket_if.
Reimplemented in tlm_utils::multi_target_base< BUSWIDTH, TYPES, N, POL >.
Definition at line 187 of file tlm_target_socket.h.
|
inlinevirtual |
Reimplemented from sc_core::sc_export< FW_IF >.
Reimplemented in tlm::tlm_target_socket< BUSWIDTH, TYPES, N, POL >, tlm::tlm_target_socket< BUSWIDTH, TYPES, 1, sc_core::SC_ONE_OR_MORE_BOUND >, and tlm::tlm_target_socket< BUSWIDTH, TYPES, 1, POL >.
Definition at line 91 of file tlm_target_socket.h.
|
inline |
Definition at line 111 of file tlm_target_socket.h.
|
inline |
Definition at line 128 of file tlm_target_socket.h.
|
inline |
Definition at line 147 of file tlm_target_socket.h.
|
inline |
Definition at line 163 of file tlm_target_socket.h.
|
inline |
Definition at line 171 of file tlm_target_socket.h.
|
inline |
Definition at line 155 of file tlm_target_socket.h.
|
friend |
Definition at line 76 of file tlm_target_socket.h.
|
protected |
Definition at line 207 of file tlm_target_socket.h.