gem5  v20.1.0.0
Public Types | Public Member Functions | Private Member Functions | List of all members
tlm_utils::multi_target_base< BUSWIDTH, TYPES, N, POL > Class Template Referenceabstract

#include <multi_socket_bases.h>

Inheritance diagram for tlm_utils::multi_target_base< BUSWIDTH, TYPES, N, POL >:
tlm::tlm_target_socket< 32, tlm::tlm_base_protocol_types, 0, sc_core::SC_ONE_OR_MORE_BOUND > tlm_utils::multi_target_base_if< tlm::tlm_base_protocol_types > tlm_utils::multi_socket_base tlm::tlm_base_target_socket< BUSWIDTH, tlm_fw_transport_if< tlm::tlm_base_protocol_types >, tlm_bw_transport_if< tlm::tlm_base_protocol_types >, N, POL > tlm_utils::convenience_socket_base

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< tlm::tlm_base_protocol_types >, tlm_bw_transport_if< tlm::tlm_base_protocol_types >, N, POL >
typedef tlm_fw_transport_if< tlm::tlm_base_protocol_typesfw_interface_type
 
typedef tlm_bw_transport_if< tlm::tlm_base_protocol_typesbw_interface_type
 
typedef sc_core::sc_port< bw_interface_type, N, POL > port_type
 
typedef sc_core::sc_export< fw_interface_typeexport_type
 
typedef tlm_base_initiator_socket_b< BUSWIDTH, fw_interface_type, bw_interface_typebase_initiator_socket_type
 
typedef tlm_base_target_socket_b< BUSWIDTH, fw_interface_type, bw_interface_typebase_type
 

Public Member Functions

virtual multi_target_baseget_hierarch_bind ()=0
 
virtual void set_hierarch_bind (multi_target_base *)=0
 
virtual tlm::tlm_socket_category get_socket_category () const
 
virtual ~multi_target_base ()
 
 multi_target_base ()
 
 multi_target_base (const char *name)
 
- Public Member Functions inherited from tlm::tlm_target_socket< 32, tlm::tlm_base_protocol_types, 0, sc_core::SC_ONE_OR_MORE_BOUND >
 tlm_target_socket ()
 
 tlm_target_socket (const char *name)
 
virtual const char * kind () const
 
virtual std::type_index get_protocol_types () const
 
- Public Member Functions inherited from tlm::tlm_base_target_socket< BUSWIDTH, tlm_fw_transport_if< tlm::tlm_base_protocol_types >, tlm_bw_transport_if< tlm::tlm_base_protocol_types >, N, POL >
 tlm_base_target_socket ()
 
 tlm_base_target_socket (const char *name)
 
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_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< tlm_bw_transport_if< tlm::tlm_base_protocol_types > > & get_base_port ()
 
virtual const sc_core::sc_port_b< tlm_bw_transport_if< tlm::tlm_base_protocol_types > > & get_base_port () const
 
virtual tlm_fw_transport_if< tlm::tlm_base_protocol_types > & get_base_interface ()
 
virtual const tlm_fw_transport_if< tlm::tlm_base_protocol_types > & get_base_interface () const
 
virtual sc_core::sc_export< tlm_fw_transport_if< tlm::tlm_base_protocol_types > > & get_base_export ()
 
virtual const sc_core::sc_export< tlm_fw_transport_if< tlm::tlm_base_protocol_types > > & get_base_export () const
 
- Public Member Functions inherited from tlm_utils::multi_target_base_if< tlm::tlm_base_protocol_types >
virtual std::vector< callback_binder_fw< tlm::tlm_base_protocol_types > * > & get_binders ()=0
 
virtual std::map< unsigned int, tlm::tlm_bw_transport_if< tlm::tlm_base_protocol_types > * > & get_multi_binds ()=0
 

Private Member Functions

const sc_core::sc_objectget_socket () const
 

Additional Inherited Members

- Protected Member Functions inherited from tlm_utils::multi_target_base_if< tlm::tlm_base_protocol_types >
virtual ~multi_target_base_if ()
 
- Protected Member Functions inherited from tlm_utils::convenience_socket_base
virtual ~convenience_socket_base ()
 
void display_warning (const char *msg) const
 
void display_error (const char *msg) const
 
- Protected Attributes inherited from tlm::tlm_base_target_socket< BUSWIDTH, tlm_fw_transport_if< tlm::tlm_base_protocol_types >, tlm_bw_transport_if< tlm::tlm_base_protocol_types >, N, POL >
port_type m_port
 

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 454 of file multi_socket_bases.h.

Member Typedef Documentation

◆ base_type

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 460 of file multi_socket_bases.h.

Constructor & Destructor Documentation

◆ ~multi_target_base()

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 478 of file multi_socket_bases.h.

◆ multi_target_base() [1/2]

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 479 of file multi_socket_bases.h.

◆ multi_target_base() [2/2]

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 482 of file multi_socket_bases.h.

Member Function Documentation

◆ get_hierarch_bind()

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

◆ get_socket()

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>
const sc_core::sc_object* tlm_utils::multi_target_base< BUSWIDTH, TYPES, N, POL >::get_socket ( ) const
inlineprivatevirtual

Implements tlm_utils::convenience_socket_base.

Definition at line 485 of file multi_socket_bases.h.

◆ get_socket_category()

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::tlm_socket_category tlm_utils::multi_target_base< BUSWIDTH, TYPES, N, POL >::get_socket_category ( ) const
inlinevirtual

Definition at line 473 of file multi_socket_bases.h.

◆ set_hierarch_bind()

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:

Generated on Wed Sep 30 2020 14:03:13 for gem5 by doxygen 1.8.17