SystemC
2.3.2
Accellera SystemC proof-of-concept library
|
Generic port class and base class for other port classes. More...
#include <sysc/communication/sc_port.h>
Public Types | |
typedef this_type | port_type |
typedef unsigned | phase_cb_mask |
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_) |
SC_VIRTUAL_ void | bind (port_type &parent_) |
void | operator() (IF &interface_) |
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) |
virtual sc_interface * | get_interface () |
virtual const sc_interface * | get_interface () const |
IF * | operator[] (int index_) |
const IF * | operator[] (int index_) const |
virtual sc_type_index | get_interface_type () 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 |
Protected Member Functions | |
void | bind (sc_interface &interface_) |
virtual int | vbind (sc_interface &) |
virtual int | vbind (sc_port_base &) |
virtual void | make_sensitive (sc_thread_handle, sc_event_finder *=0) const |
virtual void | make_sensitive (sc_method_handle, sc_event_finder *=0) const |
virtual void | before_end_of_elaboration () |
virtual void | end_of_elaboration () |
virtual void | start_of_simulation () |
virtual void | end_of_simulation () |
void | report_error (const char *id, const char *add_msg=0) const |
void | add_static_event (sc_method_handle process_p, const sc_event &event) const |
void | add_static_event (sc_thread_handle process_p, const sc_event &event) const |
virtual void | add_child_event (sc_event *event_p) |
virtual void | add_child_object (sc_object *object_p) |
virtual bool | remove_child_event (sc_event *event_p) |
virtual bool | remove_child_object (sc_object *object_p) |
phase_cb_mask | register_simulation_phase_callback (phase_cb_mask) |
phase_cb_mask | unregister_simulation_phase_callback (phase_cb_mask) |
Protected Attributes | |
sc_bind_info * | m_bind_info |
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.
|
inherited |
Definition at line 75 of file sc_object.h.
|
inherited |
|
inline |
|
inlineexplicit |
|
inlineexplicit |
|
inline |
|
inlineexplicit |
|
inline |
|
inline |
|
inline |
|
inlinevirtual |
|
inherited |
|
protectedvirtualinherited |
|
protectedvirtualinherited |
Reimplemented in sc_core::sc_process_b.
|
protectedinherited |
|
protectedinherited |
|
inherited |
|
inherited |
|
inherited |
|
protectedvirtualinherited |
|
protectedinherited |
|
inlineinherited |
|
inlineinherited |
|
inherited |
|
virtualinherited |
|
protectedvirtualinherited |
Reimplemented in 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_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_in_rv< W >, and sc_core::sc_in_resolved.
|
protectedvirtualinherited |
|
inherited |
|
inherited |
|
inlinevirtualinherited |
Definition at line 114 of file sc_object.h.
|
inlinevirtualinherited |
Reimplemented in sc_core::sc_process_b, and sc_core::sc_module.
Definition at line 117 of file sc_object.h.
|
inlineinherited |
|
inlineinherited |
|
inlinevirtualinherited |
Implements sc_core::sc_port_base.
|
inlinevirtualinherited |
Implements sc_core::sc_port_base.
|
inlinevirtualinherited |
Implements sc_core::sc_port_base.
|
inherited |
|
inlineinherited |
Definition at line 121 of file sc_object.h.
|
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.
|
protectedvirtualinherited |
Reimplemented from sc_core::sc_port_base.
|
protectedvirtualinherited |
Reimplemented from sc_core::sc_port_base.
|
inlineinherited |
Definition at line 77 of file sc_object.h.
|
inherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
virtualinherited |
|
protectedinherited |
|
inherited |
|
inherited |
|
protectedvirtualinherited |
|
protectedvirtualinherited |
Reimplemented in sc_core::sc_process_b.
|
protectedinherited |
|
inlineinherited |
Definition at line 91 of file sc_object.h.
|
inlineinherited |
|
protectedvirtualinherited |
|
virtualinherited |
|
protectedinherited |
|
inlineprotectedvirtualinherited |
Implements sc_core::sc_port_base.
Reimplemented in sc_core::sc_in< sc_dt::sc_logic >, sc_core::sc_in< bool >, sc_core::sc_in< T >, and sc_core::sc_in< sc_dt::sc_lv< W > >.
|
inlineprotectedvirtualinherited |
Implements sc_core::sc_port_base.
Reimplemented in sc_core::sc_in< sc_dt::sc_logic >, sc_core::sc_in< bool >, sc_core::sc_in< T >, and sc_core::sc_in< sc_dt::sc_lv< W > >.
|
protectedinherited |