#include <multi_socket_bases.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 boost::function < sync_enum_type(int i, transaction_type &txn, phase_type &ph, sc_core::sc_time &t)> | nb_func_type |
typedef boost::function < void(int i, transaction_type &txn, sc_core::sc_time &t)> | b_func_type |
typedef boost::function < unsigned int(int i, transaction_type &txn)> | debug_func_type |
typedef boost::function < bool(int i, transaction_type &txn, tlm::tlm_dmi &dmi)> | dmi_func_type |
Public Member Functions | |
callback_binder_fw (int id) | |
sync_enum_type | nb_transport_fw (transaction_type &txn, phase_type &p, sc_core::sc_time &t) |
void | b_transport (transaction_type &trans, sc_core::sc_time &t) |
bool | get_direct_mem_ptr (transaction_type &trans, tlm::tlm_dmi &dmi_data) |
unsigned int | transport_dbg (transaction_type &trans) |
void | register_port (sc_core::sc_port_base &b, const char *name) |
void | set_callbacks (nb_func_type &cb1, b_func_type &cb2, dmi_func_type &cb3, debug_func_type &cb4) |
sc_core::sc_port_base * | get_other_side () |
Private Attributes | |
int | m_id |
nb_func_type * | m_nb_f |
b_func_type * | m_b_f |
debug_func_type * | m_dbg_f |
dmi_func_type * | m_dmi_f |
sc_core::sc_port_base * | m_caller_port |
Definition at line 44 of file multi_socket_bases.h.
typedef TYPES::tlm_payload_type tlm_utils::callback_binder_fw< TYPES >::transaction_type |
Definition at line 47 of file multi_socket_bases.h.
typedef TYPES::tlm_phase_type tlm_utils::callback_binder_fw< TYPES >::phase_type |
Definition at line 48 of file multi_socket_bases.h.
typedef tlm::tlm_sync_enum tlm_utils::callback_binder_fw< TYPES >::sync_enum_type |
Definition at line 49 of file multi_socket_bases.h.
typedef boost::function<sync_enum_type (int i, transaction_type& txn, phase_type& ph, sc_core::sc_time& t)> tlm_utils::callback_binder_fw< TYPES >::nb_func_type |
Definition at line 52 of file multi_socket_bases.h.
typedef boost::function<void (int i, transaction_type& txn, sc_core::sc_time& t)> tlm_utils::callback_binder_fw< TYPES >::b_func_type |
Definition at line 53 of file multi_socket_bases.h.
typedef boost::function<unsigned int (int i, transaction_type& txn)> tlm_utils::callback_binder_fw< TYPES >::debug_func_type |
Definition at line 54 of file multi_socket_bases.h.
typedef boost::function<bool (int i, transaction_type& txn, tlm::tlm_dmi& dmi)> tlm_utils::callback_binder_fw< TYPES >::dmi_func_type |
Definition at line 55 of file multi_socket_bases.h.
tlm_utils::callback_binder_fw< TYPES >::callback_binder_fw | ( | int | id | ) | [inline] |
Definition at line 58 of file multi_socket_bases.h.
sync_enum_type tlm_utils::callback_binder_fw< TYPES >::nb_transport_fw | ( | transaction_type & | txn, | |
phase_type & | p, | |||
sc_core::sc_time & | t | |||
) | [inline, virtual] |
Implements tlm::tlm_fw_nonblocking_transport_if< TYPES::tlm_payload_type, TYPES::tlm_phase_type >.
Definition at line 62 of file multi_socket_bases.h.
References tlm_utils::callback_binder_fw< TYPES >::m_id, and tlm_utils::callback_binder_fw< TYPES >::m_nb_f.
void tlm_utils::callback_binder_fw< TYPES >::b_transport | ( | transaction_type & | trans, | |
sc_core::sc_time & | t | |||
) | [inline, virtual] |
Implements tlm::tlm_blocking_transport_if< TYPES::tlm_payload_type >.
Definition at line 75 of file multi_socket_bases.h.
References tlm_utils::callback_binder_fw< TYPES >::m_b_f, and tlm_utils::callback_binder_fw< TYPES >::m_id.
bool tlm_utils::callback_binder_fw< TYPES >::get_direct_mem_ptr | ( | transaction_type & | trans, | |
tlm::tlm_dmi & | dmi_data | |||
) | [inline, virtual] |
Implements tlm::tlm_fw_direct_mem_if< TYPES::tlm_payload_type >.
Definition at line 86 of file multi_socket_bases.h.
References tlm_utils::callback_binder_fw< TYPES >::m_dmi_f, and tlm_utils::callback_binder_fw< TYPES >::m_id.
unsigned int tlm_utils::callback_binder_fw< TYPES >::transport_dbg | ( | transaction_type & | trans | ) | [inline, virtual] |
Implements tlm::tlm_transport_dbg_if< TYPES::tlm_payload_type >.
Definition at line 97 of file multi_socket_bases.h.
References tlm_utils::callback_binder_fw< TYPES >::m_dbg_f, and tlm_utils::callback_binder_fw< TYPES >::m_id.
void tlm_utils::callback_binder_fw< TYPES >::register_port | ( | sc_core::sc_port_base & | b, | |
const char * | name | |||
) | [inline] |
Definition at line 110 of file multi_socket_bases.h.
References tlm_utils::callback_binder_fw< TYPES >::m_caller_port.
void tlm_utils::callback_binder_fw< TYPES >::set_callbacks | ( | nb_func_type & | cb1, | |
b_func_type & | cb2, | |||
dmi_func_type & | cb3, | |||
debug_func_type & | cb4 | |||
) | [inline] |
Definition at line 115 of file multi_socket_bases.h.
References tlm_utils::callback_binder_fw< TYPES >::m_b_f, tlm_utils::callback_binder_fw< TYPES >::m_dbg_f, tlm_utils::callback_binder_fw< TYPES >::m_dmi_f, and tlm_utils::callback_binder_fw< TYPES >::m_nb_f.
sc_core::sc_port_base* tlm_utils::callback_binder_fw< TYPES >::get_other_side | ( | ) | [inline] |
Definition at line 125 of file multi_socket_bases.h.
References tlm_utils::callback_binder_fw< TYPES >::m_caller_port.
int tlm_utils::callback_binder_fw< TYPES >::m_id [private] |
Definition at line 129 of file multi_socket_bases.h.
Referenced by tlm_utils::callback_binder_fw< TYPES >::b_transport(), tlm_utils::callback_binder_fw< TYPES >::get_direct_mem_ptr(), tlm_utils::callback_binder_fw< TYPES >::nb_transport_fw(), and tlm_utils::callback_binder_fw< TYPES >::transport_dbg().
nb_func_type* tlm_utils::callback_binder_fw< TYPES >::m_nb_f [private] |
Definition at line 132 of file multi_socket_bases.h.
Referenced by tlm_utils::callback_binder_fw< TYPES >::nb_transport_fw(), and tlm_utils::callback_binder_fw< TYPES >::set_callbacks().
b_func_type* tlm_utils::callback_binder_fw< TYPES >::m_b_f [private] |
Definition at line 133 of file multi_socket_bases.h.
Referenced by tlm_utils::callback_binder_fw< TYPES >::b_transport(), and tlm_utils::callback_binder_fw< TYPES >::set_callbacks().
debug_func_type* tlm_utils::callback_binder_fw< TYPES >::m_dbg_f [private] |
Definition at line 134 of file multi_socket_bases.h.
Referenced by tlm_utils::callback_binder_fw< TYPES >::set_callbacks(), and tlm_utils::callback_binder_fw< TYPES >::transport_dbg().
dmi_func_type* tlm_utils::callback_binder_fw< TYPES >::m_dmi_f [private] |
Definition at line 135 of file multi_socket_bases.h.
Referenced by tlm_utils::callback_binder_fw< TYPES >::get_direct_mem_ptr(), and tlm_utils::callback_binder_fw< TYPES >::set_callbacks().
sc_core::sc_port_base* tlm_utils::callback_binder_fw< TYPES >::m_caller_port [private] |
Definition at line 138 of file multi_socket_bases.h.
Referenced by tlm_utils::callback_binder_fw< TYPES >::get_other_side(), and tlm_utils::callback_binder_fw< TYPES >::register_port().