#include <rc_sc_buffer.h>
Definition at line 74 of file rc_sc_buffer.h.
Public Member Functions | |
rc_sc_buffer (const sc_module_name &name_=sc_gen_unique_name("buffer")) | |
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_buffer< bool > & | operator= (const bool &value) |
rc_sc_buffer< bool > & | operator= (const rc_sc_buffer< bool > &buffer_) |
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_buffer > | base_type |
typedef rc_sc_signal_b<bool, internals::reset_buffer> base_type [private] |
Definition at line 80 of file rc_sc_buffer.h.
rc_sc_buffer | ( | const sc_module_name & | name_ = sc_gen_unique_name("buffer") |
) | [inline, explicit] |
Definition at line 83 of file rc_sc_buffer.h.
virtual bool posedge | ( | ) | const [inline, virtual] |
Definition at line 90 of file rc_sc_buffer.h.
virtual bool negedge | ( | ) | const [inline, virtual] |
Definition at line 93 of file rc_sc_buffer.h.
virtual const sc_event& posedge_event | ( | ) | const [inline, virtual] |
Definition at line 96 of file rc_sc_buffer.h.
virtual const sc_event& negedge_event | ( | ) | const [inline, virtual] |
Definition at line 99 of file rc_sc_buffer.h.
virtual sc_reset* is_reset | ( | ) | const [inline, virtual] |
Definition at line 103 of file rc_sc_buffer.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 108 of file rc_sc_buffer.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 114 of file rc_sc_buffer.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 120 of file rc_sc_buffer.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 123 of file rc_sc_buffer.h.
operator const bool & | ( | ) | const [inline] |
Definition at line 129 of file rc_sc_buffer.h.
rc_sc_buffer<bool>& operator= | ( | const bool & | value | ) | [inline] |
Definition at line 132 of file rc_sc_buffer.h.
rc_sc_buffer<bool>& operator= | ( | const rc_sc_buffer< bool > & | buffer_ | ) | [inline] |
Definition at line 135 of file rc_sc_buffer.h.