#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 &p, sc_core::sc_time &t)> | nb_func_type |
typedef boost::function < void(int i, sc_dt::uint64 l, sc_dt::uint64 u)> | dmi_func_type |
Public Member Functions | |
callback_binder_bw (int id) | |
sync_enum_type | nb_transport_bw (transaction_type &txn, phase_type &p, sc_core::sc_time &t) |
void | invalidate_direct_mem_ptr (sc_dt::uint64 l, sc_dt::uint64 u) |
void | set_callbacks (nb_func_type &cb1, dmi_func_type &cb2) |
Private Attributes | |
int | m_id |
nb_func_type * | m_nb_f |
dmi_func_type * | m_dmi_f |
Definition at line 148 of file multi_socket_bases.h.
typedef TYPES::tlm_payload_type tlm_utils::callback_binder_bw< TYPES >::transaction_type |
Definition at line 151 of file multi_socket_bases.h.
typedef TYPES::tlm_phase_type tlm_utils::callback_binder_bw< TYPES >::phase_type |
Definition at line 152 of file multi_socket_bases.h.
typedef tlm::tlm_sync_enum tlm_utils::callback_binder_bw< TYPES >::sync_enum_type |
Definition at line 153 of file multi_socket_bases.h.
typedef boost::function<sync_enum_type (int i, transaction_type& txn, phase_type& p, sc_core::sc_time& t)> tlm_utils::callback_binder_bw< TYPES >::nb_func_type |
Definition at line 156 of file multi_socket_bases.h.
typedef boost::function<void (int i, sc_dt::uint64 l, sc_dt::uint64 u)> tlm_utils::callback_binder_bw< TYPES >::dmi_func_type |
Definition at line 157 of file multi_socket_bases.h.
tlm_utils::callback_binder_bw< TYPES >::callback_binder_bw | ( | int | id | ) | [inline] |
Definition at line 160 of file multi_socket_bases.h.
sync_enum_type tlm_utils::callback_binder_bw< TYPES >::nb_transport_bw | ( | transaction_type & | txn, | |
phase_type & | p, | |||
sc_core::sc_time & | t | |||
) | [inline, virtual] |
Implements tlm::tlm_bw_nonblocking_transport_if< TYPES::tlm_payload_type, TYPES::tlm_phase_type >.
Definition at line 164 of file multi_socket_bases.h.
References tlm_utils::callback_binder_bw< TYPES >::m_id, and tlm_utils::callback_binder_bw< TYPES >::m_nb_f.
void tlm_utils::callback_binder_bw< TYPES >::invalidate_direct_mem_ptr | ( | sc_dt::uint64 | l, | |
sc_dt::uint64 | u | |||
) | [inline, virtual] |
Implements tlm::tlm_bw_direct_mem_if.
Definition at line 177 of file multi_socket_bases.h.
References tlm_utils::callback_binder_bw< TYPES >::m_dmi_f, tlm_utils::callback_binder_bw< TYPES >::m_id, and tlm_utils::callback_binder_bw< TYPES >::m_nb_f.
void tlm_utils::callback_binder_bw< TYPES >::set_callbacks | ( | nb_func_type & | cb1, | |
dmi_func_type & | cb2 | |||
) | [inline] |
Definition at line 188 of file multi_socket_bases.h.
References tlm_utils::callback_binder_bw< TYPES >::m_dmi_f, and tlm_utils::callback_binder_bw< TYPES >::m_nb_f.
int tlm_utils::callback_binder_bw< TYPES >::m_id [private] |
Definition at line 195 of file multi_socket_bases.h.
Referenced by tlm_utils::callback_binder_bw< TYPES >::invalidate_direct_mem_ptr(), and tlm_utils::callback_binder_bw< TYPES >::nb_transport_bw().
nb_func_type* tlm_utils::callback_binder_bw< TYPES >::m_nb_f [private] |
Definition at line 197 of file multi_socket_bases.h.
Referenced by tlm_utils::callback_binder_bw< TYPES >::invalidate_direct_mem_ptr(), tlm_utils::callback_binder_bw< TYPES >::nb_transport_bw(), and tlm_utils::callback_binder_bw< TYPES >::set_callbacks().
dmi_func_type* tlm_utils::callback_binder_bw< TYPES >::m_dmi_f [private] |
Definition at line 198 of file multi_socket_bases.h.
Referenced by tlm_utils::callback_binder_bw< TYPES >::invalidate_direct_mem_ptr(), and tlm_utils::callback_binder_bw< TYPES >::set_callbacks().