TLM-2.0  2.0.3
Accellera TLM-2.0 proof-of-concept library
Public Types | Public Member Functions | Protected Attributes | Friends | List of all members
tlm::tlm_base_initiator_socket< BUSWIDTH, FW_IF, BW_IF, N, POL > Class Template Reference

#include <tlm_core/tlm_2/tlm_sockets/tlm_initiator_socket.h>

Inheritance diagram for tlm::tlm_base_initiator_socket< BUSWIDTH, FW_IF, BW_IF, N, POL >:
Inheritance graph
[legend]
Collaboration diagram for tlm::tlm_base_initiator_socket< BUSWIDTH, FW_IF, BW_IF, N, POL >:
Collaboration graph
[legend]

Public Types

typedef FW_IF fw_interface_type
 
typedef BW_IF bw_interface_type
 
typedef sc_core::sc_port
< fw_interface_type, N, POL > 
port_type
 
typedef sc_core::sc_export
< bw_interface_type
export_type
 
typedef
tlm_base_target_socket_b
< BUSWIDTH, fw_interface_type,
bw_interface_type
base_target_socket_type
 
typedef
tlm_base_initiator_socket_b
< BUSWIDTH, fw_interface_type,
bw_interface_type
base_type
 
- Public Types inherited from sc_core::sc_port_b< IF >
typedef sc_port_base base_type
 
typedef sc_port_b< IF > this_type
 
typedef this_type port_type
 

Public Member Functions

 tlm_base_initiator_socket ()
 
 tlm_base_initiator_socket (const char *name)
 
virtual const char * kind () const
 
unsigned int get_bus_width () const
 
virtual void bind (base_target_socket_type &s)
 
void operator() (base_target_socket_type &s)
 
virtual void bind (base_type &s)
 
void operator() (base_type &s)
 
virtual void bind (bw_interface_type &ifs)
 
void operator() (bw_interface_type &s)
 
virtual sc_core::sc_port_b
< FW_IF > & 
get_base_port ()
 
virtual sc_core::sc_port_b
< FW_IF > const & 
get_base_port () const
 
virtual BW_IF & get_base_interface ()
 
virtual BW_IF const & get_base_interface () const
 
virtual sc_core::sc_export
< BW_IF > & 
get_base_export ()
 
virtual sc_core::sc_export
< BW_IF > const & 
get_base_export () const
 
- Public Member Functions inherited from tlm::tlm_base_initiator_socket_b< BUSWIDTH, FW_IF, BW_IF >
virtual ~tlm_base_initiator_socket_b ()
 
- Public Member Functions inherited from sc_core::sc_port< FW_IF, N, POL >
 sc_port ()
 
 sc_port (const char *name_)
 
 sc_port (FW_IF &interface_)
 
 sc_port (const char *name_, FW_IF &interface_)
 
 sc_port (base_type &parent_)
 
 sc_port (const char *name_, base_type &parent_)
 
 sc_port (this_type &parent_)
 
 sc_port (const char *name_, this_type &parent_)
 
virtual ~sc_port ()
 
- Public Member Functions inherited from sc_core::sc_port_b< IF >
SC_VIRTUAL_ void bind (IF &interface_)
 
void operator() (IF &interface_)
 
SC_VIRTUAL_ void bind (port_type &parent_)
 
void operator() (port_type &parent_)
 
int size () const
 
IF * operator-> ()
 
const IF * operator-> () const
 
const IF * get_interface (int iface_i) const
 
IF * get_interface (int iface_i)
 
IF * operator[] (int index_)
 
const IF * operator[] (int index_) const
 
virtual sc_interfaceget_interface ()
 
virtual const sc_interfaceget_interface () const
 

Protected Attributes

export_type m_export
 

Friends

template<unsigned int, typename , typename , int , sc_core::sc_port_policy >
class tlm_base_target_socket
 

Additional Inherited Members

- Protected Member Functions inherited from sc_core::sc_port_b< IF >
 sc_port_b (int max_size_, sc_port_policy policy=SC_ONE_OR_MORE_BOUND)
 
 sc_port_b (const char *name_, int max_size_, sc_port_policy policy=SC_ONE_OR_MORE_BOUND)
 
virtual ~sc_port_b ()
 
virtual int vbind (sc_interface &)
 
