TLM-2.0
2.0.4
Accellera TLM-2.0 proof-of-concept library
|
#include <tlm_utils/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 tlm::tlm_fw_transport_if< TYPES > | fw_interface_type |
typedef tlm::tlm_bw_transport_if< TYPES > | bw_interface_type |
typedef tlm::tlm_target_socket< BUSWIDTH, TYPES, 1, sc_core::SC_ONE_OR_MORE_BOUND > | base_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 | |
passthrough_target_socket_tagged () | |
passthrough_target_socket_tagged (const char *name) | |
void | register_nb_transport_fw (MODULE *mod, sync_enum_type(MODULE::*cb)(int id, transaction_type &, phase_type &, sc_core::sc_time &), int id) |
void | register_b_transport (MODULE *mod, void(MODULE::*cb)(int id, transaction_type &, sc_core::sc_time &), int id) |
void | register_transport_dbg (MODULE *mod, unsigned int(MODULE::*cb)(int id, transaction_type &), int id) |
void | register_get_direct_mem_ptr (MODULE *mod, bool(MODULE::*cb)(int id, transaction_type &, tlm::tlm_dmi &), int id) |
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 tlm_socket_category | get_socket_category () 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 |
Static Public Member Functions | |
static const char * | default_name () |
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 456 of file passthrough_target_socket.h.
|
inherited |
Definition at line 69 of file tlm_target_socket.h.
|
inherited |
Definition at line 250 of file passthrough_target_socket.h.
|
inherited |
Definition at line 249 of file passthrough_target_socket.h.
|
inherited |
Definition at line 66 of file tlm_target_socket.h.
|
inherited |
Definition at line 248 of file passthrough_target_socket.h.
|
inherited |
Definition at line 246 of file passthrough_target_socket.h.
|
inherited |
Definition at line 64 of file tlm_target_socket.h.
|
inherited |
Definition at line 247 of file passthrough_target_socket.h.
|
inherited |
Definition at line 245 of file passthrough_target_socket.h.
|
inline |
Definition at line 461 of file passthrough_target_socket.h.
|
inlineexplicit |
Definition at line 462 of file 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.
|
inlinestaticinherited |
Definition at line 252 of file passthrough_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.
|
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.
|
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 |
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.
|
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.
|
inlineinherited |
Definition at line 277 of file passthrough_target_socket.h.
|
inlineinherited |
Definition at line 296 of file passthrough_target_socket.h.
|
inlineinherited |
Definition at line 266 of file passthrough_target_socket.h.
|
inlineinherited |
Definition at line 287 of file passthrough_target_socket.h.
|
inlineinherited |
Definition at line 155 of file tlm_target_socket.h.
|
protectedinherited |
Definition at line 207 of file tlm_target_socket.h.