#include <rc_sc_signal.h>
Definition at line 180 of file rc_sc_signal.h.
Public Member Functions | |
rc_sc_signal (const sc_module_name &name_=sc_gen_unique_name("signal")) | |
virtual bool | posedge () const |
virtual bool | negedge () const |
virtual const sc_event & | posedge_event () const |
virtual const sc_event & | negedge_event () const |
virtual sc_reset * | is_reset () const |
operator const bool & () const | |
rc_sc_signal< bool > & | operator= (const bool &value) |
rc_sc_signal< bool > & | operator= (const rc_sc_signal< bool > &signal_) |
Protected Member Functions | |
virtual void | register_process_control (rc_process_control &pctrl, bool reset_level) const |
Registers a process control at the channel's reset list. | |
virtual void | unregister_process_control (rc_process_control &pctrl) const |
Unregisters a process control from the channel's reset list. | |
virtual bool | get_current_level () const |
Returns the reset channel's current level. | |
virtual const sc_signal< bool > * | get_underlying_reset_signal () const |
Returns the underlying SystemC signal (if such exists). | |
Private Types | |
typedef rc_sc_signal_b< bool, internals::reset_signal > | base_type |
typedef rc_sc_signal_b<bool, internals::reset_signal> base_type [private] |
Definition at line 186 of file rc_sc_signal.h.
rc_sc_signal | ( | const sc_module_name & | name_ = sc_gen_unique_name("signal") |
) | [inline, explicit] |
Definition at line 189 of file rc_sc_signal.h.
virtual bool posedge | ( | ) | const [inline, virtual] |
Definition at line 196 of file rc_sc_signal.h.
virtual bool negedge | ( | ) | const [inline, virtual] |
Definition at line 199 of file rc_sc_signal.h.
virtual const sc_event& posedge_event | ( | ) | const [inline, virtual] |
Definition at line 202 of file rc_sc_signal.h.
virtual const sc_event& negedge_event | ( | ) | const [inline, virtual] |
Definition at line 205 of file rc_sc_signal.h.
virtual sc_reset* is_reset | ( | ) | const [inline, virtual] |
Definition at line 209 of file rc_sc_signal.h.
virtual void register_process_control | ( | rc_process_control & | pctrl, | |
bool | active_level | |||
) | const [inline, protected, virtual] |
Registers a process control at the channel's reset list.
pctrl | The process control object that shall be deactivated in case of a reset. | |
active_level | The reset trigger level (high or low). |
Implements rc_reset_channel_if.
Definition at line 214 of file rc_sc_signal.h.
virtual void unregister_process_control | ( | rc_process_control & | pctrl | ) | const [inline, protected, virtual] |
Unregisters a process control from the channel's reset list.
pctrl | The process control object that shall be unregistered |
Implements rc_reset_channel_if.
Definition at line 220 of file rc_sc_signal.h.
virtual bool get_current_level | ( | ) | const [inline, protected, virtual] |
Returns the reset channel's current level.
Implements rc_reset_channel_if.
Definition at line 226 of file rc_sc_signal.h.
virtual const sc_signal<bool>* get_underlying_reset_signal | ( | ) | const [inline, protected, virtual] |
Returns the underlying SystemC signal (if such exists).
Implements rc_reset_channel_if.
Definition at line 229 of file rc_sc_signal.h.
operator const bool & | ( | ) | const [inline] |
Definition at line 235 of file rc_sc_signal.h.
rc_sc_signal<bool>& operator= | ( | const bool & | value | ) | [inline] |
Definition at line 238 of file rc_sc_signal.h.
rc_sc_signal<bool>& operator= | ( | const rc_sc_signal< bool > & | signal_ | ) | [inline] |
Definition at line 241 of file rc_sc_signal.h.