gem5 v24.1.0.1
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Public Member Functions | List of all members
tlm::tlm_target_socket< BUSWIDTH, TYPES, N, POL > Class Template Reference

#include <target_socket.hh>

Inheritance diagram for tlm::tlm_target_socket< BUSWIDTH, TYPES, N, POL >:
tlm::tlm_base_target_socket< BUSWIDTH, FW_IF, BW_IF, N, POL > tlm::tlm_base_socket_if tlm::tlm_base_target_socket_b< BUSWIDTH, FW_IF, BW_IF > sc_core::sc_export< IF > sc_core::sc_export_base sc_core::sc_object tlm_utils::multi_target_base< 32, tlm::tlm_base_protocol_types, 0, sc_core::SC_ONE_OR_MORE_BOUND > tlm_utils::multi_target_base< BUSWIDTH, tlm::tlm_base_protocol_types, N, POL > tlm_utils::passthrough_target_socket_b< MODULE, 32, tlm::tlm_base_protocol_types > tlm_utils::passthrough_target_socket_b< MODULE, 32, tlm::tlm_base_protocol_types, sc_core::SC_ZERO_OR_MORE_BOUND > tlm_utils::passthrough_target_socket_b< SimpleLTTarget2, 32, tlm::tlm_base_protocol_types > tlm_utils::passthrough_target_socket_tagged_b< MODULE, 32, tlm::tlm_base_protocol_types > tlm_utils::passthrough_target_socket_tagged_b< MODULE, 32, tlm::tlm_base_protocol_types, sc_core::SC_ZERO_OR_MORE_BOUND > tlm_utils::simple_target_socket_b< MODULE, 32, tlm::tlm_base_protocol_types > tlm_utils::simple_target_socket_b< MODULE, 32, tlm::tlm_base_protocol_types, sc_core::SC_ZERO_OR_MORE_BOUND > tlm_utils::simple_target_socket_b< ExplicitATTarget, 32, tlm::tlm_base_protocol_types > tlm_utils::simple_target_socket_b< ExplicitLTTarget, 32, tlm::tlm_base_protocol_types > tlm_utils::simple_target_socket_b< SimpleATTarget1, 32, tlm::tlm_base_protocol_types > tlm_utils::simple_target_socket_b< SimpleATTarget2, 32, tlm::tlm_base_protocol_types > tlm_utils::simple_target_socket_b< SimpleLTTarget_ext, BUSWIDTH, my_extended_payload_types > tlm_utils::simple_target_socket_b< adapt_ext2gp, BUSWIDTH, my_extended_payload_types > tlm_utils::simple_target_socket_b< adapt_gp2ext, BUSWIDTH, tlm::tlm_base_protocol_types > tlm_utils::simple_target_socket_b< gem5::fastmodel::AmbaFromTlmBridge64, BUSWIDTH, tlm::tlm_base_protocol_types > tlm_utils::simple_target_socket_b< gem5::fastmodel::AmbaToTlmBridge64, BUSWIDTH, tlm::tlm_base_protocol_types > tlm_utils::simple_target_socket_b< gem5::memory::DRAMSysWrapper, 32, tlm::tlm_base_protocol_types > tlm_utils::simple_target_socket_b< sc_gem5::TlmToGem5Bridge< BITWIDTH >, BUSWIDTH, tlm::tlm_base_protocol_types > tlm_utils::simple_target_socket_tagged_b< MODULE, 32, tlm::tlm_base_protocol_types > tlm_utils::simple_target_socket_tagged_b< MODULE, 32, tlm::tlm_base_protocol_types, sc_core::SC_ZERO_OR_MORE_BOUND > tlm_utils::simple_target_socket_tagged_b< SimpleBusAT, 32, tlm::tlm_base_protocol_types > tlm_utils::simple_target_socket_tagged_b< SimpleBusLT, 32, tlm::tlm_base_protocol_types > tlm_utils::multi_target_base< BUSWIDTH, TYPES, N, POL > tlm_utils::passthrough_target_socket_b< MODULE, BUSWIDTH, TYPES, POL > tlm_utils::passthrough_target_socket_tagged_b< MODULE, BUSWIDTH, TYPES, POL > tlm_utils::simple_target_socket_b< MODULE, BUSWIDTH, TYPES, POL > tlm_utils::simple_target_socket_tagged_b< MODULE, BUSWIDTH, TYPES, POL >

