SystemC
2.3.2
Accellera SystemC proof-of-concept library
|
#include <sysc/communication/sc_fifo.h>
Public Types | |
enum | { list_end = 0xdb } |
typedef unsigned | phase_cb_mask |
Public Member Functions | |
sc_fifo (int size_=16) | |
sc_fifo (const char *name_, int size_=16) | |
virtual | ~sc_fifo () |
virtual void | register_port (sc_port_base &, const char *) |
virtual void | read (T &) |
virtual T | read () |
virtual bool | nb_read (T &) |
virtual int | num_available () const |
virtual const sc_event & | data_written_event () const |
virtual void | write (const T &) |
virtual bool | nb_write (const T &) |
virtual int | num_free () const |
virtual const sc_event & | data_read_event () const |
operator T () | |
sc_fifo< T > & | operator= (const T &a) |
void | trace (sc_trace_file *tf) const |
virtual void | print (::std::ostream &=::std::cout) const |
virtual void | dump (::std::ostream &=::std::cout) const |
virtual const char * | kind () const |
virtual const sc_event & | default_event () const |
bool | update_requested () |
void | request_update () |
void | async_request_update () |
const char * | name () const |
const char * | basename () const |
sc_simcontext * | simcontext () const |
bool | add_attribute (sc_attr_base &) |
sc_attr_base * | get_attribute (const std::string &name_) |
const sc_attr_base * | get_attribute (const std::string &name_) const |
sc_attr_base * | remove_attribute (const std::string &name_) |
void | remove_all_attributes () |
int | num_attributes () const |
sc_attr_cltn & | attr_cltn () |
const sc_attr_cltn & | attr_cltn () const |
virtual const std::vector< sc_event * > & | get_child_events () const |
virtual const std::vector< sc_object * > & | get_child_objects () const |
sc_object * | get_parent () const |
sc_object * | get_parent_object () const |
Protected Attributes | |
int | m_size |
T * | m_buf |
int | m_free |
int | m_ri |
int | m_wi |
sc_port_base * | m_reader |
sc_port_base * | m_writer |
int | m_num_readable |
int | m_num_read |
int | m_num_written |
sc_event | m_data_read_event |
sc_event | m_data_written_event |
|
inherited |
Definition at line 75 of file sc_object.h.
|
inherited |
Enumerator | |
---|---|
list_end |
Definition at line 54 of file sc_prim_channel.h.
|
inlineexplicit |
|
inlineexplicit |
|
inlinevirtual |
|
inherited |
|
protectedvirtualinherited |
|
protectedvirtualinherited |
Reimplemented in sc_core::sc_process_b.
|
inlineprotectedinherited |
Definition at line 363 of file sc_prim_channel.h.
|
inlineprotectedinherited |
Definition at line 370 of file sc_prim_channel.h.
|
inlineinherited |
Definition at line 356 of file sc_prim_channel.h.
|
inherited |
|
inherited |
|
inherited |
|
protectedvirtualinherited |
Reimplemented in sc_core::sc_clock.
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
|
inlinevirtual |
Implements sc_core::sc_fifo_nonblocking_out_if< T >.
|
inlinevirtual |
Implements sc_core::sc_fifo_nonblocking_in_if< T >.
|
virtualinherited |
|
inlinevirtual |
Reimplemented from sc_core::sc_object.
|
protectedvirtualinherited |
|
protectedvirtualinherited |
|
inherited |
|
inherited |
|
inlinevirtualinherited |
Definition at line 114 of file sc_object.h.
|
inlinevirtualinherited |
Reimplemented in sc_core::sc_process_b, and sc_core::sc_module.
Definition at line 117 of file sc_object.h.
|
inherited |
|
inlineinherited |
Definition at line 121 of file sc_object.h.
|
inlineprotected |
|
inlinevirtual |
Reimplemented from sc_core::sc_prim_channel.
|
inlineinherited |
Definition at line 77 of file sc_object.h.
|
inlinevirtual |
Implements sc_core::sc_fifo_nonblocking_in_if< T >.
|
inlinevirtual |
Implements sc_core::sc_fifo_nonblocking_out_if< T >.
|
inlineprotectedinherited |
Definition at line 150 of file sc_prim_channel.h.
|
inlineprotectedinherited |
Definition at line 156 of file sc_prim_channel.h.
|
inlineprotectedinherited |
Definition at line 159 of file sc_prim_channel.h.
|
inlineprotectedinherited |
Definition at line 162 of file sc_prim_channel.h.
|
inlineprotectedinherited |
Definition at line 165 of file sc_prim_channel.h.
|
inlineprotectedinherited |
Definition at line 168 of file sc_prim_channel.h.
|
inlineprotectedinherited |
Definition at line 171 of file sc_prim_channel.h.
|
inlineprotectedinherited |
Definition at line 174 of file sc_prim_channel.h.
|
inlineprotectedinherited |
Definition at line 178 of file sc_prim_channel.h.
|
inlineprotectedinherited |
Definition at line 181 of file sc_prim_channel.h.
|
inlineprotectedinherited |
Definition at line 185 of file sc_prim_channel.h.
|
inlineprotectedinherited |
Definition at line 188 of file sc_prim_channel.h.
|
inherited |
|
inlinevirtual |
Implements sc_core::sc_fifo_in_if< T >.
|
inlinevirtual |
Implements sc_core::sc_fifo_out_if< T >.
|
inline |
|
inline |
|
inlinevirtual |
Reimplemented from sc_core::sc_object.
|
inlinevirtual |
Implements sc_core::sc_fifo_blocking_in_if< T >.
|
inlinevirtual |
Implements sc_core::sc_fifo_blocking_in_if< T >.
|
inlinevirtual |
Reimplemented from sc_core::sc_interface.
|
protectedinherited |
|
inherited |
|
inherited |
|
protectedvirtualinherited |
|
protectedvirtualinherited |
Reimplemented in sc_core::sc_process_b.
|
inlineinherited |
Definition at line 344 of file sc_prim_channel.h.
|
inlineinherited |
Definition at line 91 of file sc_object.h.
|
protectedvirtualinherited |
|
inlineprotectedinherited |
Definition at line 195 of file sc_prim_channel.h.
|
inlinevirtual |
Reimplemented from sc_core::sc_object.
|
protectedinherited |
|
inlineprotectedvirtual |
Reimplemented from sc_core::sc_prim_channel.
|
inlineinherited |
Definition at line 59 of file sc_prim_channel.h.
|
inlineprotectedinherited |
Definition at line 105 of file sc_prim_channel.h.
|
inlineprotectedinherited |
Definition at line 111 of file sc_prim_channel.h.
|
inlineprotectedinherited |
Definition at line 114 of file sc_prim_channel.h.
|
inlineprotectedinherited |
Definition at line 117 of file sc_prim_channel.h.
|
inlineprotectedinherited |
Definition at line 120 of file sc_prim_channel.h.
|
inlineprotectedinherited |
Definition at line 123 of file sc_prim_channel.h.
|
inlineprotectedinherited |
Definition at line 126 of file sc_prim_channel.h.
|
inlineprotectedinherited |
Definition at line 129 of file sc_prim_channel.h.
|
inlineprotectedinherited |
Definition at line 132 of file sc_prim_channel.h.
|
inlineprotectedinherited |
Definition at line 135 of file sc_prim_channel.h.
|
inlineprotectedinherited |
Definition at line 138 of file sc_prim_channel.h.
|
inlineprotectedinherited |
Definition at line 141 of file sc_prim_channel.h.
|
inlineprotectedinherited |
Definition at line 144 of file sc_prim_channel.h.
|
inlinevirtual |
Implements sc_core::sc_fifo_blocking_out_if< T >.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |