20#ifndef __SYSTEMC_EXT_TLM_CORE_1_REQ_RSP_CHANNELS_FIFO_FIFO_HH__
21#define __SYSTEMC_EXT_TLM_CORE_1_REQ_RSP_CHANNELS_FIFO_FIFO_HH__
55 explicit tlm_fifo(
const char *name_,
int size_=1) :
105 bool nb_peek(T &,
int n)
const;
106 bool nb_poke(
const T &,
int n=0);
115 std::cout <<
"empty" << std::endl;
117 std::cout <<
"full" << std::endl;
119 std::cout <<
"size " <<
size() <<
" - " <<
used() <<
" used "
191 }
else if (size_ < 0) {
tlm_fifo(const tlm_fifo< T > &)
sc_core::sc_event & read_event(tlm_tag< T > *=nullptr)
T peek(tlm_tag< T > *=nullptr) const
const char * kind() const
bool nb_can_peek(tlm_tag< T > *=nullptr) const
const sc_core::sc_event & ok_to_get(tlm_tag< T > *=nullptr) const
void nb_unbound(unsigned int n=16)
bool nb_reduce(unsigned int n=1)
bool nb_can_get(tlm_tag< T > *=nullptr) const
sc_core::sc_event m_data_written_event
const sc_core::sc_event & ok_to_put(tlm_tag< T > *=nullptr) const
tlm_fifo & operator=(const tlm_fifo< T > &)
bool nb_bound(unsigned int n)
sc_core::sc_event m_data_read_event
T get(tlm_tag< T > *=nullptr)
bool nb_poke(const T &, int n=0)
circular_buffer< T > buffer
const sc_core::sc_event & ok_to_peek(tlm_tag< T > *=nullptr) const
void nb_expand(unsigned int n=1)
tlm_fifo(const char *name_, int size_=1)
static const char *const kind_string
bool nb_can_put(tlm_tag< T > *=nullptr) const
const char * sc_gen_unique_name(const char *seed)
const sc_time SC_ZERO_TIME