#include <rc_reset_channel_if.h>
Definition at line 174 of file rc_reset_channel_if.h.
Public Member Functions | |
reset_buffer (const char *name_=sc_gen_unique_name("buffer")) | |
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. | |
operator const bool & () const | |
reset_buffer & | operator= (const bool &value) |
reset_buffer & | operator= (const reset_buffer &buffer_) |
Protected Member Functions | |
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 () |
Private Types | |
typedef sc_buffer< bool > | base_type |
typedef std::set < rc_process_control * > | pctrl_set |
Private Attributes | |
pctrl_set | p_pctrl_set [2] |
typedef sc_buffer<bool> base_type [private] |
Definition at line 179 of file rc_reset_channel_if.h.
typedef std::set<rc_process_control*> pctrl_set [private] |
Definition at line 180 of file rc_reset_channel_if.h.
reset_buffer | ( | const char * | name_ = sc_gen_unique_name("buffer") |
) | [inline] |
Definition at line 183 of file rc_reset_channel_if.h.
void register_process_control | ( | rc_process_control & | pctrl, | |
bool | active_level | |||
) | const [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 68 of file rc_reset_channel_if.cpp.
void unregister_process_control | ( | rc_process_control & | pctrl | ) | const [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 74 of file rc_reset_channel_if.cpp.
operator const bool & | ( | ) | const [inline] |
Definition at line 193 of file rc_reset_channel_if.h.
reset_buffer& operator= | ( | const bool & | value | ) | [inline] |
Definition at line 196 of file rc_reset_channel_if.h.
reset_buffer& operator= | ( | const reset_buffer & | buffer_ | ) | [inline] |
Definition at line 199 of file rc_reset_channel_if.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 203 of file rc_reset_channel_if.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 206 of file rc_reset_channel_if.h.
void update | ( | ) | [protected, virtual] |
Definition at line 81 of file rc_reset_channel_if.cpp.
pctrl_set p_pctrl_set[2] [mutable, private] |
Definition at line 212 of file rc_reset_channel_if.h.
Referenced by reset_buffer::register_process_control(), reset_buffer::unregister_process_control(), and reset_buffer::update().