virtual int vbind (sc_port_base &)
 
virtual void make_sensitive (sc_thread_handle, sc_event_finder *=0) const
 
virtual void make_sensitive (sc_method_handle, sc_event_finder *=0) const
 
- Protected Member Functions inherited from sc_core::sc_port_base
virtual void add_interface (sc_interface *)=0
 
virtual int interface_count ()=0
 
virtual const char * if_typename () const =0
 

Detailed Description

template<unsigned int BUSWIDTH = 32, typename FW_IF = tlm_fw_transport_if<>, typename BW_IF = tlm_bw_transport_if<>, int N = 1, sc_core::sc_port_policy POL = sc_core::SC_ONE_OR_MORE_BOUND>
class tlm::tlm_base_initiator_socket< BUSWIDTH, FW_IF, BW_IF, N, POL >

Definition at line 65 of file tlm_initiator_socket.h.

Member Typedef Documentation

template<unsigned int BUSWIDTH = 32, typename FW_IF = tlm_fw_transport_if<>, typename BW_IF = tlm_bw_transport_if<>, int N = 1, sc_core::sc_port_policy POL = sc_core::SC_ONE_OR_MORE_BOUND>
typedef tlm_base_target_socket_b<BUSWIDTH, fw_interface_type, bw_interface_type> tlm::tlm_base_initiator_socket< BUSWIDTH, FW_IF, BW_IF, N, POL >::base_target_socket_type

Definition at line 86 of file tlm_initiator_socket.h.

template<unsigned int BUSWIDTH = 32, typename FW_IF = tlm_fw_transport_if<>, typename BW_IF = tlm_bw_transport_if<>, int N = 1, sc_core::sc_port_policy POL = sc_core::SC_ONE_OR_MORE_BOUND>
typedef tlm_base_initiator_socket_b<BUSWIDTH, fw_interface_type, bw_interface_type> tlm::tlm_base_initiator_socket< BUSWIDTH, FW_IF, BW_IF, N, POL >::base_type

Definition at line 89 of file tlm_initiator_socket.h.

template<unsigned int BUSWIDTH = 32, typename FW_IF = tlm_fw_transport_if<>, typename BW_IF = tlm_bw_transport_if<>, int N = 1, sc_core::sc_port_policy POL = sc_core::SC_ONE_OR_MORE_BOUND>
typedef BW_IF tlm::tlm_base_initiator_socket< BUSWIDTH, FW_IF, BW_IF, N, POL >::bw_interface_type

Definition at line 75 of file tlm_initiator_socket.h.

template<unsigned int BUSWIDTH = 32, typename FW_IF = tlm_fw_transport_if<>, typename BW_IF = tlm_bw_transport_if<>, int N = 1, sc_core::sc_port_policy POL = sc_core::SC_ONE_OR_MORE_BOUND>
typedef sc_core::sc_export<bw_interface_type> tlm::tlm_base_initiator_socket< BUSWIDTH, FW_IF, BW_IF, N, POL >::export_type

Definition at line 82 of file tlm_initiator_socket.h.

template<unsigned int BUSWIDTH = 32, typename FW_IF = tlm_fw_transport_if<>, typename BW_IF = tlm_bw_transport_if<>, int N = 1, sc_core::sc_port_policy POL = sc_core::SC_ONE_OR_MORE_BOUND>
typedef FW_IF tlm::tlm_base_initiator_socket< BUSWIDTH, FW_IF, BW_IF, N, POL >::fw_interface_type

Definition at line 74 of file tlm_initiator_socket.h.

template<unsigned int BUSWIDTH = 32, typename FW_IF = tlm_fw_transport_if<>, typename BW_IF = tlm_bw_transport_if<>, int N = 1, sc_core::sc_port_policy POL = sc_core::SC_ONE_OR_MORE_BOUND>
typedef sc_core::sc_port<fw_interface_type, N , POL > tlm::tlm_base_initiator_socket< BUSWIDTH, FW_IF, BW_IF, N, POL >::port_type

Definition at line 80 of file tlm_initiator_socket.h.

Constructor & Destructor Documentation