Public Member Functions

 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, FW_IF, BW_IF, N, POL >
 tlm_base_target_socket ()
 
 tlm_base_target_socket (const char *name)
 
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)
 
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_baseget_port_base ()
 
virtual sc_core::sc_port_base const & get_port_base () const
 
virtual sc_core::sc_export_baseget_export_base ()
 
virtual sc_core::sc_export_base const & get_export_base () const
 
virtual unsigned int get_bus_width () const
 
virtual tlm_socket_category get_socket_category () const
 
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< IF >
 sc_export ()
 
 sc_export (const char *n)
 
virtual ~sc_export ()
 
void operator() (IF &i)
 The following warning is disabled because the bind methods are overloaded in the derived class and the base class.
 
virtual void bind (IF &i)
 
 operator IF & ()
 
 operator const IF & () const
 
IF * operator-> ()
 
const IF * operator-> () const
 
sc_interfaceget_iterface () override
 
const sc_interfaceget_interface () const override
 
- 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
 

Additional Inherited Members

- Public Types inherited from tlm::tlm_base_target_socket< BUSWIDTH, FW_IF, BW_IF, N, POL >
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_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
 
- Protected Member Functions inherited from tlm::tlm_base_socket_if
virtual ~tlm_base_socket_if ()
 
- Protected Member Functions inherited from sc_core::sc_export< IF >
void before_end_of_elaboration () override
 
void end_of_elaboration () override
 
void start_of_simulation () 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 Attributes inherited from tlm::tlm_base_target_socket< BUSWIDTH, FW_IF, BW_IF, N, POL >
port_type m_port
 

Detailed Description

template<unsigned int BUSWIDTH = 32, typename TYPES = tlm_base_protocol_types, int N = 1, sc_core::sc_port_policy POL = sc_core::SC_ONE_OR_MORE_BOUND>
class tlm::tlm_target_socket< BUSWIDTH, TYPES, N, POL >

Definition at line 209 of file target_socket.hh.

Constructor & Destructor Documentation

◆ tlm_target_socket() [1/2]

template<unsigned int BUSWIDTH = 32, typename TYPES = tlm_base_protocol_types, int N = 1, sc_core::sc_port_policy POL = sc_core::SC_ONE_OR_MORE_BOUND>
tlm::tlm_target_socket< BUSWIDTH, TYPES, N, POL >::tlm_target_socket ( )
inline

Definition at line 215 of file target_socket.hh.

◆ tlm_target_socket() [2/2]

template<unsigned int BUSWIDTH = 32, typename TYPES = tlm_base_protocol_types, int N = 1, sc_core::sc_port_policy POL = sc_core::SC_ONE_OR_MORE_BOUND>
tlm::tlm_target_socket< BUSWIDTH, TYPES, N, POL >::tlm_target_socket ( const char *  name)
inlineexplicit

Definition at line 221 of file target_socket.hh.

Member Function Documentation

◆ get_protocol_types()

template<unsigned int BUSWIDTH = 32, typename TYPES = tlm_base_protocol_types, int N = 1, sc_core::sc_port_policy POL = sc_core::SC_ONE_OR_MORE_BOUND>
virtual std::type_index tlm::tlm_target_socket< BUSWIDTH, TYPES, N, POL >::get_protocol_types ( ) const
inlinevirtual

Implements tlm::tlm_base_socket_if.

Definition at line 230 of file target_socket.hh.

◆ kind()

template<unsigned int BUSWIDTH = 32, typename TYPES = tlm_base_protocol_types, int N = 1, sc_core::sc_port_policy POL = sc_core::SC_ONE_OR_MORE_BOUND>
virtual const char * tlm::tlm_target_socket< BUSWIDTH, TYPES, N, POL >::kind ( ) const
inlinevirtual

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

Generated on Mon Jan 13 2025 04:30:43 for gem5 by doxygen 1.9.8