SystemC
Recoding Infrastructure for SystemC v0.6.3 derived from Accellera SystemC 2.3.1
Accellera SystemC proof-of-concept library
|
Generic port class and base class for other port classes. More...
#include <sysc/communication/sc_port.h>
Public Member Functions | |
sc_port () | |
sc_port (const char *name_) | |
sc_port (IF &interface_) | |
sc_port (const char *name_, IF &interface_) | |
sc_port (base_type &parent_) | |
sc_port (const char *name_, base_type &parent_) | |
sc_port (this_type &parent_) | |
sc_port (const char *name_, this_type &parent_) | |
virtual | ~sc_port () |
virtual const char * | kind () const |
![]() | |
SC_VIRTUAL_ void | bind (IF &interface_) |
void | operator() (IF &interface_) |
SC_VIRTUAL_ void | bind (port_type &parent_) |
void | operator() (port_type &parent_) |
int | size () const |
IF * | operator-> () |
const IF * | operator-> () const |
const IF * | get_interface (int iface_i) const |
IF * | get_interface (int iface_i) |
IF * | operator[] (int index_) |
const IF * | operator[] (int index_) const |
virtual sc_interface * | get_interface () |
virtual const sc_interface * | get_interface () const |
![]() | |
int | bind_count () |
![]() | |
const char * | name () const |
const char * | basename () const |
virtual void | print (::std::ostream &os=::std::cout) const |
virtual void | dump (::std::ostream &os=::std::cout) const |
virtual void | trace (sc_trace_file *tf) const |
sc_simcontext * | simcontext () const |
bool | add_attribute (sc_attr_base &) |
sc_attr_base * | get_attribute (const std::string &name_) |
const sc_attr_base * | get_attribute (const std::string &name_) const |
sc_attr_base * | remove_attribute (const std::string &name_) |
void | remove_all_attributes () |
int | num_attributes () const |
sc_attr_cltn & | attr_cltn () |
const sc_attr_cltn & | attr_cltn () const |
virtual const std::vector < sc_event * > & | get_child_events () const |
virtual const std::vector < sc_object * > & | get_child_objects () const |
sc_object * | get_parent () const |
sc_object * | get_parent_object () const |
Generic port class and base class for other port classes.
N is the maximum number of channels (with interface IF) that can be bound to this port. N <= 0 means no maximum.
|
inline |
|
inlineexplicit |
|
inlineexplicit |
|
inline |
|
inlineexplicit |
|
inline |
|
inline |
|
inline |
|
inlinevirtual |
|
inlinevirtual |
Reimplemented from sc_core::sc_port_base.
Reimplemented in sc_core::sc_out< T >, sc_core::sc_out< bool >, sc_core::sc_inout< sc_dt::sc_logic >, sc_core::sc_inout< bool >, sc_core::sc_inout< T >, sc_core::sc_inout< sc_dt::sc_lv< W > >, sc_core::sc_in< sc_dt::sc_logic >, sc_core::sc_in< bool >, sc_core::sc_out_rv< W >, sc_core::sc_out_resolved, sc_core::sc_fifo_out< T >, sc_core::sc_in< T >, sc_core::sc_in< sc_dt::sc_lv< W > >, sc_core::sc_inout_rv< W >, sc_core::sc_inout_resolved, sc_core::sc_fifo_in< T >, sc_core::sc_in_rv< W >, and sc_core::sc_in_resolved.