gem5 v24.0.0.0
Loading...
Searching...
No Matches
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
 
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
 

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 254 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 257 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 258 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 259 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

◆ 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

◆ 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

◆ 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

◆ 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

◆ 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

◆ 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 299 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 302 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_object.

Reimplemented in gem5::ClockRateControlInitiatorSocket, gem5::SignalInterruptInitiatorSocket, sc_core::sc_fifo_in< T >, sc_core::sc_fifo_out< T >, sc_core::sc_in< T >, sc_core::sc_in< bool >, sc_core::sc_in< sc_dt::sc_bigint< W > >, sc_core::sc_in< sc_dt::sc_biguint< W > >, sc_core::sc_in< sc_dt::sc_int< W > >, sc_core::sc_in< sc_dt::sc_logic >, sc_core::sc_in< sc_dt::sc_lv< W > >, sc_core::sc_in< sc_dt::sc_uint< W > >, sc_core::sc_in_resolved, sc_core::sc_in_rv< W >, sc_core::sc_inout< T >, sc_core::sc_inout< bool >, sc_core::sc_inout< sc_dt::sc_bigint< W > >, sc_core::sc_inout< sc_dt::sc_biguint< W > >, sc_core::sc_inout< sc_dt::sc_int< W > >, sc_core::sc_inout< sc_dt::sc_logic >, sc_core::sc_inout< sc_dt::sc_lv< W > >, sc_core::sc_inout< sc_dt::sc_uint< W > >, sc_core::sc_inout_resolved, sc_core::sc_inout_rv< W >, sc_core::sc_out< T >, sc_core::sc_out< bool >, sc_core::sc_out_resolved, sc_core::sc_out_rv< W >, tlm::tlm_base_initiator_socket< BUSWIDTH, FW_IF, BW_IF, N, POL >, 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< 64, ClockRateControlFwIf, ClockRateControlBwIf >, tlm::tlm_base_initiator_socket< 64, SignalInterruptFwIf, SignalInterruptBwIf >, 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< 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< BUSWIDTH, tlm_fw_transport_if< TYPES >, tlm_bw_transport_if< TYPES >, N, POL >, tlm::tlm_initiator_socket< BUSWIDTH, TYPES, N, POL >, 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, 1, POL >, 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, N, POL >, and tlm::tlm_initiator_socket< BUSWIDTH, TYPES, 1, sc_core::SC_ONE_OR_MORE_BOUND >.

Definition at line 295 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 300 of file sc_port.hh.


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

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