template<unsigned int BUSWIDTH = 32, typename FW_IF = tlm_fw_transport_if<>, typename BW_IF = tlm_bw_transport_if<>, int N = 1, sc_core::sc_port_policy POL = sc_core::SC_ONE_OR_MORE_BOUND>
tlm::tlm_base_initiator_socket< BUSWIDTH, FW_IF, BW_IF, N, POL >::tlm_base_initiator_socket ( )
inline

Definition at line 99 of file tlm_initiator_socket.h.

template<unsigned int BUSWIDTH = 32, typename FW_IF = tlm_fw_transport_if<>, typename BW_IF = tlm_bw_transport_if<>, int N = 1, sc_core::sc_port_policy POL = sc_core::SC_ONE_OR_MORE_BOUND>
tlm::tlm_base_initiator_socket< BUSWIDTH, FW_IF, BW_IF, N, POL >::tlm_base_initiator_socket ( const char *  name)
inlineexplicit

Definition at line 105 of file tlm_initiator_socket.h.

Member Function Documentation

template<unsigned int BUSWIDTH = 32, typename FW_IF = tlm_fw_transport_if<>, typename BW_IF = tlm_bw_transport_if<>, int N = 1, sc_core::sc_port_policy POL = sc_core::SC_ONE_OR_MORE_BOUND>
virtual void tlm::tlm_base_initiator_socket< BUSWIDTH, FW_IF, BW_IF, N, POL >::bind ( base_target_socket_type s)
inlinevirtual

Definition at line 128 of file tlm_initiator_socket.h.

template<unsigned int BUSWIDTH = 32, typename FW_IF = tlm_fw_transport_if<>, typename BW_IF = tlm_bw_transport_if<>, int N = 1, sc_core::sc_port_policy POL = sc_core::SC_ONE_OR_MORE_BOUND>
virtual void tlm::tlm_base_initiator_socket< BUSWIDTH, FW_IF, BW_IF, N, POL >::bind ( base_type s)
inlinevirtual
template<unsigned int BUSWIDTH = 32, typename FW_IF = tlm_fw_transport_if<>, typename BW_IF = tlm_bw_transport_if<>, int N = 1, sc_core::sc_port_policy POL = sc_core::SC_ONE_OR_MORE_BOUND>
virtual void tlm::tlm_base_initiator_socket< BUSWIDTH, FW_IF, BW_IF, N, POL >::bind ( bw_interface_type ifs)
inlinevirtual

Definition at line 162 of file tlm_initiator_socket.h.

template<unsigned int BUSWIDTH = 32, typename FW_IF = tlm_fw_transport_if<>, typename BW_IF = tlm_bw_transport_if<>, int N = 1, sc_core::sc_port_policy POL = sc_core::SC_ONE_OR_MORE_BOUND>
virtual sc_core::sc_export<BW_IF>& tlm::tlm_base_initiator_socket< BUSWIDTH, FW_IF, BW_IF, N, POL >::get_base_export ( )
inlinevirtual
template<unsigned int BUSWIDTH = 32, typename FW_IF = tlm_fw_transport_if<>, typename BW_IF = tlm_bw_transport_if<>, int N = 1, sc_core::sc_port_policy POL = sc_core::SC_ONE_OR_MORE_BOUND>
virtual sc_core::sc_export<BW_IF> const& tlm::tlm_base_initiator_socket< BUSWIDTH, FW_IF, BW_IF, N, POL >::get_base_export ( ) const
inlinevirtual
template<unsigned int BUSWIDTH = 32, typename FW_IF = tlm_fw_transport_if<>, typename BW_IF = tlm_bw_transport_if<>, int N = 1, sc_core::sc_port_policy POL = sc_core::SC_ONE_OR_MORE_BOUND>
virtual BW_IF& tlm::tlm_base_initiator_socket< BUSWIDTH, FW_IF, BW_IF, N, POL >::get_base_interface ( )
inlinevirtual
template<unsigned int BUSWIDTH = 32, typename FW_IF = tlm_fw_transport_if<>, typename BW_IF = tlm_bw_transport_if<>, int N = 1, sc_core::sc_port_policy POL = sc_core::SC_ONE_OR_MORE_BOUND>
virtual BW_IF const& tlm::tlm_base_initiator_socket< BUSWIDTH, FW_IF, BW_IF, N, POL >::get_base_interface ( ) const
inlinevirtual
template<unsigned int BUSWIDTH = 32, typename FW_IF = tlm_fw_transport_if<>, typename BW_IF = tlm_bw_transport_if<>, int N = 1, sc_core::sc_port_policy POL = sc_core::SC_ONE_OR_MORE_BOUND>
virtual sc_core::sc_port_b<FW_IF>& tlm::tlm_base_initiator_socket< BUSWIDTH, FW_IF, BW_IF, N, POL >::get_base_port ( )
inlinevirtual
template<unsigned int BUSWIDTH = 32, typename FW_IF = tlm_fw_transport_if<>, typename BW_IF = tlm_bw_transport_if<>, int N = 1, sc_core::sc_port_policy POL = sc_core::SC_ONE_OR_MORE_BOUND>
virtual sc_core::sc_port_b<FW_IF> const& tlm::tlm_base_initiator_socket< BUSWIDTH, FW_IF, BW_IF, N, POL >::get_base_port ( ) const
inlinevirtual
template<unsigned int BUSWIDTH = 32, typename FW_IF = tlm_fw_transport_if<>, typename BW_IF = tlm_bw_transport_if<>, int N = 1, sc_core::sc_port_policy POL = sc_core::SC_ONE_OR_MORE_BOUND>
unsigned int tlm::tlm_base_initiator_socket< BUSWIDTH, FW_IF, BW_IF, N, POL >::get_bus_width ( ) const
inline

