gem5  v20.1.0.0
Public Member Functions | Private Member Functions | List of all members
sc_core::sc_port< IF, N, P > Class Template Reference

#include <sc_port.hh>

Inheritance diagram for sc_core::sc_port< IF, N, P >:
sc_core::sc_port_b< IF > sc_core::sc_port_base sc_core::sc_object

Public Member Functions

 sc_port ()
 
 sc_port (const char *name)
 
virtual ~sc_port ()
 
 sc_port (const IF &interface)
 
 sc_port (const char *name, const IF &interface)
 
 sc_port (sc_port_b< IF > &parent)
 
 sc_port (const char *name, sc_port_b< IF > &parent)
 
 sc_port (sc_port< IF, N, P > &parent)
 
 sc_port (const char *name, sc_port< IF, N, P > &parent)
 
virtual const char * kind () const override
 
- Public Member Functions inherited from sc_core::sc_port_b< IF >
void operator() (IF &i)
 
void operator() (sc_port_b< IF > &p)
 
virtual void bind (IF &i)
 
virtual void bind (sc_port_b< IF > &p)
 
IF * operator-> ()
 
const IF * operator-> () const
 
IF * operator[] (int n)
 
const 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
 

Private Member Functions

 sc_port (const sc_port< IF, N, P > &)
 
sc_port< IF, N, P > & operator= (const sc_port< IF, N, P > &)
 
virtual sc_port_policy _portPolicy () const override
 

Additional Inherited Members

- Protected Member Functions inherited from sc_core::sc_port_b< 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<class IF, int N = 1, sc_port_policy P = SC_ONE_OR_MORE_BOUND>
class sc_core::sc_port< IF, N, P >

Definition at line 249 of file sc_port.hh.

Constructor & Destructor Documentation

◆ sc_port() [1/9]

template<class IF , int N = 1, sc_port_policy P = SC_ONE_OR_MORE_BOUND>
sc_core::sc_port< IF, N, P >::sc_port ( )
inline

Definition at line 252 of file sc_port.hh.

◆ sc_port() [2/9]

template<class IF , int N = 1, sc_port_policy P = SC_ONE_OR_MORE_BOUND>
sc_core::sc_port< IF, N, P >::sc_port ( const char *  name)
inlineexplicit

Definition at line 253 of file sc_port.hh.

◆ ~sc_port()

template<class IF , int N = 1, sc_port_policy P = SC_ONE_OR_MORE_BOUND>
virtual sc_core::sc_port< IF, N, P >::~sc_port ( )
inlinevirtual

Definition at line 254 of file sc_port.hh.

◆ sc_port() [3/9]

template<class IF , int N = 1, sc_port_policy P = SC_ONE_OR_MORE_BOUND>
sc_core::sc_port< IF, N, P >::sc_port ( const IF &  interface)
inlineexplicit

Definition at line 257 of file sc_port.hh.

◆ sc_port() [4/9]

template<class IF , int N = 1, sc_port_policy P = SC_ONE_OR_MORE_BOUND>
sc_core::sc_port< IF, N, P >::sc_port ( const char *  name,
const IF &  interface 
)
inline

Definition at line 262 of file sc_port.hh.

◆ sc_port() [5/9]

template<class IF , int N = 1, sc_port_policy P = SC_ONE_OR_MORE_BOUND>
sc_core::sc_port< IF, N, P >::sc_port ( sc_port_b< IF > &  parent)
inlineexplicit

Definition at line 267 of file sc_port.hh.

◆ sc_port() [6/9]

template<class IF , int N = 1, sc_port_policy P = SC_ONE_OR_MORE_BOUND>
sc_core::sc_port< IF, N, P >::sc_port ( const char *  name,
sc_port_b< IF > &  parent 
)
inline

Definition at line 272 of file sc_port.hh.

◆ sc_port() [7/9]

template<class IF , int N = 1, sc_port_policy P = SC_ONE_OR_MORE_BOUND>
sc_core::sc_port< IF, N, P >::sc_port ( sc_port< IF, N, P > &  parent)
inlineexplicit

