gem5  v20.1.0.0
Public Types | Public Member Functions | Private Attributes | List of all members
tlm_utils::callback_binder_bw< TYPES > Class Template Reference

#include <multi_socket_bases.h>

Inheritance diagram for tlm_utils::callback_binder_bw< TYPES >:
tlm::tlm_bw_transport_if< TYPES > tlm_utils::convenience_socket_cb_holder tlm::tlm_bw_nonblocking_transport_if< tlm_base_protocol_types ::tlm_payload_type, tlm_base_protocol_types ::tlm_phase_type > tlm::tlm_bw_direct_mem_if sc_core::sc_interface sc_core::sc_interface

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 nb_transport_functor< TYPES > nb_func_type
 
typedef invalidate_dmi_functor< TYPES > dmi_func_type
 

Public Member Functions

 callback_binder_bw (multi_socket_base *owner, 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)
 
- Public Member Functions inherited from tlm::tlm_bw_nonblocking_transport_if< tlm_base_protocol_types ::tlm_payload_type, tlm_base_protocol_types ::tlm_phase_type >
virtual tlm_sync_enum nb_transport_bw (tlm_base_protocol_types ::tlm_payload_type &trans, tlm_base_protocol_types ::tlm_phase_type &phase, sc_core::sc_time &t)=0
 
- Public Member Functions inherited from sc_core::sc_interface
virtual void register_port (sc_port_base &, const char *)
 
virtual const sc_eventdefault_event () const
 
virtual ~sc_interface ()
 

Private Attributes

int m_id
 
nb_func_typem_nb_f
 
dmi_func_typem_dmi_f
 

Additional Inherited Members

- Protected Member Functions inherited from sc_core::sc_interface
 sc_interface ()
 
- Protected Member Functions inherited from tlm_utils::convenience_socket_cb_holder
 convenience_socket_cb_holder (convenience_socket_base *owner)
 
void display_warning (const char *msg) const
 
void display_error (const char *msg) const
 

Detailed Description

template<typename TYPES>
class tlm_utils::callback_binder_bw< TYPES >

Definition at line 303 of file multi_socket_bases.h.

Member Typedef Documentation

◆ dmi_func_type

template<typename TYPES >
typedef invalidate_dmi_functor<TYPES> tlm_utils::callback_binder_bw< TYPES >::dmi_func_type

Definition at line 314 of file multi_socket_bases.h.

◆ nb_func_type

template<typename TYPES >
typedef nb_transport_functor<TYPES> tlm_utils::callback_binder_bw< TYPES >::nb_func_type

Definition at line 313 of file multi_socket_bases.h.

◆ phase_type

template<typename TYPES >
typedef TYPES::tlm_phase_type tlm_utils::callback_binder_bw< TYPES >::phase_type

Definition at line 309 of file multi_socket_bases.h.

◆ sync_enum_type

template<typename TYPES >
typedef tlm::tlm_sync_enum tlm_utils::callback_binder_bw< TYPES >::sync_enum_type

Definition at line 310 of file multi_socket_bases.h.

◆ transaction_type

template<typename TYPES >
typedef TYPES::tlm_payload_type tlm_utils::callback_binder_bw< TYPES >::transaction_type

Definition at line 308 of file multi_socket_bases.h.

Constructor & Destructor Documentation

◆ callback_binder_bw()

template<typename TYPES >
tlm_utils::callback_binder_bw< TYPES >::callback_binder_bw ( multi_socket_base owner,
int  id 
)
inline

Definition at line 316 of file multi_socket_bases.h.

Member Function Documentation

◆ invalidate_direct_mem_ptr()

template<typename TYPES >
void tlm_utils::callback_binder_bw< TYPES >::invalidate_direct_mem_ptr ( sc_dt::uint64  l,
sc_dt::uint64  u 
)
inlinevirtual

Implements tlm::tlm_bw_direct_mem_if.

Definition at line 338 of file multi_socket_bases.h.

◆ nb_transport_bw()

template<typename TYPES >
sync_enum_type tlm_utils::callback_binder_bw< TYPES >::nb_transport_bw ( transaction_type txn,
phase_type p,
sc_core::sc_time t 
)
inline

Definition at line 323 of file multi_socket_bases.h.

◆ set_callbacks()

template<typename TYPES >
void tlm_utils::callback_binder_bw< TYPES >::set_callbacks ( nb_func_type cb1,
dmi_func_type cb2 
)
inline

Definition at line 348 of file multi_socket_bases.h.

Member Data Documentation

◆ m_dmi_f

template<typename TYPES >
dmi_func_type* tlm_utils::callback_binder_bw< TYPES >::m_dmi_f
private

Definition at line 359 of file multi_socket_bases.h.

◆ m_id

template<typename TYPES >
int tlm_utils::callback_binder_bw< TYPES >::m_id
private

◆ m_nb_f

template<typename TYPES >
nb_func_type* tlm_utils::callback_binder_bw< TYPES >::m_nb_f
private

Definition at line 358 of file multi_socket_bases.h.


The documentation for this class was generated from the following file:

Generated on Wed Sep 30 2020 14:03:13 for gem5 by doxygen 1.8.17