scc
2022.4.0
SystemC components library
|
fifo with callbacks More...
#include <fifo_w_cb.h>
Protected Member Functions | |
virtual void | update () |
Protected Attributes | |
std::deque< T > | in_queue {} |
std::deque< T > | out_queue {} |
std::function< void(void)> | avail_cb {} |
std::function< void(void)> | empty_cb {} |
sc_core::sc_event | data_written_evt {} |
fifo with callbacks
A fifo with callbacks upon running empty or being filled. The registered callbacks are triggered if the fifo is empty or if an element is inserted. This can be used to control the sensitivity of processes reading this fifo.
T | the type name of the elements to be store in the fifo |
Definition at line 38 of file fifo_w_cb.h.