TLM-2.0
2.0.4
Accellera TLM-2.0 proof-of-concept library
|
#include <tlm_utils/multi_passthrough_target_socket.h>
Public Types | |
typedef TYPES::tlm_payload_type | transaction_type |
typedef TYPES::tlm_phase_type | phase_type |
typedef tlm::tlm_sync_enum | sync_enum_type |
typedef sync_enum_type(MODULE::* | nb_cb) (int, transaction_type &, phase_type &, sc_core::sc_time &) |
typedef void(MODULE::* | b_cb) (int, transaction_type &, sc_core::sc_time &) |
typedef unsigned int(MODULE::* | dbg_cb) (int, transaction_type &txn) |
typedef bool(MODULE::* | dmi_cb) (int, transaction_type &txn, tlm::tlm_dmi &dmi) |
typedef multi_target_base< BUSWIDTH, TYPES, N, POL > | base_type |
typedef base_type::base_initiator_socket_type | base_initiator_socket_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 unsigned | phase_cb_mask |
typedef sc_export_base | this_type |
Public Member Functions | |
multi_passthrough_target_socket_optional () | |
multi_passthrough_target_socket_optional (const char *name) | |
void | check_export_binding () |
void | register_nb_transport_fw (MODULE *mod, nb_cb cb) |
void | register_b_transport (MODULE *mod, b_cb cb) |
void | register_transport_dbg (MODULE *mod, dbg_cb cb) |
void | register_get_direct_mem_ptr (MODULE *mod, dmi_cb cb) |
virtual tlm::tlm_fw_transport_if< TYPES > & | get_base_interface () |
virtual const tlm::tlm_fw_transport_if< TYPES > & | get_base_interface () const |
virtual sc_core::sc_export< tlm::tlm_fw_transport_if< TYPES > > & | get_base_export () |
virtual const sc_core::sc_export< tlm::tlm_fw_transport_if< TYPES > > & | get_base_export () const |
void | end_of_elaboration () |
virtual void | bind (base_type &s) |
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_type &s) |
void | operator() (base_initiator_socket_type &s) |
void | operator() (base_type &s) |
void | operator() (fw_interface_type &s) |
void | operator() (IF &interface_) |
tlm::tlm_bw_transport_if< TYPES > * | operator[] (int i) |
unsigned int | size () |
int | size () const |
virtual void | set_hierarch_bind (multi_target_base *)=0 |
virtual tlm::tlm_socket_category | get_socket_category () const |
virtual const char * | kind () const |
virtual sc_core::sc_type_index | get_protocol_types () const |
bw_interface_type * | operator-> () |
const IF * | operator-> () const |
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 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 |
Static Public Member Functions | |
static const char * | default_name () |
Protected Member Functions | |
base_type * | get_hierarch_bind () |
std::map< unsigned int, tlm::tlm_bw_transport_if< TYPES > *> & | get_multi_binds () |
void | set_hierarch_bind (base_type *h) |
tlm::tlm_fw_transport_if< TYPES > * | get_last_binder (tlm::tlm_bw_transport_if< TYPES > *other) |
void | disable_cb_bind () |
std::vector< callback_binder_fw< TYPES > * > & | get_binders () |
virtual void | before_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 | |
std::map< unsigned int, tlm::tlm_bw_transport_if< TYPES > *> | m_multi_binds |
std::vector< tlm::tlm_bw_transport_if< TYPES > *> | m_sockets |
std::vector< callback_binder_fw< TYPES > *> | m_binders |
base_type * | m_hierarch_bind |
bool | m_eoe_disabled |
bool | m_export_callback_created |
callback_binder_fw< TYPES >::nb_func_type | m_nb_f |
callback_binder_fw< TYPES >::b_func_type | m_b_f |
callback_binder_fw< TYPES >::debug_func_type | m_dbg_f |
callback_binder_fw< TYPES >::dmi_func_type | m_dmi_f |
port_type | m_port |
IF * | m_interface_p |
Definition at line 318 of file multi_passthrough_target_socket.h.
|
inherited |
Definition at line 57 of file multi_passthrough_target_socket.h.
|
inherited |
Definition at line 63 of file multi_passthrough_target_socket.h.
|
inherited |
Definition at line 61 of file multi_passthrough_target_socket.h.
|
inherited |
Definition at line 63 of file tlm_target_socket.h.
|
inherited |
Definition at line 58 of file multi_passthrough_target_socket.h.
|
inherited |
Definition at line 59 of file multi_passthrough_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 56 of file multi_passthrough_target_socket.h.
|
inherited |
Definition at line 52 of file multi_passthrough_target_socket.h.
|
inherited |
Definition at line 64 of file tlm_target_socket.h.
|
inherited |
Definition at line 53 of file multi_passthrough_target_socket.h.
|
inherited |
Definition at line 51 of file multi_passthrough_target_socket.h.
|
inline |
Definition at line 323 of file multi_passthrough_target_socket.h.
|
inlineexplicit |
Definition at line 324 of file multi_passthrough_target_socket.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.
|
inlinevirtualinherited |
Definition at line 248 of file multi_passthrough_target_socket.h.
|
inlineinherited |
Definition at line 82 of file multi_passthrough_target_socket.h.
|
inlinestaticinherited |
Definition at line 65 of file multi_passthrough_target_socket.h.
|
inlineprotectedinherited |
Definition at line 294 of file multi_passthrough_target_socket.h.
|
inherited |
|
inherited |
|
inlinevirtualinherited |
Reimplemented from sc_core::sc_export< tlm_fw_transport_if< TYPES > >.
Definition at line 216 of file multi_passthrough_target_socket.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 204 of file multi_passthrough_target_socket.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 210 of file multi_passthrough_target_socket.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 181 of file multi_passthrough_target_socket.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 197 of file multi_passthrough_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.
|
inlineprotectedvirtualinherited |
Implements tlm_utils::multi_target_base_if< TYPES >.
Definition at line 295 of file multi_passthrough_target_socket.h.
|
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.
|
inlineprotectedvirtualinherited |
Implements tlm_utils::multi_target_base< BUSWIDTH, TYPES, N, POL >.
Definition at line 282 of file multi_passthrough_target_socket.h.
|
inlineprotectedvirtualinherited |
Implements tlm_utils::multi_to_multi_bind_base< TYPES >.
Definition at line 285 of file multi_passthrough_target_socket.h.
|
inlineprotectedvirtualinherited |
Implements tlm_utils::multi_target_base_if< TYPES >.
Definition at line 283 of file multi_passthrough_target_socket.h.
|
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.
|
inlinevirtualinherited |
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 265 of file multi_passthrough_target_socket.h.
|
inlineinherited |
Definition at line 163 of file tlm_target_socket.h.
|
inlineinherited |
Definition at line 271 of file multi_passthrough_target_socket.h.
|
inlineinherited |
Definition at line 128 of file multi_passthrough_target_socket.h.
|
inlineinherited |
Definition at line 160 of file multi_passthrough_target_socket.h.
|
inlineinherited |
Definition at line 112 of file multi_passthrough_target_socket.h.
|
inlineinherited |
Definition at line 144 of file multi_passthrough_target_socket.h.
|
inlineprotectedinherited |
Definition at line 284 of file multi_passthrough_target_socket.h.
|
pure virtualinherited |
|
inlineinherited |
Definition at line 155 of file tlm_target_socket.h.
|
inlineinherited |
Definition at line 275 of file multi_passthrough_target_socket.h.
|
protectedinherited |
Definition at line 309 of file multi_passthrough_target_socket.h.
|
protectedinherited |
Definition at line 299 of file multi_passthrough_target_socket.h.
|
protectedinherited |
Definition at line 310 of file multi_passthrough_target_socket.h.
|
protectedinherited |
Definition at line 311 of file multi_passthrough_target_socket.h.
|
protectedinherited |
Definition at line 302 of file multi_passthrough_target_socket.h.
|
protectedinherited |
Definition at line 303 of file multi_passthrough_target_socket.h.
|
protectedinherited |
Definition at line 301 of file multi_passthrough_target_socket.h.
|
protectedinherited |
Definition at line 292 of file multi_passthrough_target_socket.h.
|
protectedinherited |
Definition at line 308 of file multi_passthrough_target_socket.h.
|
protectedinherited |
Definition at line 207 of file tlm_target_socket.h.
|
protectedinherited |
Definition at line 297 of file multi_passthrough_target_socket.h.