gem5 v24.0.0.0
|
#include <sc_inout.hh>
Public Member Functions | |
sc_inout () | |
sc_inout (const char *name) | |
virtual | ~sc_inout () |
sc_inout (const sc_signal_inout_if< T > &interface) | |
sc_inout (const char *name, const sc_signal_inout_if< T > &interface) | |
sc_inout (sc_port_b< sc_signal_inout_if< T > > &parent) | |
sc_inout (const char *name, sc_port_b< sc_signal_inout_if< T > > &parent) | |
sc_inout (sc_port< sc_signal_inout_if< T >, 1 > &parent) | |
sc_inout (const char *name, sc_port< sc_signal_inout_if< T >, 1 > &parent) | |
void | initialize (const T &t) |
void | initialize (const sc_signal_in_if< T > &i) |
virtual void | end_of_elaboration () |
const T & | read () const |
operator const T & () const | |
void | write (const T &t) |
sc_inout< T > & | operator= (const T &t) |
sc_inout< T > & | operator= (const sc_signal_in_if< T > &i) |
sc_inout< T > & | operator= (const sc_port< sc_signal_in_if< T >, 1 > &p) |
sc_inout< T > & | operator= (const sc_port< sc_signal_inout_if< T >, 1 > &p) |
sc_inout< T > & | operator= (const sc_inout< T > &p) |
const sc_event & | default_event () const |
const sc_event & | value_changed_event () const |
bool | event () const |
sc_event_finder & | value_changed () const |
virtual const char * | kind () const |
void | add_trace (sc_trace_file *tf, const std::string &name) const |
Public Member Functions inherited from sc_core::sc_port< sc_signal_inout_if< T >, 1 > | |
sc_port () | |
sc_port (const char *name) | |
sc_port (const sc_signal_inout_if< T > &interface) | |
sc_port (const char *name, const sc_signal_inout_if< T > &interface) | |
sc_port (sc_port_b< sc_signal_inout_if< T > > &parent) | |
sc_port (const char *name, sc_port_b< sc_signal_inout_if< T > > &parent) | |
sc_port (sc_port< sc_signal_inout_if< T >, N, SC_ONE_OR_MORE_BOUND > &parent) | |
sc_port (const char *name, sc_port< sc_signal_inout_if< T >, N, SC_ONE_OR_MORE_BOUND > &parent) | |
virtual | ~sc_port () |
Public Member Functions inherited from sc_core::sc_port_b< sc_signal_inout_if< T > > | |
void | operator() (sc_signal_inout_if< T > &i) |
void | operator() (sc_port_b< sc_signal_inout_if< T > > &p) |
virtual void | bind (sc_signal_inout_if< T > &i) |
virtual void | bind (sc_port_b< sc_signal_inout_if< T > > &p) |
sc_signal_inout_if< T > * | operator-> () |
const sc_signal_inout_if< T > * | operator-> () const |
sc_signal_inout_if< T > * | operator[] (int n) |
const sc_signal_inout_if< T > * | operator[] (int n) const |
sc_interface * | get_interface () |
const sc_interface * | get_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_object * | get_parent_object () const |
bool | add_attribute (sc_attr_base &) |
sc_attr_base * | get_attribute (const std::string &) |
sc_attr_base * | remove_attribute (const std::string &) |
void | remove_all_attributes () |
int | num_attributes () const |
sc_attr_cltn & | attr_cltn () |
const sc_attr_cltn & | attr_cltn () const |
sc_simcontext * | simcontext () const |
Private Member Functions | |
sc_inout (const sc_inout< T > &) | |
Private Attributes | |
T * | initValue |
sc_event_finder_t< sc_signal_inout_if< T > > | _valueChangedFinder |
sc_trace_params_vec | traceParamsVec |
Additional Inherited Members | |
Protected Member Functions inherited from sc_core::sc_port_b< sc_signal_inout_if< T > > | |
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_object & | operator= (const sc_object &) |
virtual | ~sc_object () |
Definition at line 81 of file sc_spawn.hh.
|
inline |
Definition at line 57 of file sc_inout.hh.
|
inlineexplicit |
Definition at line 60 of file sc_inout.hh.
|
inlinevirtual |
Definition at line 64 of file sc_inout.hh.
References sc_core::sc_inout< T >::initValue.
|
inlineexplicit |
Definition at line 67 of file sc_inout.hh.
|
inline |
Definition at line 71 of file sc_inout.hh.
|
inlineexplicit |
Definition at line 75 of file sc_inout.hh.
|
inline |
Definition at line 79 of file sc_inout.hh.
|
inlineexplicit |
Definition at line 83 of file sc_inout.hh.
|
inline |
Definition at line 87 of file sc_inout.hh.
|
private |
|
inline |
Definition at line 167 of file sc_inout.hh.
References name(), and sc_core::sc_inout< T >::traceParamsVec.
|
inline |
Definition at line 155 of file sc_inout.hh.
|
inlinevirtual |
Implements sc_core::sc_port_base.
Reimplemented in sc_core::sc_inout_rv< W >.
Definition at line 106 of file sc_inout.hh.
References sc_core::sc_inout< T >::initValue, sc_core::sc_trace(), sc_core::sc_inout< T >::traceParamsVec, and sc_core::sc_inout< T >::write().
Referenced by sc_core::sc_inout_resolved::end_of_elaboration().
|
inline |
Definition at line 161 of file sc_inout.hh.
|
inline |
Definition at line 103 of file sc_inout.hh.
References sc_core::sc_inout< T >::initialize().
Referenced by sc_core::sc_inout< T >::initialize().
|
inline |
Definition at line 93 of file sc_inout.hh.
References sc_core::sc_inout< T >::initValue, and sc_core::sc_port_base::size().
Referenced by sc_core::sc_inout< sc_dt::sc_logic >::initialize().
|
inlinevirtual |
Reimplemented from sc_core::sc_port< sc_signal_inout_if< T >, 1 >.
Reimplemented in sc_core::sc_inout_rv< W >, sc_core::sc_out< T >, and sc_core::sc_out_rv< W >.
Definition at line 164 of file sc_inout.hh.
|
inline |
Definition at line 121 of file sc_inout.hh.
|
inline |
Definition at line 149 of file sc_inout.hh.
References sc_core::sc_inout< T >::write().
|
inline |
Definition at line 137 of file sc_inout.hh.
References sc_core::sc_inout< T >::write().
|
inline |
Definition at line 143 of file sc_inout.hh.
References sc_core::sc_inout< T >::write().
|
inline |
Definition at line 131 of file sc_inout.hh.
References sc_core::sc_inout< T >::write().
|
inline |
Definition at line 125 of file sc_inout.hh.
References sc_core::sc_inout< T >::write().
Referenced by sc_core::sc_out< T >::operator=(), sc_core::sc_out< T >::operator=(), sc_core::sc_out< T >::operator=(), sc_core::sc_out< T >::operator=(), and sc_core::sc_out< T >::operator=().
|
inline |
Definition at line 120 of file sc_inout.hh.
Referenced by sc_core::sc_inout< sc_dt::sc_bigint< W > >::end_of_elaboration(), sc_core::sc_inout< sc_dt::sc_biguint< W > >::end_of_elaboration(), sc_core::sc_inout< sc_dt::sc_int< W > >::end_of_elaboration(), and sc_core::sc_inout< sc_dt::sc_uint< W > >::end_of_elaboration().
|
inline |
Definition at line 162 of file sc_inout.hh.
References sc_core::sc_inout< T >::_valueChangedFinder.
|
inline |
Definition at line 157 of file sc_inout.hh.
|
inline |
Definition at line 123 of file sc_inout.hh.
Referenced by sc_core::sc_inout< T >::end_of_elaboration(), sc_core::sc_inout< bool >::end_of_elaboration(), sc_core::sc_inout< sc_dt::sc_logic >::end_of_elaboration(), sc_core::sc_inout< T >::operator=(), sc_core::sc_inout< T >::operator=(), sc_core::sc_inout< T >::operator=(), sc_core::sc_inout< T >::operator=(), sc_core::sc_inout< T >::operator=(), sc_core::sc_inout< bool >::operator=(), sc_core::sc_inout< bool >::operator=(), sc_core::sc_inout< bool >::operator=(), sc_core::sc_inout< bool >::operator=(), sc_core::sc_inout< bool >::operator=(), sc_core::sc_inout< sc_dt::sc_logic >::operator=(), sc_core::sc_inout< sc_dt::sc_logic >::operator=(), sc_core::sc_inout< sc_dt::sc_logic >::operator=(), sc_core::sc_inout< sc_dt::sc_logic >::operator=(), sc_core::sc_inout< sc_dt::sc_logic >::operator=(), sc_core::sc_inout_rv< W >::operator=(), sc_core::sc_inout_rv< W >::operator=(), sc_core::sc_inout_rv< W >::operator=(), sc_core::sc_inout_rv< W >::operator=(), sc_core::sc_inout_rv< W >::operator=(), sc_core::sc_out_rv< W >::operator=(), sc_core::sc_out_rv< W >::operator=(), sc_core::sc_out_rv< W >::operator=(), sc_core::sc_out_rv< W >::operator=(), and sc_core::sc_out_rv< W >::operator=().
|
mutableprivate |
Definition at line 174 of file sc_inout.hh.
Referenced by sc_core::sc_inout< T >::value_changed(), sc_core::sc_inout< bool >::value_changed(), and sc_core::sc_inout< sc_dt::sc_logic >::value_changed().
|
private |
Definition at line 173 of file sc_inout.hh.
Referenced by sc_core::sc_inout< T >::end_of_elaboration(), sc_core::sc_inout< bool >::end_of_elaboration(), sc_core::sc_inout< sc_dt::sc_logic >::end_of_elaboration(), sc_core::sc_inout< T >::initialize(), sc_core::sc_inout< bool >::initialize(), sc_core::sc_inout< sc_dt::sc_logic >::initialize(), sc_core::sc_inout< T >::~sc_inout(), sc_core::sc_inout< bool >::~sc_inout(), and sc_core::sc_inout< sc_dt::sc_logic >::~sc_inout().
|
mutableprivate |
Definition at line 176 of file sc_inout.hh.
Referenced by sc_core::sc_inout< T >::add_trace(), sc_core::sc_inout< bool >::add_trace(), sc_core::sc_inout< sc_dt::sc_logic >::add_trace(), sc_core::sc_inout< T >::end_of_elaboration(), sc_core::sc_inout< bool >::end_of_elaboration(), and sc_core::sc_inout< sc_dt::sc_logic >::end_of_elaboration().