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

#include <multi_socket_bases.h>

Inheritance diagram for tlm_utils::multi_init_base< BUSWIDTH, TYPES, N, POL >:
tlm::tlm_initiator_socket< 32, tlm::tlm_base_protocol_types, 0, sc_core::SC_ONE_OR_MORE_BOUND > tlm_utils::multi_init_base_if< tlm::tlm_base_protocol_types > tlm_utils::multi_socket_base tlm::tlm_base_initiator_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 tlm::tlm_base_socket_if tlm::tlm_base_initiator_socket_b< BUSWIDTH, tlm_fw_transport_if< tlm::tlm_base_protocol_types >, tlm_bw_transport_if< tlm::tlm_base_protocol_types > > sc_core::sc_port< tlm_fw_transport_if< tlm::tlm_base_protocol_types >, N, POL > sc_core::sc_port_b< tlm_fw_transport_if< tlm::tlm_base_protocol_types > > sc_core::sc_port_base sc_core::sc_object

Public Types

typedef tlm::tlm_initiator_socket< BUSWIDTH, TYPES, N, POL > base_type
 
- Public Types inherited from tlm::tlm_base_initiator_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< 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

virtual void disable_cb_bind ()=0
 
virtual multi_init_baseget_hierarch_bind ()=0
 
virtual tlm::tlm_socket_category get_socket_category () const
 
virtual ~multi_init_base ()
 
 multi_init_base ()
 
 multi_init_base (const char *name)
 
- Public Member Functions inherited from tlm::tlm_initiator_socket< 32, tlm::tlm_base_protocol_types, 0, sc_core::SC_ONE_OR_MORE_BOUND >
 tlm_initiator_socket ()
 
 tlm_initiator_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_initiator_socket< BUSWIDTH, tlm_fw_transport_if< tlm::tlm_base_protocol_types >, tlm_bw_transport_if< tlm::tlm_base_protocol_types >, N, POL >
 tlm_base_initiator_socket ()
 
 tlm_base_initiator_socket (const char *name)
 
virtual void bind (base_target_socket_type &s)
 
virtual void bind (base_type &s)
 
virtual void bind (bw_interface_type &ifs)
 
void operator() (base_target_socket_type &s)
 
void operator() (base_type &s)
 
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< tlm_fw_transport_if< tlm::tlm_base_protocol_types > > & get_base_port ()
 
virtual const sc_core::sc_port_b< tlm_fw_transport_if< tlm::tlm_base_protocol_types > > & get_base_port () const
 
virtual tlm_bw_transport_if< tlm::tlm_base_protocol_types > & get_base_interface ()
 
virtual const tlm_bw_transport_if< tlm::tlm_base_protocol_types > & get_base_interface () const
 
virtual sc_core::sc_export< tlm_bw_transport_if< tlm::tlm_base_protocol_types > > & get_base_export ()
 
virtual const sc_core::sc_export< tlm_bw_transport_if< tlm::tlm_base_protocol_types > > & get_base_export () const
 
- Public Member Functions inherited from tlm::tlm_base_socket_if
virtual const sc_core::sc_port_baseget_port_base () const =0
 
virtual const sc_core::sc_export_baseget_export_base () const =0
 
virtual unsigned int get_bus_width () const =0
 
virtual std::type_index get_protocol_types () const =0
 
- Public Member Functions inherited from tlm::tlm_base_initiator_socket_b< BUSWIDTH, tlm_fw_transport_if< tlm::tlm_base_protocol_types >, tlm_bw_transport_if< tlm::tlm_base_protocol_types > >
virtual ~tlm_base_initiator_socket_b ()
 