Definition at line 278 of file sc_port.hh.

◆ sc_port() [8/9]

template<class IF , int N = 1, sc_port_policy P = SC_ONE_OR_MORE_BOUND>
sc_core::sc_port< IF, N, P >::sc_port ( const char *  name,
sc_port< IF, N, P > &  parent 
)
inline

Definition at line 283 of file sc_port.hh.

◆ sc_port() [9/9]

template<class IF , int N = 1, sc_port_policy P = SC_ONE_OR_MORE_BOUND>
sc_core::sc_port< IF, N, P >::sc_port ( const sc_port< IF, N, P > &  )
inlineprivate

Definition at line 294 of file sc_port.hh.

Member Function Documentation

◆ _portPolicy()

template<class IF , int N = 1, sc_port_policy P = SC_ONE_OR_MORE_BOUND>
virtual sc_port_policy sc_core::sc_port< IF, N, P >::_portPolicy ( ) const
inlineoverrideprivatevirtual

Implements sc_core::sc_port_base.

Definition at line 297 of file sc_port.hh.

◆ kind()

template<class IF , int N = 1, sc_port_policy P = SC_ONE_OR_MORE_BOUND>
virtual const char* sc_core::sc_port< IF, N, P >::kind ( ) const
inlineoverridevirtual

Reimplemented from sc_core::sc_port_base.

Reimplemented in tlm::tlm_initiator_socket< 32 >, tlm::tlm_initiator_socket< 32, tlm::tlm_base_protocol_types, 0, sc_core::SC_ONE_OR_MORE_BOUND >, tlm::tlm_initiator_socket< BUSWIDTH, my_extended_payload_types, 1, sc_core::SC_ONE_OR_MORE_BOUND >, tlm::tlm_initiator_socket< BUSWIDTH, tlm::tlm_base_protocol_types, N, POL >, tlm::tlm_initiator_socket< BUSWIDTH, TYPES, 1, sc_core::SC_ONE_OR_MORE_BOUND >, tlm::tlm_initiator_socket< BUSWIDTH, tlm::tlm_base_protocol_types, 1, sc_core::SC_ONE_OR_MORE_BOUND >, tlm::tlm_initiator_socket< BUSWIDTH, tlm::tlm_base_protocol_types, 1, POL >, sc_core::sc_inout< sc_dt::sc_lv< W > >, tlm::tlm_base_initiator_socket< BUSWIDTH, tlm_fw_transport_if< TYPES >, tlm_bw_transport_if< TYPES >, N, POL >, 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::tlm_base_initiator_socket< BUSWIDTH, tlm_fw_transport_if< tlm_base_protocol_types >, tlm_bw_transport_if< tlm_base_protocol_types >, 1, sc_core::SC_ONE_OR_MORE_BOUND >, tlm::tlm_base_initiator_socket< 64, ClockRateControlFwIf, ClockRateControlBwIf >, tlm::tlm_base_initiator_socket< 32, tlm_fw_transport_if< tlm_base_protocol_types >, tlm_bw_transport_if< tlm_base_protocol_types >, 1, sc_core::SC_ONE_OR_MORE_BOUND >, tlm::tlm_base_initiator_socket< BUSWIDTH, tlm_fw_transport_if< my_extended_payload_types >, tlm_bw_transport_if< my_extended_payload_types >, N, POL >, tlm::tlm_base_initiator_socket< 64, SignalInterruptFwIf, SignalInterruptBwIf >, and sc_core::sc_out< bool >.

Definition at line 290 of file sc_port.hh.

◆ operator=()

template<class IF , int N = 1, sc_port_policy P = SC_ONE_OR_MORE_BOUND>
sc_port<IF, N, P>& sc_core::sc_port< IF, N, P >::operator= ( const sc_port< IF, N, P > &  )
inlineprivate

Definition at line 295 of file sc_port.hh.


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

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