gem5 v24.0.0.0
Loading...
Searching...
No Matches
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< BUSWIDTH, FW_IF, BW_IF > sc_core::sc_port< FW_IF, N, POL > sc_core::sc_port_b< FW_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 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< FW_IF > & get_base_port ()
 
virtual sc_core::sc_port_b< FW_IF > const & get_base_port () const
 
virtual BW_IF & get_base_interface ()
 
virtual BW_IF const & get_base_interface () const
 
virtual sc_core::sc_export< BW_IF > & get_base_export ()
 
virtual sc_core::sc_export< BW_IF > const & 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< BUSWIDTH, FW_IF, BW_IF >
virtual ~tlm_base_initiator_socket_b ()
 
- Public Member Functions inherited from sc_core::sc_port< FW_IF, N, POL >
 sc_port ()
 
 sc_port (const char *name)
 
 sc_port (const FW_IF &interface)
 
 sc_port (const char *name, const FW_IF &interface)
 
 sc_port (sc_port_b< FW_IF > &parent)
 
 sc_port (const char *name, sc_port_b< FW_IF > &parent)
 
 sc_port (sc_port< FW_IF, N, P > &parent)
 
 sc_port (const char *name, sc_port< FW_IF, N, P > &parent)
 
virtual ~sc_port ()
 
- Public Member Functions inherited from sc_core::sc_port_b< FW_IF >
void operator() (FW_IF &i)
 
void operator() (sc_port_b< FW_IF > &p)
 
virtual void bind (FW_IF &i)
 
virtual void bind (sc_port_b< FW_IF > &p)
 
FW_IF * operator-> ()
 
const FW_IF * operator-> () const
 
FW_IF * operator[] (int n)
 
const FW_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< FW_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, typename FW_IF, typename BW_IF, int N, sc_core::sc_port_policy POL>
class tlm::tlm_base_initiator_socket< BUSWIDTH, FW_IF, BW_IF, N, POL >

Definition at line 48 of file target_socket.hh.

Member Typedef Documentation

◆ base_target_socket_type

template<unsigned int BUSWIDTH, typename FW_IF , typename BW_IF , int N, sc_core::sc_port_policy POL>
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 75 of file initiator_socket.hh.

◆ base_type

template<unsigned int BUSWIDTH, typename FW_IF , typename BW_IF , int N, sc_core::sc_port_policy POL>
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 77 of file initiator_socket.hh.

◆ bw_interface_type

template<unsigned int BUSWIDTH, typename FW_IF , typename BW_IF , int N, sc_core::sc_port_policy POL>
typedef BW_IF tlm::tlm_base_initiator_socket< BUSWIDTH, FW_IF, BW_IF, N, POL >::bw_interface_type

Definition at line 68 of file initiator_socket.hh.

◆ export_type

template<unsigned int BUSWIDTH, typename FW_IF , typename BW_IF , int N, sc_core::sc_port_policy POL>
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 71 of file initiator_socket.hh.

◆ fw_interface_type

template<unsigned int BUSWIDTH, typename FW_IF , typename BW_IF , int N, sc_core::sc_port_policy POL>
typedef FW_IF tlm::tlm_base_initiator_socket< BUSWIDTH, FW_IF, BW_IF, N, POL >::fw_interface_type

Definition at line 67 of file initiator_socket.hh.

◆ port_type

template<unsigned int BUSWIDTH, typename FW_IF , typename BW_IF , int N, sc_core::sc_port_policy POL>
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 69 of file initiator_socket.hh.

Constructor & Destructor Documentation

◆ tlm_base_initiator_socket() [1/2]

template<unsigned int BUSWIDTH, typename FW_IF , typename BW_IF , int N, sc_core::sc_port_policy POL>
tlm::tlm_base_initiator_socket< BUSWIDTH, FW_IF, BW_IF, N, POL >::tlm_base_initiator_socket ( )
inline

Definition at line 83 of file initiator_socket.hh.

◆ tlm_base_initiator_socket() [2/2]

template<unsigned int BUSWIDTH, typename FW_IF , typename BW_IF , int N, sc_core::sc_port_policy POL>
tlm::tlm_base_initiator_socket< BUSWIDTH, FW_IF, BW_IF, N, POL >::tlm_base_initiator_socket ( const char * name)
inlineexplicit

