TLM-2.0  2.0.3
Accellera TLM-2.0 proof-of-concept library
Classes | Public Types | Public Member Functions | List of all members
tlm_utils::passthrough_target_socket< MODULE, BUSWIDTH, TYPES > Class Template Reference

#include <tlm_utils/passthrough_target_socket.h>

Inheritance diagram for tlm_utils::passthrough_target_socket< MODULE, BUSWIDTH, TYPES >:
Inheritance graph
[legend]
Collaboration diagram for tlm_utils::passthrough_target_socket< MODULE, BUSWIDTH, TYPES >:
Collaboration graph
[legend]

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 > 
base_type
 
- Public Types inherited from tlm::tlm_base_target_socket< BUSWIDTH, FW_IF, BW_IF, N, POL >
typedef FW_IF fw_interface_type
 
typedef BW_IF 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
tlm_base_initiator_socket_b
< BUSWIDTH, fw_interface_type,
bw_interface_type
base_initiator_socket_type
 
typedef
tlm_base_target_socket_b
< BUSWIDTH, fw_interface_type,
bw_interface_type
base_type
 
- Public Types inherited from sc_core::sc_export_base
typedef sc_export_base this_type
 

Public Member Functions

 passthrough_target_socket ()
 
 passthrough_target_socket (const char *n)
 
void register_nb_transport_fw (MODULE *mod, sync_enum_type(MODULE::*cb)(transaction_type &, phase_type &, sc_core::sc_time &))
 
void register_b_transport (MODULE *mod, void(MODULE::*cb)(transaction_type &, sc_core::sc_time &))
 
void register_transport_dbg (MODULE *mod, unsigned int(MODULE::*cb)(transaction_type &))
 
void register_get_direct_mem_ptr (MODULE *mod, bool(MODULE::*cb)(transaction_type &, tlm::tlm_dmi &))
 
- Public Member Functions inherited from tlm::tlm_target_socket< BUSWIDTH, TYPES >
 tlm_target_socket ()
 
 tlm_target_socket (const char *name)
 
virtual const char * kind () const
 
- Public Member Functions inherited from tlm::tlm_base_target_socket< BUSWIDTH, FW_IF, BW_IF, N, POL >
 tlm_base_target_socket ()
 
 tlm_base_target_socket (const char *name)
 
unsigned int get_bus_width () const
 
virtual void bind (base_initiator_socket_type &s)
 
void operator() (base_initiator_socket_type &s)
 
virtual void bind (base_type &s)
 
void operator() (base_type &s)
 
virtual void bind (fw_interface_type &ifs)
 
void operator() (fw_interface_type &s)
 
int size () const
 
bw_interface_typeoperator-> ()
 
bw_interface_typeoperator[] (int i)
 
virtual sc_core::sc_port_b
< BW_IF > & 
get_base_port ()
 
virtual sc_core::sc_port_b
< BW_IF > const & 
get_base_port () const
 
virtual FW_IF & get_base_interface ()
 
virtual FW_IF const & get_base_interface () const
 
virtual sc_core::sc_export
< FW_IF > & 
get_base_export ()
 
virtual sc_core::sc_export
< FW_IF > const & 
get_base_export () const
 
- Public Member Functions inherited from tlm::tlm_base_target_socket_b< BUSWIDTH, FW_IF, BW_IF >
virtual ~tlm_base_target_socket_b ()
 
- Public Member Functions inherited from sc_core::sc_export< FW_IF >
 sc_export ()
 
 sc_export (const char *name_)
 
virtual ~sc_export ()
 
virtual sc_interfaceget_interface ()
 
virtual const sc_interfaceget_interface () const
 
const IF * operator-> () const
 
IF * operator-> ()
 
 operator IF & ()
 
 operator const IF & () const
 
SC_VIRTUAL_ void bind (IF &interface_)
 
void operator() (IF &interface_)
 

Additional Inherited Members

- Protected Member Functions inherited from sc_core::sc_export< FW_IF >
const char * if_typename () const
 
- Protected Member Functions inherited from sc_core::sc_export_base
 sc_export_base ()
 
 sc_export_base (const char *name)
 
virtual ~sc_export_base ()
 
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
 
- Protected Attributes inherited from tlm::tlm_base_target_socket< BUSWIDTH, FW_IF, BW_IF, N, POL >
port_type m_port
 
- Protected Attributes inherited from sc_core::sc_export< FW_IF >
IF * m_interface_p
 

Detailed Description

template<typename MODULE, unsigned int BUSWIDTH = 32, typename TYPES = tlm::tlm_base_protocol_types>
class tlm_utils::passthrough_target_socket< MODULE, BUSWIDTH, TYPES >

