|
scc 2025.09
SystemC components library
|
A template class for an optional input port with optimized binding. More...
#include <signal_opt_ports.h>


Public Types | |
| using | data_type = T |
| using | if_type = sc_core::sc_signal_in_if<data_type> |
| using | base_type = sc_core::sc_port<if_type, 1, sc_core::SC_ZERO_OR_MORE_BOUND> |
| using | this_type = sc_in_opt<data_type> |
| using | base_port_type = typename base_type::port_type |
| using | in_if_type = if_type |
| using | in_port_type = base_type |
| using | inout_if_type = sc_core::sc_signal_inout_if<data_type> |
| using | inout_port_type = sc_core::sc_port<inout_if_type, 1, sc_core::SC_ZERO_OR_MORE_BOUND> |
Public Member Functions | |
| sc_in_opt (const char *name_) | |
| sc_in_opt (const in_if_type &interface_) | |
| sc_in_opt (const char *name_, const in_if_type &interface_) | |
| sc_in_opt (in_port_type &parent_) | |
| sc_in_opt (const char *name_, in_port_type &parent_) | |
| sc_in_opt (inout_port_type &parent_) | |
| sc_in_opt (const char *name_, inout_port_type &parent_) | |
| sc_in_opt (this_type &parent_) | |
| sc_in_opt (const char *name_, this_type &parent_) | |
| sc_in_opt (const this_type &)=delete | |
| this_type & | operator= (const this_type &)=delete |
| SCC_VIRT void | bind (const in_if_type &interface_) |
| SCC_VIRT void | bind (in_if_type &interface_) override |
| void | operator() (const in_if_type &interface_) |
| SCC_VIRT void | bind (in_port_type &parent_) |
| void | operator() (in_port_type &parent_) |
| SCC_VIRT void | bind (sc_core::sc_port< if_type, 1, sc_core::SC_ONE_OR_MORE_BOUND > &parent_) |
| void | operator() (sc_core::sc_port< if_type, 1, sc_core::SC_ONE_OR_MORE_BOUND > &parent_) |
| SCC_VIRT void | bind (inout_port_type &parent_) |
| void | operator() (inout_port_type &parent_) |
| SCC_VIRT void | bind (sc_core::sc_port< inout_if_type, 1, sc_core::SC_ONE_OR_MORE_BOUND > &parent_) |
| void | operator() (sc_core::sc_port< inout_if_type, 1, sc_core::SC_ONE_OR_MORE_BOUND > &parent_) |
| const sc_core::sc_event & | default_event () const |
| const sc_core::sc_event & | value_changed_event () const |
| const data_type & | read () const |
| operator const data_type & () const | |
| bool | event () const |
| virtual const char * | kind () const override |
A template class for an optional input port with optimized binding.
The sc_in_opt class is a specialization of sc_core::sc_in that allows optional binding of 1 part or signal at max.
| T | The data type of the input port. |
Definition at line 46 of file signal_opt_ports.h.
| using scc::sc_in_opt< T >::base_port_type = typename base_type::port_type |
Definition at line 52 of file signal_opt_ports.h.
| using scc::sc_in_opt< T >::base_type = sc_core::sc_port<if_type, 1, sc_core::SC_ZERO_OR_MORE_BOUND> |
Definition at line 50 of file signal_opt_ports.h.
| using scc::sc_in_opt< T >::data_type = T |
Definition at line 48 of file signal_opt_ports.h.
| using scc::sc_in_opt< T >::if_type = sc_core::sc_signal_in_if<data_type> |
Definition at line 49 of file signal_opt_ports.h.
| using scc::sc_in_opt< T >::in_if_type = if_type |
Definition at line 54 of file signal_opt_ports.h.
| using scc::sc_in_opt< T >::in_port_type = base_type |
Definition at line 55 of file signal_opt_ports.h.
| using scc::sc_in_opt< T >::inout_if_type = sc_core::sc_signal_inout_if<data_type> |
Definition at line 56 of file signal_opt_ports.h.
| using scc::sc_in_opt< T >::inout_port_type = sc_core::sc_port<inout_if_type, 1, sc_core::SC_ZERO_OR_MORE_BOUND> |
Definition at line 57 of file signal_opt_ports.h.
| using scc::sc_in_opt< T >::this_type = sc_in_opt<data_type> |
Definition at line 51 of file signal_opt_ports.h.
|
inline |
Definition at line 60 of file signal_opt_ports.h.
|
inlineexplicit |
Definition at line 63 of file signal_opt_ports.h.
|
inlineexplicit |
Definition at line 66 of file signal_opt_ports.h.
|
inline |
Definition at line 69 of file signal_opt_ports.h.
|
inlineexplicit |
Definition at line 72 of file signal_opt_ports.h.
|
inline |
Definition at line 75 of file signal_opt_ports.h.
|
inlineexplicit |
Definition at line 78 of file signal_opt_ports.h.
|
inline |
Definition at line 83 of file signal_opt_ports.h.
|
inline |
Definition at line 88 of file signal_opt_ports.h.
|
inline |
Definition at line 91 of file signal_opt_ports.h.
|
inlinevirtual |
Definition at line 96 of file signal_opt_ports.h.
|
inline |
Definition at line 100 of file signal_opt_ports.h.
|
inlineoverride |
Definition at line 102 of file signal_opt_ports.h.
|
inline |
Definition at line 106 of file signal_opt_ports.h.
|
inline |
Definition at line 114 of file signal_opt_ports.h.
|
inline |
Definition at line 110 of file signal_opt_ports.h.
|
inline |
Definition at line 118 of file signal_opt_ports.h.
|
inline |
Definition at line 122 of file signal_opt_ports.h.
|
inline |
Definition at line 130 of file signal_opt_ports.h.
|
inlineoverridevirtual |
Definition at line 132 of file signal_opt_ports.h.
|
inline |
Definition at line 128 of file signal_opt_ports.h.
|
inline |
Definition at line 104 of file signal_opt_ports.h.
|
inline |
Definition at line 108 of file signal_opt_ports.h.
|
inline |
Definition at line 116 of file signal_opt_ports.h.
|
inline |
Definition at line 112 of file signal_opt_ports.h.
|
inline |
Definition at line 120 of file signal_opt_ports.h.
|
inline |
Definition at line 126 of file signal_opt_ports.h.
|
inline |
Definition at line 124 of file signal_opt_ports.h.