#include <rc_signal.h>
Definition at line 65 of file rc_signal.h.
Public Member Functions | |
virtual const char * | kind () const |
virtual void | register_port (sc_port_base &port_, const char *if_name_) |
virtual const sc_event & | default_event () const |
virtual const sc_event & | value_changed_event () const |
virtual const T & | read () const |
virtual const T & | get_data_ref () const |
virtual bool | event () const |
virtual void | write (const T &value) |
virtual void | print (std::ostream &os=std::cout) const |
virtual void | dump (std::ostream &os=std::cout) const |
Protected Member Functions | |
rc_signal_b (const char *name_) | |
virtual void | update () |
RC_ON_INIT_RESETTABLE () | |
RC_ON_RESET () | |
Protected Attributes | |
T | m_current_value |
sc_dt::uint64 | m_delta |
T | m_new_value |
T | m_reset_value |
bool | m_notify_value_changed_event: 1 |
bool | m_notify_posedge_event: 1 |
bool | m_notify_negedge_event: 1 |
sc_event | m_value_changed_event |
sc_port_base * | m_output_port |
sc_object * | m_driver_proc |
Private Member Functions | |
rc_signal_b (const rc_signal_b< T > &other) | |
rc_signal_b< T > & | operator= (const rc_signal_b< T > &value) |
rc_signal_b | ( | const char * | name_ | ) | [inline, explicit, protected] |
Definition at line 73 of file rc_signal.h.
rc_signal_b | ( | const rc_signal_b< T > & | other | ) | [private] |
virtual const char* kind | ( | ) | const [inline, virtual] |
Reimplemented in rc_buffer, rc_signal_resolved, and rc_signal_rv.
Definition at line 87 of file rc_signal.h.
void register_port | ( | sc_port_base & | port_, | |
const char * | if_name_ | |||
) | [inline, virtual] |
virtual const sc_event& default_event | ( | ) | const [inline, virtual] |
Definition at line 92 of file rc_signal.h.
virtual const sc_event& value_changed_event | ( | ) | const [inline, virtual] |
Definition at line 95 of file rc_signal.h.
virtual const T& read | ( | ) | const [inline, virtual] |
Definition at line 98 of file rc_signal.h.
Referenced by rc_signal< bool >::operator const bool &(), rc_signal< sc_dt::sc_logic >::operator const sc_dt::sc_logic &(), rc_signal::operator const T &(), rc_buffer::operator const T &(), rc_signal< sc_dt::sc_logic >::operator=(), rc_signal< bool >::operator=(), and rc_signal< sc_logic >::operator=().
virtual const T& get_data_ref | ( | ) | const [inline, virtual] |
Definition at line 101 of file rc_signal.h.
virtual bool event | ( | ) | const [inline, virtual] |
Definition at line 104 of file rc_signal.h.
void write | ( | const T & | value | ) | [inline, virtual] |
Reimplemented in rc_buffer, and rc_signal_resolved.
Definition at line 357 of file rc_signal.h.
Referenced by rc_signal< bool >::operator=(), and rc_signal< sc_logic >::operator=().
virtual void print | ( | std::ostream & | os = std::cout |
) | const [inline, virtual] |
Definition at line 109 of file rc_signal.h.
void dump | ( | std::ostream & | os = std::cout |
) | const [inline, virtual] |
Definition at line 379 of file rc_signal.h.
void update | ( | ) | [inline, protected, virtual] |
Reimplemented in rc_buffer, rc_signal< bool >, and rc_signal< sc_dt::sc_logic >.
Definition at line 387 of file rc_signal.h.
RC_ON_INIT_RESETTABLE | ( | ) | [inline, protected] |
Reimplemented from rc_prim_channel.
Reimplemented in rc_signal_resolved, and rc_signal_rv.
Definition at line 118 of file rc_signal.h.
RC_ON_RESET | ( | ) | [inline, protected] |
Reimplemented from rc_prim_channel.
Reimplemented in rc_signal< bool >, rc_signal< sc_dt::sc_logic >, rc_signal_resolved, and rc_signal_rv.
Definition at line 124 of file rc_signal.h.
rc_signal_b<T>& operator= | ( | const rc_signal_b< T > & | value | ) | [private] |
T m_current_value [protected] |
Definition at line 136 of file rc_signal.h.
Referenced by rc_signal_b::dump(), rc_signal< bool >::get_current_level(), rc_signal_b< sc_logic >::get_data_ref(), rc_signal< sc_dt::sc_logic >::negedge(), rc_signal< bool >::negedge(), rc_signal< sc_dt::sc_logic >::posedge(), rc_signal< bool >::posedge(), rc_signal_b< sc_logic >::print(), rc_signal_b< sc_logic >::RC_ON_RESET(), rc_signal_b< sc_logic >::read(), rc_signal_b::update(), rc_signal< sc_dt::sc_logic >::update(), rc_signal< bool >::update(), rc_buffer::update(), and rc_signal_b::write().
sc_dt::uint64 m_delta [protected] |
Definition at line 137 of file rc_signal.h.
Referenced by rc_signal_b< sc_logic >::event(), rc_signal_b< sc_logic >::RC_ON_RESET(), rc_signal_b::update(), rc_signal< sc_dt::sc_logic >::update(), rc_signal< bool >::update(), and rc_buffer::update().
T m_new_value [protected] |
Definition at line 138 of file rc_signal.h.
Referenced by rc_signal_b::dump(), rc_signal_b< sc_logic >::RC_ON_INIT_RESETTABLE(), rc_signal_b< sc_logic >::RC_ON_RESET(), rc_signal_b::update(), rc_signal< sc_dt::sc_logic >::update(), rc_signal< bool >::update(), rc_buffer::update(), rc_signal_b::write(), and rc_buffer::write().
T m_reset_value [protected] |
Definition at line 139 of file rc_signal.h.
Referenced by rc_signal_b< sc_logic >::RC_ON_INIT_RESETTABLE(), and rc_signal_b< sc_logic >::RC_ON_RESET().
bool m_notify_value_changed_event [mutable, protected] |
Definition at line 141 of file rc_signal.h.
Referenced by rc_signal_b< sc_logic >::default_event(), rc_signal_b< sc_logic >::RC_ON_RESET(), rc_signal_b::update(), rc_signal< sc_dt::sc_logic >::update(), rc_signal< bool >::update(), rc_buffer::update(), and rc_signal_b< sc_logic >::value_changed_event().
bool m_notify_posedge_event [mutable, protected] |
Definition at line 142 of file rc_signal.h.
Referenced by rc_signal< sc_dt::sc_logic >::posedge_event(), rc_signal< bool >::posedge_event(), rc_signal< bool >::RC_ON_RESET(), rc_signal< sc_dt::sc_logic >::update(), and rc_signal< bool >::update().
bool m_notify_negedge_event [mutable, protected] |
Definition at line 143 of file rc_signal.h.
Referenced by rc_signal< sc_dt::sc_logic >::negedge_event(), rc_signal< bool >::negedge_event(), rc_signal< bool >::RC_ON_RESET(), rc_signal< sc_dt::sc_logic >::update(), and rc_signal< bool >::update().
sc_event m_value_changed_event [protected] |
Definition at line 144 of file rc_signal.h.
Referenced by rc_signal_b< sc_logic >::default_event(), rc_signal_b< sc_logic >::RC_ON_RESET(), rc_signal_b::update(), rc_signal< sc_dt::sc_logic >::update(), rc_signal< bool >::update(), rc_buffer::update(), and rc_signal_b< sc_logic >::value_changed_event().
sc_port_base* m_output_port [protected] |
sc_object* m_driver_proc [protected] |
Definition at line 147 of file rc_signal.h.
Referenced by rc_signal_b::write(), and rc_buffer::write().