Definition at line 29 of file passthrough_target_socket.h.

Member Typedef Documentation

template<typename MODULE , unsigned int BUSWIDTH = 32, typename TYPES = tlm::tlm_base_protocol_types>
typedef tlm::tlm_target_socket<BUSWIDTH, TYPES> tlm_utils::passthrough_target_socket< MODULE, BUSWIDTH, TYPES >::base_type

Definition at line 38 of file passthrough_target_socket.h.

template<typename MODULE , unsigned int BUSWIDTH = 32, typename TYPES = tlm::tlm_base_protocol_types>
typedef tlm::tlm_bw_transport_if<TYPES> tlm_utils::passthrough_target_socket< MODULE, BUSWIDTH, TYPES >::bw_interface_type

Definition at line 37 of file passthrough_target_socket.h.

template<typename MODULE , unsigned int BUSWIDTH = 32, typename TYPES = tlm::tlm_base_protocol_types>
typedef tlm::tlm_fw_transport_if<TYPES> tlm_utils::passthrough_target_socket< MODULE, BUSWIDTH, TYPES >::fw_interface_type

Definition at line 36 of file passthrough_target_socket.h.

template<typename MODULE , unsigned int BUSWIDTH = 32, typename TYPES = tlm::tlm_base_protocol_types>
typedef TYPES::tlm_phase_type tlm_utils::passthrough_target_socket< MODULE, BUSWIDTH, TYPES >::phase_type

Definition at line 34 of file passthrough_target_socket.h.

template<typename MODULE , unsigned int BUSWIDTH = 32, typename TYPES = tlm::tlm_base_protocol_types>
typedef tlm::tlm_sync_enum tlm_utils::passthrough_target_socket< MODULE, BUSWIDTH, TYPES >::sync_enum_type

Definition at line 35 of file passthrough_target_socket.h.

template<typename MODULE , unsigned int BUSWIDTH = 32, typename TYPES = tlm::tlm_base_protocol_types>
typedef TYPES::tlm_payload_type tlm_utils::passthrough_target_socket< MODULE, BUSWIDTH, TYPES >::transaction_type

Definition at line 33 of file passthrough_target_socket.h.

Constructor & Destructor Documentation

template<typename MODULE , unsigned int BUSWIDTH = 32, typename TYPES = tlm::tlm_base_protocol_types>
tlm_utils::passthrough_target_socket< MODULE, BUSWIDTH, TYPES >::passthrough_target_socket ( )
inline

Definition at line 41 of file passthrough_target_socket.h.

template<typename MODULE , unsigned int BUSWIDTH = 32, typename TYPES = tlm::tlm_base_protocol_types>
tlm_utils::passthrough_target_socket< MODULE, BUSWIDTH, TYPES >::passthrough_target_socket ( const char *  n)
inlineexplicit

Definition at line 48 of file passthrough_target_socket.h.

Member Function Documentation

template<typename MODULE , unsigned int BUSWIDTH = 32, typename TYPES = tlm::tlm_base_protocol_types>
void tlm_utils::passthrough_target_socket< MODULE, BUSWIDTH, TYPES >::register_b_transport ( MODULE *  mod,
void(MODULE::*)(transaction_type &, sc_core::sc_time &)  cb 
)
inline

Definition at line 66 of file passthrough_target_socket.h.

template<typename MODULE , unsigned int BUSWIDTH = 32, typename TYPES = tlm::tlm_base_protocol_types>
void tlm_utils::passthrough_target_socket< MODULE, BUSWIDTH, TYPES >::register_get_direct_mem_ptr ( MODULE *  mod,
bool(MODULE::*)(transaction_type &, tlm::tlm_dmi &)  cb 
)
inline

Definition at line 79 of file passthrough_target_socket.h.

template<typename MODULE , unsigned int BUSWIDTH = 32, typename TYPES = tlm::tlm_base_protocol_types>
void tlm_utils::passthrough_target_socket< MODULE, BUSWIDTH, TYPES >::register_nb_transport_fw ( MODULE *  mod,
sync_enum_type(MODULE::*)(transaction_type &, phase_type &, sc_core::sc_time &)  cb 
)
inline

Definition at line 58 of file passthrough_target_socket.h.

template<typename MODULE , unsigned int BUSWIDTH = 32, typename TYPES = tlm::tlm_base_protocol_types>
void tlm_utils::passthrough_target_socket< MODULE, BUSWIDTH, TYPES >::register_transport_dbg ( MODULE *  mod,
unsigned int(MODULE::*)(transaction_type &)  cb 
)
inline

Definition at line 73 of file passthrough_target_socket.h.


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