Definition at line 89 of file initiator_socket.hh.

Member Function Documentation

◆ bind() [1/3]

template<unsigned int BUSWIDTH, typename FW_IF , typename BW_IF , int N, sc_core::sc_port_policy POL>
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, typename FW_IF , typename BW_IF , int N, sc_core::sc_port_policy POL>
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, typename FW_IF , typename BW_IF , int N, sc_core::sc_port_policy POL>
virtual void tlm::tlm_base_initiator_socket< BUSWIDTH, FW_IF, BW_IF, N, POL >::bind ( bw_interface_type & ifs)
inlinevirtual

◆ get_base_export() [1/2]

◆ get_base_export() [2/2]

◆ get_base_interface() [1/2]

◆ get_base_interface() [2/2]

◆ get_base_port() [1/2]

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

◆ get_bus_width()

template<unsigned int BUSWIDTH, typename FW_IF , typename BW_IF , int N, sc_core::sc_port_policy POL>
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 149 of file initiator_socket.hh.

◆ get_export_base() [1/2]

template<unsigned int BUSWIDTH, typename FW_IF , typename BW_IF , int N, sc_core::sc_port_policy POL>
virtual sc_core::sc_export_base & tlm::tlm_base_initiator_socket< BUSWIDTH, FW_IF, BW_IF, N, POL >::get_export_base ( )
inlinevirtual

◆ get_export_base() [2/2]

template<unsigned int BUSWIDTH, typename FW_IF , typename BW_IF , int N, sc_core::sc_port_policy POL>
virtual sc_core::sc_export_base const & tlm::tlm_base_initiator_socket< BUSWIDTH, FW_IF, BW_IF, N, POL >::get_export_base ( ) const
inlinevirtual

◆ get_port_base() [1/2]

template<unsigned int BUSWIDTH, typename FW_IF , typename BW_IF , int N, sc_core::sc_port_policy POL>
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 137 of file initiator_socket.hh.

◆ get_port_base() [2/2]

template<unsigned int BUSWIDTH, typename FW_IF , typename BW_IF , int N, sc_core::sc_port_policy POL>
virtual sc_core::sc_port_base const & 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 139 of file initiator_socket.hh.

◆ get_socket_category()

template<unsigned int BUSWIDTH, typename FW_IF , typename BW_IF , int N, sc_core::sc_port_policy POL>
virtual tlm_socket_category tlm::tlm_base_initiator_socket< BUSWIDTH, FW_IF, BW_IF, N, POL >::get_socket_category ( ) const
inlinevirtual

◆ kind()

◆ operator()() [1/3]

template<unsigned int BUSWIDTH, typename FW_IF , typename BW_IF , int N, sc_core::sc_port_policy POL>
void tlm::tlm_base_initiator_socket< BUSWIDTH, FW_IF, BW_IF, N, POL >::operator() ( base_target_socket_type & s)
inline

◆ operator()() [2/3]

template<unsigned int BUSWIDTH, typename FW_IF , typename BW_IF , int N, sc_core::sc_port_policy POL>
void tlm::tlm_base_initiator_socket< BUSWIDTH, FW_IF, BW_IF, N, POL >::operator() ( base_type & s)
inline

◆ operator()() [3/3]

template<unsigned int BUSWIDTH, typename FW_IF , typename BW_IF , int N, sc_core::sc_port_policy POL>
void tlm::tlm_base_initiator_socket< BUSWIDTH, FW_IF, BW_IF, N, POL >::operator() ( bw_interface_type & s)
inline

Friends And Related Symbol Documentation

◆ tlm_base_target_socket

template<unsigned int BUSWIDTH, typename FW_IF , typename BW_IF , int N, sc_core::sc_port_policy POL>
template<unsigned int , typename , typename , int , sc_core::sc_port_policy >
friend class tlm_base_target_socket
friend

Definition at line 80 of file initiator_socket.hh.

Member Data Documentation

◆ m_export


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

Generated on Tue Jun 18 2024 16:24:56 for gem5 by doxygen 1.11.0