- Public Member Functions inherited from sc_core::sc_port< tlm_fw_transport_if< tlm::tlm_base_protocol_types >, N, POL >
 sc_port ()
 
 sc_port (const char *name)
 
 sc_port (const tlm_fw_transport_if< tlm::tlm_base_protocol_types > &interface)
 
 sc_port (const char *name, const tlm_fw_transport_if< tlm::tlm_base_protocol_types > &interface)
 
 sc_port (sc_port_b< tlm_fw_transport_if< tlm::tlm_base_protocol_types > > &parent)
 
 sc_port (const char *name, sc_port_b< tlm_fw_transport_if< tlm::tlm_base_protocol_types > > &parent)
 
 sc_port (sc_port< tlm_fw_transport_if< tlm::tlm_base_protocol_types >, N, P > &parent)
 
 sc_port (const char *name, sc_port< tlm_fw_transport_if< tlm::tlm_base_protocol_types >, N, P > &parent)
 
virtual ~sc_port ()
 
- Public Member Functions inherited from sc_core::sc_port_b< tlm_fw_transport_if< tlm::tlm_base_protocol_types > >
void operator() (tlm_fw_transport_if< tlm::tlm_base_protocol_types > &i)
 
void operator() (sc_port_b< tlm_fw_transport_if< tlm::tlm_base_protocol_types > > &p)
 
virtual void bind (tlm_fw_transport_if< tlm::tlm_base_protocol_types > &i)
 
virtual void bind (sc_port_b< tlm_fw_transport_if< tlm::tlm_base_protocol_types > > &p)
 
tlm_fw_transport_if< tlm::tlm_base_protocol_types > * operator-> ()
 
const tlm_fw_transport_if< tlm::tlm_base_protocol_types > * operator-> () const
 
tlm_fw_transport_if< tlm::tlm_base_protocol_types > * operator[] (int n)
 
const tlm_fw_transport_if< tlm::tlm_base_protocol_types > * 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
 
const char * kind () 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
 
- Public Member Functions inherited from tlm_utils::multi_init_base_if< tlm::tlm_base_protocol_types >
virtual std::vector< callback_binder_bw< tlm::tlm_base_protocol_types > * > & get_binders ()=0
 
virtual std::vector< tlm::tlm_fw_transport_if< tlm::tlm_base_protocol_types > * > & get_sockets ()=0
 

Private Member Functions

const sc_core::sc_objectget_socket () const
 

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< tlm::tlm_base_protocol_types > >
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 ()
 
- Protected Member Functions inherited from tlm_utils::multi_init_base_if< tlm::tlm_base_protocol_types >
virtual ~multi_init_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_initiator_socket< BUSWIDTH, tlm_fw_transport_if< tlm::tlm_base_protocol_types >, tlm_bw_transport_if< tlm::tlm_base_protocol_types >, N, POL >
export_type m_export
 

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_init_base< BUSWIDTH, TYPES, N, POL >

Definition at line 389 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_initiator_socket<BUSWIDTH, TYPES, N, POL> tlm_utils::multi_init_base< BUSWIDTH, TYPES, N, POL >::base_type

Definition at line 395 of file multi_socket_bases.h.

Constructor & Destructor Documentation

◆ ~multi_init_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_init_base< BUSWIDTH, TYPES, N, POL >::~multi_init_base ( )
inlinevirtual

Definition at line 412 of file multi_socket_bases.h.

◆ multi_init_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_init_base< BUSWIDTH, TYPES, N, POL >::multi_init_base ( )
inline

Definition at line 413 of file multi_socket_bases.h.

◆ multi_init_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_init_base< BUSWIDTH, TYPES, N, POL >::multi_init_base ( const char *  name)
inline

Definition at line 416 of file multi_socket_bases.h.

Member Function Documentation

◆ disable_cb_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_init_base< BUSWIDTH, TYPES, N, POL >::disable_cb_bind ( )
pure virtual

◆ 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_init_base* tlm_utils::multi_init_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_init_base< BUSWIDTH, TYPES, N, POL >::get_socket ( ) const
inlineprivatevirtual

Implements tlm_utils::convenience_socket_base.

Definition at line 419 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_init_base< BUSWIDTH, TYPES, N, POL >::get_socket_category ( ) const
inlinevirtual

Implements tlm::tlm_base_socket_if.

Definition at line 407 of file multi_socket_bases.h.


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

Generated on Thu Jul 28 2022 13:35:06 for gem5 by doxygen 1.8.17