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_target_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_target_socket< BUSWIDTH, FW_IF, BW_IF, N, POL >:
Inheritance graph
[legend]
Collaboration diagram for tlm::tlm_base_target_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
< 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

 tlm_base_target_socket ()
 
 tlm_base_target_socket (const char *name)
 
virtual const char * kind () const
 
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_)
 

Protected Attributes

port_type m_port
 
- Protected Attributes inherited from sc_core::sc_export< FW_IF >
IF * m_interface_p
 

Friends

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

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
 

Detailed Description

template<unsigned int BUSWIDTH, typename FW_IF, typename BW_IF, int N, sc_core::sc_port_policy POL>
class tlm::tlm_base_target_socket< BUSWIDTH, FW_IF, BW_IF, N, POL >

Definition at line 55 of file tlm_initiator_socket.h.

Member Typedef Documentation

template<unsigned int BUSWIDTH, typename FW_IF, typename BW_IF, int N, sc_core::sc_port_policy POL>
typedef tlm_base_initiator_socket_b<BUSWIDTH, fw_interface_type, bw_interface_type> tlm::tlm_base_target_socket< BUSWIDTH, FW_IF, BW_IF, N, POL >::base_initiator_socket_type

Definition at line 76 of file tlm_target_socket.h.

template<unsigned int BUSWIDTH, typename FW_IF, typename BW_IF, int N, sc_core::sc_port_policy POL>
typedef tlm_base_target_socket_b<BUSWIDTH, fw_interface_type, bw_interface_type> tlm::tlm_base_target_socket< BUSWIDTH, FW_IF, BW_IF, N, POL >::base_type

Definition at line 80 of file tlm_target_socket.h.

template<unsigned int BUSWIDTH, typename FW_IF, typename BW_IF, int N, sc_core::sc_port_policy POL>
typedef BW_IF tlm::tlm_base_target_socket< BUSWIDTH, FW_IF, BW_IF, N, POL >::bw_interface_type

Definition at line 66 of file tlm_target_socket.h.

template<unsigned int BUSWIDTH, typename FW_IF, typename BW_IF, int N, sc_core::sc_port_policy POL>
typedef sc_core::sc_export<fw_interface_type> tlm::tlm_base_target_socket< BUSWIDTH, FW_IF, BW_IF, N, POL >::export_type

Definition at line 73 of file tlm_target_socket.h.

template<unsigned int BUSWIDTH, typename FW_IF, typename BW_IF, int N, sc_core::sc_port_policy POL>
typedef FW_IF tlm::tlm_base_target_socket< BUSWIDTH, FW_IF, BW_IF, N, POL >::fw_interface_type

Definition at line 65 of file tlm_target_socket.h.

template<unsigned int BUSWIDTH, typename FW_IF, typename BW_IF, int N, sc_core::sc_port_policy POL>
typedef sc_core::sc_port<bw_interface_type, N , POL > tlm::tlm_base_target_socket< BUSWIDTH, FW_IF, BW_IF, N, POL >::port_type

Definition at line 71 of file tlm_target_socket.h.

Constructor & Destructor Documentation

template<unsigned int BUSWIDTH, typename FW_IF, typename BW_IF, int N, sc_core::sc_port_policy POL>
tlm::tlm_base_target_socket< BUSWIDTH, FW_IF, BW_IF, N, POL >::tlm_base_target_socket ( )
inline

Definition at line 91 of file tlm_target_socket.h.

template<unsigned int BUSWIDTH, typename FW_IF, typename BW_IF, int N, sc_core::sc_port_policy POL>
tlm::tlm_base_target_socket< BUSWIDTH, FW_IF, BW_IF, N, POL >::tlm_base_target_socket ( const char *  name)
inlineexplicit

Definition at line 97 of file tlm_target_socket.h.

Member Function Documentation

template<unsigned int BUSWIDTH, typename FW_IF, typename BW_IF, int N, sc_core::sc_port_policy POL>
virtual void tlm::tlm_base_target_socket< BUSWIDTH, FW_IF, BW_IF, N, POL >::bind ( base_initiator_socket_type s)
inlinevirtual

Definition at line 120 of file tlm_target_socket.h.

template<unsigned int BUSWIDTH, typename FW_IF, typename BW_IF, int N, sc_core::sc_port_policy POL>
virtual void tlm::tlm_base_target_socket< BUSWIDTH, FW_IF, BW_IF, N, POL >::bind ( base_type s)
inlinevirtual

Definition at line 137 of file tlm_target_socket.h.

template<unsigned int BUSWIDTH, typename FW_IF, typename BW_IF, int N, sc_core::sc_port_policy POL>
virtual void tlm::tlm_base_target_socket< BUSWIDTH, FW_IF, BW_IF, N, POL >::bind ( fw_interface_type ifs)
inlinevirtual

Definition at line 154 of file tlm_target_socket.h.

