#include <rc_signal.h>
Definition at line 186 of file rc_signal.h.
Public Member Functions | |
rc_signal (const sc_module_name &name_=sc_gen_unique_name("signal")) | |
virtual const sc_event & | posedge_event () const |
virtual const sc_event & | negedge_event () const |
virtual bool | posedge () const |
virtual bool | negedge () const |
virtual sc_reset * | is_reset () const |
operator const bool & () const | |
this_type & | operator= (const bool &value) |
this_type & | operator= (const this_type &signal_) |
Protected Member Functions | |
virtual void | register_process_control (rc_process_control &pctrl, bool active_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). | |
virtual void | update () |
RC_ON_RESET () | |
Protected Attributes | |
sc_event | m_posedge_event |
sc_event | m_negedge_event |
Private Types | |
typedef rc_signal< bool > | this_type |
typedef rc_signal_b < bool > | base_type |
typedef std::set < rc_process_control * > | pctrl_set |
Private Member Functions | |
sc_signal< bool > & | _rc_get_reset_signal () const |
void | _rc_reset_updater_proc () |
Private Attributes | |
pctrl_set | p_pctrl_set [2] |
sc_signal< bool > * | p_reset_signal |
Definition at line 191 of file rc_signal.h.
typedef rc_signal_b<bool> base_type [private] |
Definition at line 192 of file rc_signal.h.
typedef std::set<rc_process_control*> pctrl_set [private] |
Definition at line 194 of file rc_signal.h.
rc_signal | ( | const sc_module_name & | name_ = sc_gen_unique_name("signal") |
) | [inline, explicit] |
Definition at line 197 of file rc_signal.h.
virtual const sc_event& posedge_event | ( | ) | const [inline, virtual] |
Definition at line 204 of file rc_signal.h.
virtual const sc_event& negedge_event | ( | ) | const [inline, virtual] |
Definition at line 207 of file rc_signal.h.
virtual bool posedge | ( | ) | const [inline, virtual] |
Definition at line 210 of file rc_signal.h.
virtual bool negedge | ( | ) | const [inline, virtual] |
Definition at line 213 of file rc_signal.h.
virtual sc_reset* is_reset | ( | ) | const [inline, virtual] |
Definition at line 218 of file rc_signal.h.
operator const bool & | ( | ) | const [inline] |
Definition at line 226 of file rc_signal.h.
this_type& operator= | ( | const bool & | value | ) | [inline] |
Definition at line 229 of file rc_signal.h.
Definition at line 232 of file rc_signal.h.
void register_process_control | ( | rc_process_control & | pctrl, | |
bool | active_level | |||
) | const [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 69 of file rc_signal.cpp.
void unregister_process_control | ( | rc_process_control & | pctrl | ) | const [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 75 of file rc_signal.cpp.
bool get_current_level | ( | ) | const [protected, virtual] |
Returns the reset channel's current level.
Implements rc_reset_channel_if.
Definition at line 82 of file rc_signal.cpp.
const sc_signal< bool > * get_underlying_reset_signal | ( | ) | const [protected, virtual] |
Returns the underlying SystemC signal (if such exists).
Implements rc_reset_channel_if.
Definition at line 87 of file rc_signal.cpp.
void update | ( | ) | [protected, virtual] |
RC_ON_RESET | ( | ) | [inline, protected] |
sc_signal< bool > & _rc_get_reset_signal | ( | ) | const [private] |
Definition at line 124 of file rc_signal.cpp.
void _rc_reset_updater_proc | ( | ) | [private] |
Definition at line 144 of file rc_signal.cpp.
sc_event m_posedge_event [protected] |
Definition at line 268 of file rc_signal.h.
sc_event m_negedge_event [protected] |
Definition at line 269 of file rc_signal.h.
pctrl_set p_pctrl_set[2] [mutable, private] |
Definition at line 272 of file rc_signal.h.
sc_signal<bool>* p_reset_signal [mutable, private] |
Definition at line 273 of file rc_signal.h.