TLM-2.0  2.0.3
Accellera TLM-2.0 proof-of-concept library
Public Member Functions | List of all members
tlm::tlm_analysis_fifo< T > Class Template Reference

#include <tlm_core/tlm_1/tlm_analysis/tlm_analysis_fifo.h>

Inheritance diagram for tlm::tlm_analysis_fifo< T >:
Inheritance graph
[legend]
Collaboration diagram for tlm::tlm_analysis_fifo< T >:
Collaboration graph
[legend]

Public Member Functions

 tlm_analysis_fifo (const char *nm)
 
 tlm_analysis_fifo ()
 
void write (const tlm_analysis_triple< T > &t)
 
void write (const T &t)
 
- Public Member Functions inherited from tlm::tlm_fifo< T >
 tlm_fifo (int size_=1)
 
 tlm_fifo (const char *name_, int size_=1)
 
virtual ~tlm_fifo ()
 
get (tlm_tag< T > *=0)
 
bool nb_get (T &)
 
bool nb_can_get (tlm_tag< T > *=0) const
 
const sc_core::sc_eventok_to_get (tlm_tag< T > *=0) const
 
peek (tlm_tag< T > *=0) const
 
bool nb_peek (T &) const
 
bool nb_can_peek (tlm_tag< T > *=0) const
 
const sc_core::sc_eventok_to_peek (tlm_tag< T > *=0) const
 
void put (const T &)
 
bool nb_put (const T &)
 
bool nb_can_put (tlm_tag< T > *=0) const
 
const sc_core::sc_eventok_to_put (tlm_tag< T > *=0) const
 
void nb_expand (unsigned int n=1)
 
void nb_unbound (unsigned int n=16)
 
bool nb_reduce (unsigned int n=1)
 
bool nb_bound (unsigned int n)
 
bool nb_peek (T &, int n) const
 
bool nb_poke (const T &, int n=0)
 
int used () const
 
int size () const
 
void debug () const
 
const char * kind () const
 
- Public Member Functions inherited from tlm::tlm_blocking_get_if< T >
virtual void get (T &t)
 
- Public Member Functions inherited from tlm::tlm_blocking_peek_if< T >
virtual void peek (T &t) const
 

Additional Inherited Members

- Static Public Attributes inherited from tlm::tlm_fifo< T >
static const char *const kind_string = "tlm_fifo"
 
- Protected Member Functions inherited from tlm::tlm_fifo< T >
sc_core::sc_eventread_event (tlm_tag< T > *=0)
 
void update ()
 
void init (int)
 
- Protected Attributes inherited from tlm::tlm_fifo< T >
circular_buffer< T > buffer
 
int m_size
 
int m_num_readable
 
int m_num_read
 
int m_num_written
 
bool m_expand
 
int m_num_read_no_notify
 
sc_core::sc_event m_data_read_event
 
sc_core::sc_event m_data_written_event
 

Detailed Description

template<typename T>
class tlm::tlm_analysis_fifo< T >

Definition at line 28 of file tlm_analysis_fifo.h.

Constructor & Destructor Documentation

template<typename T >
tlm::tlm_analysis_fifo< T >::tlm_analysis_fifo ( const char *  nm)
inline

Definition at line 37 of file tlm_analysis_fifo.h.

template<typename T >
tlm::tlm_analysis_fifo< T >::tlm_analysis_fifo ( )
inline

Definition at line 38 of file tlm_analysis_fifo.h.

Member Function Documentation

template<typename T >
void tlm::tlm_analysis_fifo< T >::write ( const tlm_analysis_triple< T > &  t)
inlinevirtual

Implements tlm::tlm_write_if< tlm_analysis_triple< T > >.

Definition at line 40 of file tlm_analysis_fifo.h.

template<typename T >
void tlm::tlm_analysis_fifo< T >::write ( const T &  t)
inlinevirtual

Implements tlm::tlm_write_if< T >.

Definition at line 44 of file tlm_analysis_fifo.h.


The documentation for this class was generated from the following file: