gem5  v20.1.0.0
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 <initiator_socket.hh>

Inheritance diagram for tlm::tlm_base_initiator_socket< BUSWIDTH, FW_IF, BW_IF, N, POL >:
tlm::tlm_base_socket_if tlm::tlm_base_initiator_socket_b< 32, tlm_fw_transport_if<>, tlm_bw_transport_if<> > sc_core::sc_port< tlm_fw_transport_if<>, 1, sc_core::SC_ONE_OR_MORE_BOUND > sc_core::sc_port_b< tlm_fw_transport_if<> > sc_core::sc_port_base sc_core::sc_object

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_typeexport_type
 
typedef tlm_base_target_socket_b< BUSWIDTH, fw_interface_type, bw_interface_typebase_target_socket_type
 
typedef tlm_base_initiator_socket_b< BUSWIDTH, fw_interface_type, bw_interface_typebase_type
 

Public Member Functions

 tlm_base_initiator_socket ()
 
 tlm_base_initiator_socket (const char *name)
 
virtual const char * kind () 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_baseget_port_base ()
 
virtual const sc_core::sc_port_baseget_port_base () const
 
virtual sc_core::sc_export_baseget_export_base ()
 
virtual const sc_core::sc_export_baseget_export_base () const
 
virtual unsigned int get_bus_width () const
 
virtual tlm_socket_category get_socket_category () const
 
virtual sc_core::sc_port_b< FW_IF > & get_base_port ()
 
virtual const sc_core::sc_port_b< FW_IF > & get_base_port () const
 
virtual BW_IF & get_base_interface ()
 
virtual const BW_IF & get_base_interface () const
 
virtual sc_core::sc_export< BW_IF > & get_base_export ()
 
virtual const sc_core::sc_export< BW_IF > & get_base_export () const
 
- Public Member Functions inherited from tlm::tlm_base_socket_if
virtual std::type_index get_protocol_types () const =0
 
- Public Member Functions inherited from tlm::tlm_base_initiator_socket_b< 32, tlm_fw_transport_if<>, tlm_bw_transport_if<> >
virtual ~tlm_base_initiator_socket_b ()
 
- Public Member Functions inherited from sc_core::sc_port< tlm_fw_transport_if<>, 1, sc_core::SC_ONE_OR_MORE_BOUND >
 sc_port ()
 
 sc_port (const char *name)
 
 sc_port (const tlm_fw_transport_if<> &interface)
 
 sc_port (const char *name, const tlm_fw_transport_if<> &interface)
 
 sc_port (sc_port_b< tlm_fw_transport_if<> > &parent)
 
 sc_port (const char *name, sc_port_b< tlm_fw_transport_if<> > &parent)
 
 sc_port (sc_port< tlm_fw_transport_if<>, N, P > &parent)
 
 sc_port (const char *name, sc_port< tlm_fw_transport_if<>, N, P > &parent)
 
virtual ~sc_port ()
 
virtual const char * kind () const override
 
- Public Member Functions inherited from sc_core::sc_port_b< tlm_fw_transport_if<> >
void operator() (tlm_fw_transport_if<> &i)
 
void operator() (sc_port_b< tlm_fw_transport_if<> > &p)
 
virtual void bind (tlm_fw_transport_if<> &i)
 
virtual void bind (sc_port_b< tlm_fw_transport_if<> > &p)
 
tlm_fw_transport_if<> * operator-> ()
 
const tlm_fw_transport_if<> * operator-> () const
 
tlm_fw_transport_if<> * operator[] (int n)
 
const tlm_fw_transport_if<> * operator[] (int n) const
 
sc_interfaceget_interface ()
 
const sc_interfaceget_interface () const
 
- Public Member Functions inherited from sc_core::sc_port_base
 sc_port_base (const char *name, int n, sc_port_policy p)
 
virtual ~sc_port_base ()
 
void warn_port_constructor () const
 
int maxSize () const
 
int size () const
 
- Public Member Functions inherited from sc_core::sc_object
const char * name () const
 
const char * basename () const
 
virtual void print (std::ostream &=std::cout) const
 
virtual void dump (std::ostream &=std::cout) const
 
virtual const std::vector< sc_object * > & get_child_objects () const
 
virtual const std::vector< sc_event * > & get_child_events () const
 
sc_objectget_parent_object () const
 
bool add_attribute (sc_attr_base &)
 
sc_attr_baseget_attribute (const std::string &)
 
sc_attr_baseremove_attribute (const std::string &)
 
void remove_all_attributes ()
 
int num_attributes () const
 
sc_attr_cltnattr_cltn ()
 
const sc_attr_cltnattr_cltn () const
 
sc_simcontextsimcontext () 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 tlm::tlm_base_socket_if
virtual ~tlm_base_socket_if ()
 
- Protected Member Functions inherited from sc_core::sc_port_b< tlm_fw_transport_if<> >
void before_end_of_elaboration () override
 
void end_of_elaboration () override
 
void start_of_simulation () override
 
void end_of_simulation () override
 
 sc_port_b (int n, sc_port_policy p)
 
 sc_port_b (const char *name, int n, sc_port_policy p)
 
virtual ~sc_port_b ()
 
int vbind (sc_interface &i) override
 
int vbind (sc_port_base &pb) override
 
- Protected Member Functions inherited from sc_core::sc_port_base
void bind (sc_interface &)
 
void bind (sc_port_base &)
 
void report_error (const char *id, const char *add_msg) const
 
- Protected Member Functions inherited from sc_core::sc_object
 sc_object ()
 
 sc_object (const char *)
 
 sc_object (const sc_object &)
 
sc_objectoperator= (const sc_object &)
 
virtual ~sc_object ()
 

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 78 of file initiator_socket.hh.

Member Typedef Documentation

◆ base_target_socket_type

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 92 of file initiator_socket.hh.

◆ base_type

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 94 of file initiator_socket.hh.

◆ bw_interface_type

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 85 of file initiator_socket.hh.

◆ export_type

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 88 of file initiator_socket.hh.

◆ fw_interface_type

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 84 of file initiator_socket.hh.

◆ port_type

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 86 of file initiator_socket.hh.

Constructor & Destructor Documentation

◆ tlm_base_initiator_socket() [1/2]

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 100 of file initiator_socket.hh.

◆ tlm_base_initiator_socket() [2/2]

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 106 of file initiator_socket.hh.

Member Function Documentation

◆ bind() [1/3]

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

◆ bind() [2/3]

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

◆ bind() [3/3]

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 150 of file initiator_socket.hh.

◆ get_base_export() [1/2]

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

◆ get_base_export() [2/2]

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 sc_core::sc_export<BW_IF>& tlm::tlm_base_initiator_socket< BUSWIDTH, FW_IF, BW_IF, N, POL >::get_base_export ( ) const
inlinevirtual

◆ get_base_interface() [1/2]

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

◆ get_base_interface() [2/2]

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 BW_IF& tlm::tlm_base_initiator_socket< BUSWIDTH, FW_IF, BW_IF, N, POL >::get_base_interface ( ) const
inlinevirtual

◆ get_base_port() [1/2]

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

◆ get_base_port() [2/2]

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 sc_core::sc_port_b<FW_IF>& tlm::tlm_base_initiator_socket< BUSWIDTH, FW_IF, BW_IF, N, POL >::get_base_port ( ) const
inlinevirtual

Definition at line 176 of file initiator_socket.hh.

◆ get_bus_width()

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 unsigned int tlm::tlm_base_initiator_socket< BUSWIDTH, FW_IF, BW_IF, N, POL >::get_bus_width ( ) const
inlinevirtual

Implements tlm::tlm_base_socket_if.

Definition at line 166 of file initiator_socket.hh.

◆ get_export_base() [1/2]

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_base& tlm::tlm_base_initiator_socket< BUSWIDTH, FW_IF, BW_IF, N, POL >::get_export_base ( )
inlinevirtual

Implements tlm::tlm_base_socket_if.

Definition at line 160 of file initiator_socket.hh.

◆ get_export_base() [2/2]

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 sc_core::sc_export_base& tlm::tlm_base_initiator_socket< BUSWIDTH, FW_IF, BW_IF, N, POL >::get_export_base ( ) const
inlinevirtual

Implements tlm::tlm_base_socket_if.

Definition at line 162 of file initiator_socket.hh.

◆ get_port_base() [1/2]

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_base& tlm::tlm_base_initiator_socket< BUSWIDTH, FW_IF, BW_IF, N, POL >::get_port_base ( )
inlinevirtual

Implements tlm::tlm_base_socket_if.

Definition at line 154 of file initiator_socket.hh.

◆ get_port_base() [2/2]

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 sc_core::sc_port_base& tlm::tlm_base_initiator_socket< BUSWIDTH, FW_IF, BW_IF, N, POL >::get_port_base ( ) const
inlinevirtual

Implements tlm::tlm_base_socket_if.

Definition at line 156 of file initiator_socket.hh.

◆ get_socket_category()

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 tlm_socket_category tlm::tlm_base_initiator_socket< BUSWIDTH, FW_IF, BW_IF, N, POL >::get_socket_category ( ) const
inlinevirtual

◆ kind()

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

◆ operator()() [1/3]

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 129 of file initiator_socket.hh.

◆ operator()() [2/3]

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 144 of file initiator_socket.hh.

◆ operator()() [3/3]

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 151 of file initiator_socket.hh.

Friends And Related Function Documentation

◆ tlm_base_target_socket

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 97 of file initiator_socket.hh.

Member Data Documentation

◆ m_export

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

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