template<unsigned int BUSWIDTH, typename FW_IF, typename BW_IF, int N, sc_core::sc_port_policy POL>
virtual sc_core::sc_export<FW_IF>& tlm::tlm_base_target_socket< BUSWIDTH, FW_IF, BW_IF, N, POL >::get_base_export ( )
inlinevirtual
template<unsigned int BUSWIDTH, typename FW_IF, typename BW_IF, int N, sc_core::sc_port_policy POL>
virtual sc_core::sc_export<FW_IF> const& tlm::tlm_base_target_socket< BUSWIDTH, FW_IF, BW_IF, N, POL >::get_base_export ( ) const
inlinevirtual
template<unsigned int BUSWIDTH, typename FW_IF, typename BW_IF, int N, sc_core::sc_port_policy POL>
virtual FW_IF& tlm::tlm_base_target_socket< BUSWIDTH, FW_IF, BW_IF, N, POL >::get_base_interface ( )
inlinevirtual
template<unsigned int BUSWIDTH, typename FW_IF, typename BW_IF, int N, sc_core::sc_port_policy POL>
virtual FW_IF const& tlm::tlm_base_target_socket< BUSWIDTH, FW_IF, BW_IF, N, POL >::get_base_interface ( ) const
inlinevirtual
template<unsigned int BUSWIDTH, typename FW_IF, typename BW_IF, int N, sc_core::sc_port_policy POL>
virtual sc_core::sc_port_b<BW_IF>& tlm::tlm_base_target_socket< BUSWIDTH, FW_IF, BW_IF, N, POL >::get_base_port ( )
inlinevirtual
template<unsigned int BUSWIDTH, typename FW_IF, typename BW_IF, int N, sc_core::sc_port_policy POL>
virtual sc_core::sc_port_b<BW_IF> const& tlm::tlm_base_target_socket< BUSWIDTH, FW_IF, BW_IF, N, POL >::get_base_port ( ) const
inlinevirtual

Definition at line 197 of file tlm_target_socket.h.

template<unsigned int BUSWIDTH, typename FW_IF, typename BW_IF, int N, sc_core::sc_port_policy POL>
unsigned int tlm::tlm_base_target_socket< BUSWIDTH, FW_IF, BW_IF, N, POL >::get_bus_width ( ) const
inline

Definition at line 108 of file tlm_target_socket.h.

template<unsigned int BUSWIDTH, typename FW_IF, typename BW_IF, int N, sc_core::sc_port_policy POL>
virtual const char* tlm::tlm_base_target_socket< BUSWIDTH, FW_IF, BW_IF, N, POL >::kind ( ) const
inlinevirtual
template<unsigned int BUSWIDTH, typename FW_IF, typename BW_IF, int N, sc_core::sc_port_policy POL>
void tlm::tlm_base_target_socket< BUSWIDTH, FW_IF, BW_IF, N, POL >::operator() ( base_initiator_socket_type s)
inline

Definition at line 128 of file tlm_target_socket.h.

template<unsigned int BUSWIDTH, typename FW_IF, typename BW_IF, int N, sc_core::sc_port_policy POL>
void tlm::tlm_base_target_socket< BUSWIDTH, FW_IF, BW_IF, N, POL >::operator() ( base_type s)
inline

Definition at line 145 of file tlm_target_socket.h.

template<unsigned int BUSWIDTH, typename FW_IF, typename BW_IF, int N, sc_core::sc_port_policy POL>
void tlm::tlm_base_target_socket< BUSWIDTH, FW_IF, BW_IF, N, POL >::operator() ( fw_interface_type s)
inline

Definition at line 164 of file tlm_target_socket.h.

template<unsigned int BUSWIDTH, typename FW_IF, typename BW_IF, int N, sc_core::sc_port_policy POL>
bw_interface_type* tlm::tlm_base_target_socket< BUSWIDTH, FW_IF, BW_IF, N, POL >::operator-> ( )
inline

Definition at line 180 of file tlm_target_socket.h.

template<unsigned int BUSWIDTH, typename FW_IF, typename BW_IF, int N, sc_core::sc_port_policy POL>
bw_interface_type* tlm::tlm_base_target_socket< BUSWIDTH, FW_IF, BW_IF, N, POL >::operator[] ( int  i)
inline

Definition at line 188 of file tlm_target_socket.h.

template<unsigned int BUSWIDTH, typename FW_IF, typename BW_IF, int N, sc_core::sc_port_policy POL>
int tlm::tlm_base_target_socket< BUSWIDTH, FW_IF, BW_IF, N, POL >::size ( ) const
inline

Definition at line 172 of file tlm_target_socket.h.

Friends And Related Function Documentation

template<unsigned int BUSWIDTH, typename FW_IF, typename BW_IF, int N, sc_core::sc_port_policy POL>
template<unsigned int, typename , typename , int , sc_core::sc_port_policy >
friend class tlm_base_initiator_socket
friend

Definition at line 88 of file tlm_target_socket.h.

Member Data Documentation

template<unsigned int BUSWIDTH, typename FW_IF, typename BW_IF, int N, sc_core::sc_port_policy POL>
port_type tlm::tlm_base_target_socket< BUSWIDTH, FW_IF, BW_IF, N, POL >::m_port
protected

Definition at line 215 of file tlm_target_socket.h.


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