gem5 v25.0.0.1
Loading...
Searching...
No Matches
tlm_utils::simple_target_socket_optional< MODULE, BUSWIDTH, TYPES > Class Template Reference

#include <simple_target_socket.h>

Inheritance diagram for tlm_utils::simple_target_socket_optional< MODULE, BUSWIDTH, TYPES >:
tlm_utils::simple_target_socket_b< MODULE, 32, tlm::tlm_base_protocol_types, sc_core::SC_ZERO_OR_MORE_BOUND > tlm::tlm_target_socket< BUSWIDTH, tlm::tlm_base_protocol_types, 1, POL > tlm_utils::simple_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 tlm::tlm_base_socket_if tlm::tlm_base_target_socket_b< BUSWIDTH, tlm_fw_transport_if< tlm::tlm_base_protocol_types >, tlm_bw_transport_if< tlm::tlm_base_protocol_types > > sc_core::sc_export< tlm_fw_transport_if< tlm::tlm_base_protocol_types > > sc_core::sc_export_base sc_core::sc_object

Public Member Functions

 simple_target_socket_optional ()
 simple_target_socket_optional (const char *name)
Public Member Functions inherited from tlm_utils::simple_target_socket_b< MODULE, 32, tlm::tlm_base_protocol_types, sc_core::SC_ZERO_OR_MORE_BOUND >
 simple_target_socket_b (const char *n=default_name())
tlm::tlm_bw_transport_if< tlm::tlm_base_protocol_types > * operator-> ()
void register_nb_transport_fw (MODULE *mod, sync_enum_type(MODULE::*cb)(transaction_type &, phase_type &, sc_core::sc_time &))
void register_b_transport (MODULE *mod, void(MODULE::*cb)(transaction_type &, sc_core::sc_time &))
void register_transport_dbg (MODULE *mod, unsigned int(MODULE::*cb)(transaction_type &))
void register_get_direct_mem_ptr (MODULE *mod, bool(MODULE::*cb)(transaction_type &, tlm::tlm_dmi &))
Public Member Functions inherited from tlm::tlm_target_socket< BUSWIDTH, tlm::tlm_base_protocol_types, 1, POL >
 tlm_target_socket ()
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 ()
virtual void bind (base_initiator_socket_type &s)
 The following warning is disabled because the bind methods are overloaded in the derived class and the base class.
void operator() (base_initiator_socket_type &s)
int size () const
bw_interface_typeoperator-> ()
bw_interface_typeoperator[] (int i)
virtual sc_core::sc_port_baseget_port_base ()
virtual sc_core::sc_export_baseget_export_base ()
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 tlm_fw_transport_if< tlm::tlm_base_protocol_types > & get_base_interface ()
virtual sc_core::sc_export< tlm_fw_transport_if< tlm::tlm_base_protocol_types > > & get_base_export ()
Public Member Functions inherited from tlm::tlm_base_socket_if
virtual sc_core::sc_port_base const & get_port_base () const =0
virtual sc_core::sc_export_base const & get_export_base () const =0
Public Member Functions inherited from tlm::tlm_base_target_socket_b< BUSWIDTH, tlm_fw_transport_if< tlm::tlm_base_protocol_types >, tlm_bw_transport_if< tlm::tlm_base_protocol_types > >
virtual ~tlm_base_target_socket_b ()
Public Member Functions inherited from sc_core::sc_export< tlm_fw_transport_if< tlm::tlm_base_protocol_types > >
 sc_export ()
 sc_export (const char *n)
virtual ~sc_export ()
void operator() (tlm_fw_transport_if< tlm::tlm_base_protocol_types > &i)
 The following warning is disabled because the bind methods are overloaded in the derived class and the base class.
virtual void bind (tlm_fw_transport_if< tlm::tlm_base_protocol_types > &i)
 operator tlm_fw_transport_if< tlm::tlm_base_protocol_types > & ()
 operator const tlm_fw_transport_if< tlm::tlm_base_protocol_types > & () const
