The sc_signal<T> input/output port class. More...
#include <sysc/communication/sc_signal_ports.h>
Public Types | |
typedef T | data_type |
typedef sc_signal_inout_if < data_type > | if_type |
typedef sc_port< if_type, 1, SC_ONE_OR_MORE_BOUND > | base_type |
typedef sc_inout< data_type > | this_type |
typedef sc_signal_in_if < data_type > | in_if_type |
typedef sc_port< in_if_type, 1, SC_ONE_OR_MORE_BOUND > | in_port_type |
typedef if_type | inout_if_type |
typedef base_type | inout_port_type |
Public Member Functions | |
sc_inout () | |
sc_inout (const char *name_) | |
sc_inout (inout_if_type &interface_) | |
sc_inout (const char *name_, inout_if_type &interface_) | |
sc_inout (inout_port_type &parent_) | |
sc_inout (const char *name_, inout_port_type &parent_) | |
sc_inout (this_type &parent_) | |
sc_inout (const char *name_, this_type &parent_) | |
virtual | ~sc_inout () |
const sc_event & | default_event () const |
const sc_event & | value_changed_event () const |
const data_type & | read () const |
operator const data_type & () const | |
bool | event () const |
void | write (const data_type &value_) |
this_type & | operator= (const data_type &value_) |
this_type & | operator= (const in_if_type &interface_) |
this_type & | operator= (const in_port_type &port_) |
this_type & | operator= (const inout_port_type &port_) |
this_type & | operator= (const this_type &port_) |
void | initialize (const data_type &value_) |
void | initialize (const in_if_type &interface_) |
virtual void | end_of_elaboration () |
sc_event_finder & | value_changed () const |
virtual const char * | kind () const |
void | add_trace_internal (sc_trace_file *, const std::string &) const |
void | add_trace (sc_trace_file *, const std::string &) const |
Protected Member Functions | |
void | remove_traces () const |
Protected Attributes | |
data_type * | m_init_val |
sc_trace_params_vec * | m_traces |
The sc_signal<T> input/output port class.
Specialization of sc_inout<T> for type sc_dt::sc_logic.
Specialization of sc_inout<T> for type bool.
Definition at line 987 of file sc_signal_ports.h.
typedef sc_port<if_type,1,SC_ONE_OR_MORE_BOUND> sc_core::sc_inout< T >::base_type |
Reimplemented from sc_core::sc_port< sc_signal_inout_if< T >, 1, SC_ONE_OR_MORE_BOUND >.
Reimplemented in sc_core::sc_out< T >, sc_core::sc_inout_rv< W >, and sc_core::sc_out_rv< W >.
Definition at line 997 of file sc_signal_ports.h.
typedef T sc_core::sc_inout< T >::data_type |
Reimplemented in sc_core::sc_out< T >, sc_core::sc_inout_rv< W >, and sc_core::sc_out_rv< W >.
Definition at line 994 of file sc_signal_ports.h.
typedef sc_signal_inout_if<data_type> sc_core::sc_inout< T >::if_type |
Definition at line 996 of file sc_signal_ports.h.
typedef sc_signal_in_if<data_type> sc_core::sc_inout< T >::in_if_type |
Reimplemented in sc_core::sc_out< T >, sc_core::sc_inout_rv< W >, and sc_core::sc_out_rv< W >.
Definition at line 1000 of file sc_signal_ports.h.
typedef sc_port<in_if_type,1,SC_ONE_OR_MORE_BOUND> sc_core::sc_inout< T >::in_port_type |
Reimplemented in sc_core::sc_out< T >, sc_core::sc_inout_rv< W >, and sc_core::sc_out_rv< W >.
Definition at line 1001 of file sc_signal_ports.h.
typedef if_type sc_core::sc_inout< T >::inout_if_type |
Reimplemented in sc_core::sc_out< T >, sc_core::sc_inout_rv< W >, and sc_core::sc_out_rv< W >.
Definition at line 1002 of file sc_signal_ports.h.
typedef base_type sc_core::sc_inout< T >::inout_port_type |
Reimplemented in sc_core::sc_out< T >, sc_core::sc_inout_rv< W >, and sc_core::sc_out_rv< W >.
Definition at line 1003 of file sc_signal_ports.h.
typedef sc_inout<data_type> sc_core::sc_inout< T >::this_type |
Reimplemented from sc_core::sc_port< sc_signal_inout_if< T >, 1, SC_ONE_OR_MORE_BOUND >.
Reimplemented in sc_core::sc_out< T >, sc_core::sc_inout_rv< W >, and sc_core::sc_out_rv< W >.
Definition at line 998 of file sc_signal_ports.h.
sc_core::sc_inout< T >::sc_inout | ( | ) | [inline] |
Definition at line 1009 of file sc_signal_ports.h.
sc_core::sc_inout< T >::sc_inout | ( | const char * | name_ | ) | [inline, explicit] |
Definition at line 1014 of file sc_signal_ports.h.
sc_core::sc_inout< T >::sc_inout | ( | inout_if_type & | interface_ | ) | [inline, explicit] |
Definition at line 1019 of file sc_signal_ports.h.
sc_core::sc_inout< T >::sc_inout | ( | const char * | name_, | |
inout_if_type & | interface_ | |||
) | [inline] |
Definition at line 1024 of file sc_signal_ports.h.
sc_core::sc_inout< T >::sc_inout | ( | inout_port_type & | parent_ | ) | [inline, explicit] |
Definition at line 1029 of file sc_signal_ports.h.
sc_core::sc_inout< T >::sc_inout | ( | const char * | name_, | |
inout_port_type & | parent_ | |||
) | [inline] |
Definition at line 1034 of file sc_signal_ports.h.
sc_core::sc_inout< T >::sc_inout | ( | this_type & | parent_ | ) | [inline] |
Definition at line 1039 of file sc_signal_ports.h.
sc_core::sc_inout< T >::sc_inout | ( | const char * | name_, | |
this_type & | parent_ | |||
) | [inline] |
Definition at line 1044 of file sc_signal_ports.h.
sc_core::sc_inout< T >::~sc_inout | ( | ) | [inline, virtual] |
Definition at line 1192 of file sc_signal_ports.h.
void sc_core::sc_inout< T >::add_trace | ( | sc_trace_file * | tf_, | |
const std::string & | name_ | |||
) | const [inline] |
Definition at line 1262 of file sc_signal_ports.h.
void sc_core::sc_inout< T >::add_trace_internal | ( | sc_trace_file * | tf_, | |
const std::string & | name_ | |||
) | const [inline] |
Definition at line 1248 of file sc_signal_ports.h.
const sc_event& sc_core::sc_inout< T >::default_event | ( | ) | const [inline] |
Definition at line 1059 of file sc_signal_ports.h.
void sc_core::sc_inout< T >::end_of_elaboration | ( | ) | [inline, virtual] |
Reimplemented from sc_core::sc_port_base.
Reimplemented in sc_core::sc_inout_rv< W >.
Definition at line 1225 of file sc_signal_ports.h.
bool sc_core::sc_inout< T >::event | ( | ) | const [inline] |
Definition at line 1080 of file sc_signal_ports.h.
void sc_core::sc_inout< T >::initialize | ( | const in_if_type & | interface_ | ) | [inline] |
Definition at line 1109 of file sc_signal_ports.h.
void sc_core::sc_inout< T >::initialize | ( | const data_type & | value_ | ) | [inline] |
Definition at line 1206 of file sc_signal_ports.h.
virtual const char* sc_core::sc_inout< T >::kind | ( | ) | const [inline, virtual] |
Reimplemented from sc_core::sc_port< sc_signal_inout_if< T >, 1, SC_ONE_OR_MORE_BOUND >.
Reimplemented in sc_core::sc_out< T >, sc_core::sc_inout_rv< W >, and sc_core::sc_out_rv< W >.
Definition at line 1136 of file sc_signal_ports.h.
sc_core::sc_inout< T >::operator const data_type & | ( | ) | const [inline] |
Definition at line 1074 of file sc_signal_ports.h.
this_type& sc_core::sc_inout< T >::operator= | ( | const this_type & | port_ | ) | [inline] |
Reimplemented from sc_core::sc_port< sc_signal_inout_if< T >, 1, SC_ONE_OR_MORE_BOUND >.
Reimplemented in sc_core::sc_out< T >, sc_core::sc_inout_rv< W >, and sc_core::sc_out_rv< W >.
Definition at line 1101 of file sc_signal_ports.h.
this_type& sc_core::sc_inout< T >::operator= | ( | const inout_port_type & | port_ | ) | [inline] |
Reimplemented in sc_core::sc_out< T >, sc_core::sc_out< T >, sc_core::sc_inout_rv< W >, and sc_core::sc_out_rv< W >.
Definition at line 1098 of file sc_signal_ports.h.
this_type& sc_core::sc_inout< T >::operator= | ( | const in_port_type & | port_ | ) | [inline] |
Reimplemented in sc_core::sc_out< T >, sc_core::sc_out< T >, sc_core::sc_inout_rv< W >, sc_core::sc_inout_rv< W >, sc_core::sc_out_rv< W >, and sc_core::sc_out_rv< W >.
Definition at line 1095 of file sc_signal_ports.h.
this_type& sc_core::sc_inout< T >::operator= | ( | const in_if_type & | interface_ | ) | [inline] |
Reimplemented in sc_core::sc_out< T >, sc_core::sc_inout_rv< W >, and sc_core::sc_out_rv< W >.
Definition at line 1092 of file sc_signal_ports.h.
this_type& sc_core::sc_inout< T >::operator= | ( | const data_type & | value_ | ) | [inline] |
Reimplemented in sc_core::sc_out< T >, sc_core::sc_inout_rv< W >, and sc_core::sc_out_rv< W >.
Definition at line 1089 of file sc_signal_ports.h.
const data_type& sc_core::sc_inout< T >::read | ( | ) | const [inline] |
Definition at line 1071 of file sc_signal_ports.h.
void sc_core::sc_inout< T >::remove_traces | ( | ) | const [inline, protected] |
Definition at line 1271 of file sc_signal_ports.h.
sc_event_finder& sc_core::sc_inout< T >::value_changed | ( | ) | const [inline] |
Definition at line 1122 of file sc_signal_ports.h.
const sc_event& sc_core::sc_inout< T >::value_changed_event | ( | ) | const [inline] |
Definition at line 1065 of file sc_signal_ports.h.
void sc_core::sc_inout< T >::write | ( | const data_type & | value_ | ) | [inline] |
Definition at line 1086 of file sc_signal_ports.h.
data_type* sc_core::sc_inout< T >::m_init_val [protected] |
Definition at line 1141 of file sc_signal_ports.h.
sc_trace_params_vec* sc_core::sc_inout< T >::m_traces [mutable, protected] |
Definition at line 1154 of file sc_signal_ports.h.