gem5 v24.0.0.0
|
#include <sc_signal.hh>
Public Member Functions | |
ScSignalBaseT (const char *_name) | |
ScSignalBaseT (const char *_name, const T &initial_value) | |
virtual | ~ScSignalBaseT () |
virtual void | register_port (sc_core::sc_port_base &port, const char *iface_type_name) |
virtual const T & | read () const |
operator const T & () const | |
virtual void | write (const T &t) |
virtual const sc_core::sc_event & | default_event () const |
virtual const sc_core::sc_event & | value_changed_event () const |
virtual void | print (std::ostream &os=std::cout) const |
virtual void | dump (std::ostream &os=std::cout) const |
virtual bool | event () const |
virtual sc_core::sc_writer_policy | get_writer_policy () const |
Public Member Functions inherited from sc_gem5::ScSignalBase | |
virtual const char * | kind () const |
Public Member Functions inherited from sc_core::sc_object | |
const char * | name () const |
const char * | basename () 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 |
Public Member Functions inherited from sc_core::sc_interface | |
virtual | ~sc_interface () |
Protected Attributes | |
T | m_cur_val |
T | m_new_val |
WriteChecker< WRITER_POLICY > | _checker |
Protected Attributes inherited from sc_gem5::ScSignalBase | |
InternalScEvent | _valueChangedEvent |
uint64_t | _changeStamp |
sc_core::sc_port_base * | _gem5WriterPort |
Definition at line 160 of file sc_signal.hh.
|
inline |
Definition at line 164 of file sc_signal.hh.
|
inline |
Definition at line 168 of file sc_signal.hh.
|
inlinevirtual |
Definition at line 172 of file sc_signal.hh.
|
inlinevirtual |
Reimplemented from sc_core::sc_interface.
Definition at line 203 of file sc_signal.hh.
References sc_gem5::ScSignalBase::defaultEvent().
|
inlinevirtual |
Reimplemented from sc_core::sc_object.
Definition at line 216 of file sc_signal.hh.
References sc_gem5::ScSignalBaseT< T, WRITER_POLICY >::m_cur_val, sc_gem5::ScSignalBaseT< T, WRITER_POLICY >::m_new_val, and name().
|
inlinevirtual |
Implements sc_core::sc_signal_in_if< T >.
Definition at line 223 of file sc_signal.hh.
References sc_gem5::ScSignalBase::event().
|
inlinevirtual |
Implements sc_gem5::ScSignalBase.
Definition at line 226 of file sc_signal.hh.
|
inline |
Definition at line 186 of file sc_signal.hh.
|
inlinevirtual |
Reimplemented from sc_core::sc_object.
Definition at line 214 of file sc_signal.hh.
References sc_gem5::ScSignalBaseT< T, WRITER_POLICY >::m_cur_val.
|
inlinevirtual |
Implements sc_core::sc_signal_in_if< T >.
Definition at line 185 of file sc_signal.hh.
References sc_gem5::ScSignalBaseT< T, WRITER_POLICY >::m_cur_val.
Referenced by sc_gem5::ScSignalBaseT< bool, SC_ONE_WRITER >::operator const bool &(), sc_core::sc_buffer< T, WRITER_POLICY >::operator=(), sc_core::sc_buffer< T, WRITER_POLICY >::operator=(), sc_core::sc_signal< T, WRITER_POLICY >::operator=(), sc_core::sc_signal< bool, WRITER_POLICY >::operator=(), and sc_core::sc_signal< sc_dt::sc_logic, WRITER_POLICY >::operator=().
|
inlinevirtual |
Reimplemented from sc_core::sc_interface.
Reimplemented in sc_core::sc_signal_resolved, and sc_core::sc_signal_rv< W >.
Definition at line 175 of file sc_signal.hh.
References sc_gem5::ScSignalBaseT< T, WRITER_POLICY >::_checker, and name().
|
inlinevirtual |
Implements sc_core::sc_signal_in_if< T >.
Definition at line 209 of file sc_signal.hh.
References sc_gem5::ScSignalBase::valueChangedEvent().
|
inlinevirtual |
Implements sc_core::sc_signal_write_if< T >.
Reimplemented in sc_core::sc_buffer< T, WRITER_POLICY >, sc_core::sc_clock, sc_core::sc_signal_resolved, and sc_core::sc_signal_rv< W >.
Definition at line 189 of file sc_signal.hh.
References sc_gem5::ScSignalBaseT< T, WRITER_POLICY >::_checker, sc_gem5::ScSignalBaseT< T, WRITER_POLICY >::m_cur_val, sc_gem5::ScSignalBaseT< T, WRITER_POLICY >::m_new_val, and sc_core::sc_prim_channel::request_update().
|
protected |
Definition at line 238 of file sc_signal.hh.
Referenced by sc_gem5::ScSignalBaseT< T, WRITER_POLICY >::register_port(), sc_core::sc_buffer< T, WRITER_POLICY >::write(), and sc_gem5::ScSignalBaseT< T, WRITER_POLICY >::write().
|
protected |
Definition at line 235 of file sc_signal.hh.
Referenced by sc_gem5::ScSignalBaseT< T, WRITER_POLICY >::dump(), sc_gem5::ScSignalBaseT< T, WRITER_POLICY >::print(), sc_gem5::ScSignalBaseT< T, WRITER_POLICY >::read(), sc_core::sc_buffer< T, WRITER_POLICY >::update(), and sc_gem5::ScSignalBaseT< T, WRITER_POLICY >::write().
|
protected |
Definition at line 236 of file sc_signal.hh.
Referenced by sc_gem5::ScSignalBaseT< T, WRITER_POLICY >::dump(), sc_core::sc_buffer< T, WRITER_POLICY >::update(), sc_core::sc_buffer< T, WRITER_POLICY >::write(), and sc_gem5::ScSignalBaseT< T, WRITER_POLICY >::write().