Definition at line 116 of file tlm_initiator_socket.h.

template<unsigned int BUSWIDTH = 32, typename FW_IF = tlm_fw_transport_if<>, typename BW_IF = tlm_bw_transport_if<>, int N = 1, sc_core::sc_port_policy POL = sc_core::SC_ONE_OR_MORE_BOUND>
virtual const char* tlm::tlm_base_initiator_socket< BUSWIDTH, FW_IF, BW_IF, N, POL >::kind ( ) const
inlinevirtual
template<unsigned int BUSWIDTH = 32, typename FW_IF = tlm_fw_transport_if<>, typename BW_IF = tlm_bw_transport_if<>, int N = 1, sc_core::sc_port_policy POL = sc_core::SC_ONE_OR_MORE_BOUND>
void tlm::tlm_base_initiator_socket< BUSWIDTH, FW_IF, BW_IF, N, POL >::operator() ( base_target_socket_type s)
inline

Definition at line 136 of file tlm_initiator_socket.h.

template<unsigned int BUSWIDTH = 32, typename FW_IF = tlm_fw_transport_if<>, typename BW_IF = tlm_bw_transport_if<>, int N = 1, sc_core::sc_port_policy POL = sc_core::SC_ONE_OR_MORE_BOUND>
void tlm::tlm_base_initiator_socket< BUSWIDTH, FW_IF, BW_IF, N, POL >::operator() ( base_type s)
inline

Definition at line 153 of file tlm_initiator_socket.h.

template<unsigned int BUSWIDTH = 32, typename FW_IF = tlm_fw_transport_if<>, typename BW_IF = tlm_bw_transport_if<>, int N = 1, sc_core::sc_port_policy POL = sc_core::SC_ONE_OR_MORE_BOUND>
void tlm::tlm_base_initiator_socket< BUSWIDTH, FW_IF, BW_IF, N, POL >::operator() ( bw_interface_type s)
inline

Definition at line 167 of file tlm_initiator_socket.h.

Friends And Related Function Documentation

template<unsigned int BUSWIDTH = 32, typename FW_IF = tlm_fw_transport_if<>, typename BW_IF = tlm_bw_transport_if<>, int N = 1, sc_core::sc_port_policy POL = sc_core::SC_ONE_OR_MORE_BOUND>
template<unsigned int, typename , typename , int , sc_core::sc_port_policy >
friend class tlm_base_target_socket
friend

Definition at line 96 of file tlm_initiator_socket.h.

Member Data Documentation

template<unsigned int BUSWIDTH = 32, typename FW_IF = tlm_fw_transport_if<>, typename BW_IF = tlm_bw_transport_if<>, int N = 1, sc_core::sc_port_policy POL = sc_core::SC_ONE_OR_MORE_BOUND>
export_type tlm::tlm_base_initiator_socket< BUSWIDTH, FW_IF, BW_IF, N, POL >::m_export
protected

Definition at line 193 of file tlm_initiator_socket.h.


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