TLM-2.0
2.0.4
Accellera TLM-2.0 proof-of-concept library
|
#include <tlm_utils/multi_socket_bases.h>
Public Types | |
typedef tlm::tlm_target_socket< BUSWIDTH, TYPES, N, POL > | base_type |
typedef tlm_fw_transport_if< TYPES > | fw_interface_type |
typedef tlm_bw_transport_if< TYPES > | 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 unsigned | phase_cb_mask |
typedef sc_export_base | this_type |
Public Member Functions | |
virtual multi_target_base * | get_hierarch_bind ()=0 |
virtual void | set_hierarch_bind (multi_target_base *)=0 |
virtual tlm::tlm_socket_category | get_socket_category () const |
virtual | ~multi_target_base () |
multi_target_base () | |
multi_target_base (const char *name) | |
virtual const char * | kind () const |
virtual sc_core::sc_type_index | get_protocol_types () const |
virtual void | bind (base_initiator_socket_type &s) |
virtual void | bind (base_type &s) |
virtual void | bind (fw_interface_type &ifs) |
SC_VIRTUAL_ void | bind (IF &interface_) |
void | operator() (base_initiator_socket_type &s) |
void | operator() (base_type &s) |
void | operator() (fw_interface_type &s) |
void | operator() (IF &interface_) |
int | size () const |
bw_interface_type * | operator-> () |
const IF * | operator-> () const |
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 sc_core::sc_port_b< tlm_bw_transport_if< TYPES > > & | get_base_port () |
virtual sc_core::sc_port_b< tlm_bw_transport_if< TYPES > > const & | get_base_port () const |
virtual tlm_fw_transport_if< TYPES > & | get_base_interface () |
virtual tlm_fw_transport_if< TYPES > const & | get_base_interface () const |
virtual sc_core::sc_export< tlm_fw_transport_if< TYPES > > & | get_base_export () |
virtual sc_core::sc_export< tlm_fw_transport_if< TYPES > > const & | get_base_export () const |
virtual sc_interface * | get_interface () |
virtual const sc_interface * | get_interface () const |
operator IF & () | |
operator const IF & () const | |
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 |
virtual std::vector< callback_binder_fw< TYPES > *> & | get_binders ()=0 |
virtual std::map< unsigned int, tlm::tlm_bw_transport_if< TYPES > * > & | get_multi_binds ()=0 |
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) |
void | display_warning (const char *msg) const |
void | display_error (const char *msg) const |
Protected Attributes | |
port_type | m_port |
IF * | m_interface_p |
Definition at line 395 of file multi_socket_bases.h.
|
inherited |
Definition at line 69 of file tlm_target_socket.h.
typedef tlm::tlm_target_socket<BUSWIDTH, TYPES, N, POL > tlm_utils::multi_target_base< BUSWIDTH, TYPES, N, POL >::base_type |
Definition at line 402 of file multi_socket_bases.h.
|
inherited |
Definition at line 63 of file tlm_target_socket.h.
|
inherited |
Definition at line 66 of file tlm_target_socket.h.
|
inherited |
Definition at line 62 of file tlm_target_socket.h.
|
inherited |
Definition at line 64 of file tlm_target_socket.h.
|
inlinevirtual |
Definition at line 419 of file multi_socket_bases.h.
|
inline |
Definition at line 420 of file multi_socket_bases.h.
|
inline |
Definition at line 421 of file multi_socket_bases.h.
|
inlinevirtualinherited |
Definition at line 103 of file tlm_target_socket.h.
|
inlinevirtualinherited |
Definition at line 120 of file tlm_target_socket.h.
|
inlinevirtualinherited |
Definition at line 137 of file tlm_target_socket.h.
|
inherited |
|
inherited |
|
inlinevirtualinherited |
Implements tlm::tlm_base_target_socket_b< BUSWIDTH, tlm_fw_transport_if< TYPES >, tlm_bw_transport_if< TYPES > >.
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.
|
inlinevirtualinherited |
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.
|
inlinevirtualinherited |
Implements tlm::tlm_base_target_socket_b< BUSWIDTH, tlm_fw_transport_if< TYPES >, tlm_bw_transport_if< TYPES > >.
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.
|
inlinevirtualinherited |
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.
|
inlinevirtualinherited |
Implements tlm::tlm_base_target_socket_b< BUSWIDTH, tlm_fw_transport_if< TYPES >, tlm_bw_transport_if< TYPES > >.
Definition at line 191 of file tlm_target_socket.h.
|
inlinevirtualinherited |
Definition at line 193 of file tlm_target_socket.h.
|
pure virtualinherited |
|
inlinevirtualinherited |
Implements tlm::tlm_base_socket_if.
Definition at line 185 of file tlm_target_socket.h.
|
inlinevirtualinherited |
Implements tlm::tlm_base_socket_if.
Definition at line 181 of file tlm_target_socket.h.
|
inlinevirtualinherited |
Implements tlm::tlm_base_socket_if.
Definition at line 183 of file tlm_target_socket.h.
|
pure virtual |
|
pure virtualinherited |
|
inlinevirtualinherited |
Implements tlm::tlm_base_socket_if.
Definition at line 177 of file tlm_target_socket.h.
|
inlinevirtualinherited |
Implements tlm::tlm_base_socket_if.
Definition at line 179 of file tlm_target_socket.h.
|
inlinevirtualinherited |
Implements tlm::tlm_base_socket_if.
Definition at line 247 of file tlm_target_socket.h.
|
inlinevirtual |
Reimplemented from tlm::tlm_base_target_socket< BUSWIDTH, tlm_fw_transport_if< TYPES >, tlm_bw_transport_if< TYPES >, N, POL >.
Definition at line 413 of file multi_socket_bases.h.
|
inlinevirtualinherited |
Reimplemented from tlm::tlm_base_target_socket< BUSWIDTH, tlm_fw_transport_if< TYPES >, tlm_bw_transport_if< TYPES >, N, POL >.
Definition at line 242 of file tlm_target_socket.h.
|
inlineinherited |
Definition at line 111 of file tlm_target_socket.h.
|
inlineinherited |
Definition at line 128 of file tlm_target_socket.h.
|
inlineinherited |
Definition at line 147 of file tlm_target_socket.h.
|
inlineinherited |
Definition at line 163 of file tlm_target_socket.h.
|
inlineinherited |
Definition at line 171 of file tlm_target_socket.h.
|
pure virtual |
|
inlineinherited |
Definition at line 155 of file tlm_target_socket.h.
|
protectedinherited |
Definition at line 207 of file tlm_target_socket.h.