29#ifndef SC_FIFO_PORTS_H
30#define SC_FIFO_PORTS_H
46:
public sc_port<sc_fifo_in_if<T>,0,SC_ONE_OR_MORE_BOUND>
67 , m_written_finder_p()
72 , m_written_finder_p()
77 , m_written_finder_p()
82 , m_written_finder_p()
87 , m_written_finder_p()
92 , m_written_finder_p()
97 , m_written_finder_p()
102 , m_written_finder_p()
110 delete m_written_finder_p;
119 { (*this)->read( value_ ); }
122 {
return (*this)->read(); }
128 {
return (*this)->nb_read( value_ ); }
134 {
return (*this)->num_available(); }
140 {
return (*this)->data_written_event(); }
151 virtual const char*
kind()
const
152 {
return "sc_fifo_in"; }
173:
public sc_port<sc_fifo_out_if<T>,0,SC_ONE_OR_MORE_BOUND>
237 delete m_read_finder_p;
246 { (*this)->write( value_ ); }
252 {
return (*this)->nb_write( value_ ); }
258 {
return (*this)->num_free(); }
264 {
return (*this)->data_read_event(); }
275 virtual const char*
kind()
const
276 {
return "sc_fifo_out"; }
static sc_event_finder & cached_create(sc_event_finder *&cache_p, const sc_port_base &port_, const sc_event &(IF::*ef_p)() const)
virtual const sc_event & data_written_event() const =0
virtual const sc_event & data_read_event() const =0
void read(data_type &value_)
sc_port_b< in_if_type > in_port_type
sc_fifo_in< data_type > this_type
sc_port< if_type, 0, SC_ONE_OR_MORE_BOUND > base_type
sc_fifo_in(const char *name_, in_port_type &parent_)
sc_fifo_in_if< data_type > if_type
sc_event_finder & data_written() const
int num_available() const
sc_fifo_in(const char *name_, in_if_type &interface_)
const sc_event & data_written_event() const
sc_fifo_in(in_if_type &interface_)
bool nb_read(data_type &value_)
virtual const char * kind() const
sc_fifo_in(const char *name_, this_type &parent_)
sc_fifo_in(in_port_type &parent_)
sc_fifo_in(this_type &parent_)
sc_fifo_in(const char *name_)
void write(const data_type &value_)
sc_port< if_type, 0, SC_ONE_OR_MORE_BOUND > base_type
sc_fifo_out(this_type &parent_)
sc_fifo_out(out_port_type &parent_)
sc_fifo_out(out_if_type &interface_)
sc_fifo_out(const char *name_)
bool nb_write(const data_type &value_)
sc_fifo_out(const char *name_, out_if_type &interface_)
sc_fifo_out(const char *name_, out_port_type &parent_)
sc_fifo_out(const char *name_, this_type &parent_)
sc_fifo_out_if< data_type > if_type
sc_port_b< out_if_type > out_port_type
sc_fifo_out< data_type > this_type
virtual const char * kind() const
sc_event_finder & data_read() const
const sc_event & data_read_event() const