#include <rc_fifo_filters.h>
Definition at line 161 of file rc_fifo_filters.h.
Public Types | |
typedef rc_abstract_prim_filter < sc_fifo_out_if< T > > | base_type |
typedef base_type::accessor_type | accessor_type |
typedef base_type::sync_callback | sync_callback |
Public Member Functions | |
rc_fifo_out_filter (int write_limit=-1) | |
rc_fifo_out_filter (const sync_callback &func_before, const sync_callback &func_after, int write_limit=-1) | |
rc_fifo_out_filter (rc_transaction_counter &tc, int tc_modify=-1, int write_limit=-1) | |
virtual void | write (const T &value) |
virtual bool | nb_write (const T &value) |
virtual int | num_free () const |
int | get_write_limit () const |
void | set_write_limit (int write_limit_) |
int | incr_write_limit (int amount_=1) |
int | decr_write_limit (int amount_=1) |
void | reset_write_limit () |
virtual rc_event_filter * | rc_get_event_filter () |
T | get_last_written () const |
Protected Member Functions | |
virtual void | rc_on_target_changed () |
virtual bool | rc_on_event (const sc_event &e) |
virtual void | rc_set_event_trigger (const sc_event &e, rc_event_trigger &t) |
virtual void | rc_clear_event_trigger (const sc_event &e) |
void | trigger_read_event () |
Private Attributes | |
int | p_max_free_default |
int | p_max_free |
rc_event_trigger * | p_event_trigger |
T | p_last_written_value |
typedef rc_abstract_prim_filter<sc_fifo_out_if<T> > base_type |
Reimplemented from rc_abstract_accessor< sc_fifo_out_if< T > >.
Definition at line 165 of file rc_fifo_filters.h.
Reimplemented from rc_abstract_prim_filter< sc_fifo_out_if< T > >.
Definition at line 166 of file rc_fifo_filters.h.
Reimplemented from rc_abstract_prim_filter< sc_fifo_out_if< T > >.
Definition at line 167 of file rc_fifo_filters.h.
rc_fifo_out_filter | ( | int | write_limit = -1 |
) | [inline, explicit] |
Definition at line 403 of file rc_fifo_filters.h.
rc_fifo_out_filter | ( | const sync_callback & | func_before, | |
const sync_callback & | func_after, | |||
int | write_limit = -1 | |||
) | [inline] |
Definition at line 410 of file rc_fifo_filters.h.
rc_fifo_out_filter | ( | rc_transaction_counter & | tc, | |
int | tc_modify = -1 , |
|||
int | write_limit = -1 | |||
) | [inline, explicit] |
Definition at line 420 of file rc_fifo_filters.h.
void write | ( | const T & | value | ) | [inline, virtual] |
Definition at line 438 of file rc_fifo_filters.h.
bool nb_write | ( | const T & | value | ) | [inline, virtual] |
Definition at line 450 of file rc_fifo_filters.h.
int num_free | ( | ) | const [inline, virtual] |
Definition at line 466 of file rc_fifo_filters.h.
int get_write_limit | ( | ) | const [inline] |
Definition at line 191 of file rc_fifo_filters.h.
void set_write_limit | ( | int | write_limit_ | ) | [inline] |
Definition at line 194 of file rc_fifo_filters.h.
int incr_write_limit | ( | int | amount_ = 1 |
) | [inline] |
Definition at line 290 of file rc_fifo_filters.h.
Referenced by rc_fifo_out_filter::decr_write_limit().
int decr_write_limit | ( | int | amount_ = 1 |
) | [inline] |
Definition at line 206 of file rc_fifo_filters.h.
void reset_write_limit | ( | ) | [inline] |
Definition at line 209 of file rc_fifo_filters.h.
virtual rc_event_filter* rc_get_event_filter | ( | ) | [inline, virtual] |
T get_last_written | ( | ) | const [inline] |
Definition at line 222 of file rc_fifo_filters.h.
void rc_on_target_changed | ( | ) | [inline, protected, virtual] |
Reimplemented from rc_abstract_accessor< sc_fifo_out_if< T > >.
Definition at line 477 of file rc_fifo_filters.h.
virtual bool rc_on_event | ( | const sc_event & | e | ) | [inline, protected, virtual] |
virtual void rc_set_event_trigger | ( | const sc_event & | e, | |
rc_event_trigger & | t | |||
) | [inline, protected, virtual] |
virtual void rc_clear_event_trigger | ( | const sc_event & | e | ) | [inline, protected, virtual] |
void trigger_read_event | ( | ) | [inline, protected] |
Definition at line 252 of file rc_fifo_filters.h.
Referenced by rc_fifo_out_filter::incr_write_limit(), rc_fifo_out_filter::reset_write_limit(), and rc_fifo_out_filter::set_write_limit().
int p_max_free_default [private] |
Definition at line 261 of file rc_fifo_filters.h.
Referenced by rc_fifo_out_filter::rc_on_target_changed(), and rc_fifo_out_filter::reset_write_limit().
int p_max_free [private] |
Definition at line 262 of file rc_fifo_filters.h.
Referenced by rc_fifo_out_filter::get_write_limit(), rc_fifo_out_filter::incr_write_limit(), rc_fifo_out_filter::nb_write(), rc_fifo_out_filter::num_free(), rc_fifo_out_filter::rc_on_event(), rc_fifo_out_filter::rc_on_target_changed(), rc_fifo_out_filter::reset_write_limit(), rc_fifo_out_filter::set_write_limit(), and rc_fifo_out_filter::write().
rc_event_trigger* p_event_trigger [private] |
Definition at line 263 of file rc_fifo_filters.h.
Referenced by rc_fifo_out_filter::rc_clear_event_trigger(), rc_fifo_out_filter::rc_set_event_trigger(), and rc_fifo_out_filter::trigger_read_event().
T p_last_written_value [private] |
Definition at line 264 of file rc_fifo_filters.h.
Referenced by rc_fifo_out_filter::get_last_written(), rc_fifo_out_filter::nb_write(), and rc_fifo_out_filter::write().