tlm_fw_transport_if< tlm::tlm_base_protocol_types > * operator-> ()
const tlm_fw_transport_if< tlm::tlm_base_protocol_types > * operator-> () const
sc_interfaceget_iterface () override
const sc_interfaceget_interface () const override
 operator tlm_fw_transport_if< tlm::tlm_base_protocol_types > & ()
 operator const tlm_fw_transport_if< tlm::tlm_base_protocol_types > & () const
 operator tlm_fw_transport_if< tlm::tlm_base_protocol_types > & ()
 operator const tlm_fw_transport_if< tlm::tlm_base_protocol_types > & () const
Public Member Functions inherited from sc_core::sc_export_base
 sc_export_base (const char *n)
 ~sc_export_base ()
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

Private Types

typedef simple_target_socket_b< MODULE, BUSWIDTH, TYPES, sc_core::SC_ZERO_OR_MORE_BOUNDsocket_b

Additional Inherited Members

Public Types inherited from tlm_utils::simple_target_socket_b< MODULE, 32, tlm::tlm_base_protocol_types, sc_core::SC_ZERO_OR_MORE_BOUND >
typedef tlm::tlm_base_protocol_types::tlm_payload_type transaction_type
typedef tlm::tlm_base_protocol_types::tlm_phase_type phase_type
typedef tlm::tlm_sync_enum sync_enum_type
typedef tlm::tlm_fw_transport_if< tlm::tlm_base_protocol_typesfw_interface_type
typedef tlm::tlm_bw_transport_if< tlm::tlm_base_protocol_typesbw_interface_type
typedef tlm::tlm_target_socket< BUSWIDTH, tlm::tlm_base_protocol_types, 1, 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
Static Public Member Functions inherited from tlm_utils::simple_target_socket_b< MODULE, 32, tlm::tlm_base_protocol_types, sc_core::SC_ZERO_OR_MORE_BOUND >
static const char * default_name ()
Protected Member Functions inherited from tlm_utils::simple_target_socket_b< MODULE, 32, tlm::tlm_base_protocol_types, sc_core::SC_ZERO_OR_MORE_BOUND >
void start_of_simulation ()
Protected Member Functions inherited from tlm::tlm_base_socket_if
virtual ~tlm_base_socket_if ()
Protected Member Functions inherited from sc_core::sc_export< tlm_fw_transport_if< tlm::tlm_base_protocol_types > >
void before_end_of_elaboration () override
void end_of_elaboration () override
void end_of_simulation () override
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::simple_socket_base
void elaboration_check (const char *action) const
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<typename MODULE, unsigned int BUSWIDTH = 32, typename TYPES = tlm::tlm_base_protocol_types>
class tlm_utils::simple_target_socket_optional< MODULE, BUSWIDTH, TYPES >

Definition at line 599 of file simple_target_socket.h.

Member Typedef Documentation

◆ socket_b

template<typename MODULE, unsigned int BUSWIDTH = 32, typename TYPES = tlm::tlm_base_protocol_types>
typedef simple_target_socket_b<MODULE, BUSWIDTH, TYPES, sc_core::SC_ZERO_OR_MORE_BOUND> tlm_utils::simple_target_socket_optional< MODULE, BUSWIDTH, TYPES >::socket_b
private

Definition at line 604 of file simple_target_socket.h.

Constructor & Destructor Documentation

◆ simple_target_socket_optional() [1/2]

template<typename MODULE, unsigned int BUSWIDTH = 32, typename TYPES = tlm::tlm_base_protocol_types>
tlm_utils::simple_target_socket_optional< MODULE, BUSWIDTH, TYPES >::simple_target_socket_optional ( )
inline

Definition at line 606 of file simple_target_socket.h.

◆ simple_target_socket_optional() [2/2]

template<typename MODULE, unsigned int BUSWIDTH = 32, typename TYPES = tlm::tlm_base_protocol_types>
tlm_utils::simple_target_socket_optional< MODULE, BUSWIDTH, TYPES >::simple_target_socket_optional ( const char * name)
inlineexplicit

Definition at line 607 of file simple_target_socket.h.

References name().


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

Generated on Sat Oct 18 2025 08:07:55 for gem5 by doxygen 1.14.0