TLM-2.0  2.0.3
Accellera TLM-2.0 proof-of-concept library
Public Types | Public Member Functions | List of all members
tlm_utils::multi_target_base< BUSWIDTH, TYPES, N, POL > Class Template Referenceabstract

#include <tlm_utils/multi_socket_bases.h>

Inheritance diagram for tlm_utils::multi_target_base< BUSWIDTH, TYPES, N, POL >:
Inheritance graph
[legend]
Collaboration diagram for tlm_utils::multi_target_base< BUSWIDTH, TYPES, N, POL >:
Collaboration graph
[legend]

Public Types

typedef tlm::tlm_target_socket
< BUSWIDTH, TYPES, N,POL > 
base_type
 
- Public Types inherited from tlm::tlm_base_target_socket< BUSWIDTH, tlm_fw_transport_if< TYPES >, tlm_bw_transport_if< TYPES >, N, POL >
typedef tlm_fw_transport_if
< TYPES > 
fw_interface_type
 
typedef tlm_bw_transport_if
< TYPES > 
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

virtual multi_target_baseget_hierarch_bind ()=0
 
virtual void set_hierarch_bind (multi_target_base *)=0
 
virtual std::vector
< callback_binder_fw< TYPES > * > & 
get_binders ()=0
 
virtual std::map< unsigned int,
tlm::tlm_bw_transport_if
< TYPES > * > & 
get_multi_binds ()=0
 
virtual ~multi_target_base ()
 
 multi_target_base ()
 
 multi_target_base (const char *name)
 
- Public Member Functions inherited from tlm::tlm_target_socket< BUSWIDTH, TYPES, N, POL >
 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, tlm_fw_transport_if< TYPES >, tlm_bw_transport_if< TYPES >, 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)
 
virtual void bind (base_type &s)
 
virtual void bind (fw_interface_type &ifs)
 
void operator() (base_initiator_socket_type &s)
 
void operator() (base_type &s)
 
void operator() (fw_interface_type &s)
 
int size () const
 
bw_interface_typeoperator-> ()
 
bw_interface_typeoperator[] (int i)
 
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
 
- Public Member Functions inherited from tlm::tlm_base_target_socket_b< BUSWIDTH, tlm_fw_transport_if< TYPES >, tlm_bw_transport_if< TYPES > >
virtual ~tlm_base_target_socket_b ()
 
- Public Member Functions inherited from sc_core::sc_export< tlm_fw_transport_if< TYPES > >
 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< tlm_fw_transport_if< TYPES > >
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, tlm_fw_transport_if< TYPES >, tlm_bw_transport_if< TYPES >, N, POL >
port_type m_port
 
- Protected Attributes inherited from sc_core::sc_export< tlm_fw_transport_if< TYPES > >
IF * m_interface_p
 

Detailed Description

template<unsigned int BUSWIDTH = 32, typename TYPES = tlm::tlm_base_protocol_types, unsigned int N = 0, sc_core::sc_port_policy POL = sc_core::SC_ONE_OR_MORE_BOUND>
class tlm_utils::multi_target_base< BUSWIDTH, TYPES, N, POL >

Definition at line 363 of file multi_socket_bases.h.

Member Typedef Documentation

template<unsigned int BUSWIDTH = 32, typename TYPES = tlm::tlm_base_protocol_types, unsigned int N = 0, sc_core::sc_port_policy POL = sc_core::SC_ONE_OR_MORE_BOUND>
typedef tlm::tlm_target_socket<BUSWIDTH, TYPES, N ,POL > tlm_utils::multi_target_base< BUSWIDTH, TYPES, N, POL >::base_type

Definition at line 378 of file multi_socket_bases.h.

Constructor & Destructor Documentation

template<unsigned int BUSWIDTH = 32, typename TYPES = tlm::tlm_base_protocol_types, unsigned int N = 0, sc_core::sc_port_policy POL = sc_core::SC_ONE_OR_MORE_BOUND>
virtual tlm_utils::multi_target_base< BUSWIDTH, TYPES, N, POL >::~multi_target_base ( )
inlinevirtual

Definition at line 398 of file multi_socket_bases.h.

template<unsigned int BUSWIDTH = 32, typename TYPES = tlm::tlm_base_protocol_types, unsigned int N = 0, sc_core::sc_port_policy POL = sc_core::SC_ONE_OR_MORE_BOUND>
tlm_utils::multi_target_base< BUSWIDTH, TYPES, N, POL >::multi_target_base ( )
inline

Definition at line 399 of file multi_socket_bases.h.

template<unsigned int BUSWIDTH = 32, typename TYPES = tlm::tlm_base_protocol_types, unsigned int N = 0, sc_core::sc_port_policy POL = sc_core::SC_ONE_OR_MORE_BOUND>
tlm_utils::multi_target_base< BUSWIDTH, TYPES, N, POL >::multi_target_base ( const char *  name)
inline

Definition at line 400 of file multi_socket_bases.h.

Member Function Documentation

template<unsigned int BUSWIDTH = 32, typename TYPES = tlm::tlm_base_protocol_types, unsigned int N = 0, sc_core::sc_port_policy POL = sc_core::SC_ONE_OR_MORE_BOUND>
virtual std::vector<callback_binder_fw<TYPES>* >& tlm_utils::multi_target_base< BUSWIDTH, TYPES, N, POL >::get_binders ( )
pure virtual
template<unsigned int BUSWIDTH = 32, typename TYPES = tlm::tlm_base_protocol_types, unsigned int N = 0, sc_core::sc_port_policy POL = sc_core::SC_ONE_OR_MORE_BOUND>
virtual multi_target_base* tlm_utils::multi_target_base< BUSWIDTH, TYPES, N, POL >::get_hierarch_bind ( )
pure virtual
template<unsigned int BUSWIDTH = 32, typename TYPES = tlm::tlm_base_protocol_types, unsigned int N = 0, sc_core::sc_port_policy POL = sc_core::SC_ONE_OR_MORE_BOUND>
virtual std::map<unsigned int, tlm::tlm_bw_transport_if<TYPES>*>& tlm_utils::multi_target_base< BUSWIDTH, TYPES, N, POL >::get_multi_binds ( )
pure virtual
template<unsigned int BUSWIDTH = 32, typename TYPES = tlm::tlm_base_protocol_types, unsigned int N = 0, sc_core::sc_port_policy POL = sc_core::SC_ONE_OR_MORE_BOUND>
virtual void tlm_utils::multi_target_base< BUSWIDTH, TYPES, N, POL >::set_hierarch_bind ( multi_target_base< BUSWIDTH, TYPES, N, POL > *  )
pure virtual

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