gem5  v21.2.1.1
Public Member Functions | List of all members
tlm::tlm_analysis_fifo< T > Class Template Reference

#include <analysis_fifo.hh>

Inheritance diagram for tlm::tlm_analysis_fifo< T >:
tlm::tlm_fifo< T > tlm::tlm_analysis_if< T > tlm::tlm_analysis_if< tlm_analysis_triple< T > > tlm::tlm_fifo_get_if< T > tlm::tlm_fifo_put_if< T > sc_core::sc_prim_channel tlm::tlm_write_if< T > tlm::tlm_write_if< tlm_analysis_triple< T > > tlm::tlm_get_peek_if< T > tlm::tlm_fifo_debug_if< T > tlm::tlm_put_if< T > tlm::tlm_fifo_debug_if< T > sc_core::sc_object sc_core::sc_interface sc_core::sc_interface sc_core::sc_interface tlm::tlm_nonblocking_put_if< T > tlm::tlm_blocking_put_if< T > sc_core::sc_interface tlm::tlm_nonblocking_get_peek_if< T > tlm::tlm_blocking_get_peek_if< T > tlm::tlm_peek_if< T > tlm::tlm_get_if< T >

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 > *=nullptr)
 
bool nb_get (T &)
 
bool nb_can_get (tlm_tag< T > *=nullptr) const
 
const sc_core::sc_eventok_to_get (tlm_tag< T > *=nullptr) const
 
peek (tlm_tag< T > *=nullptr) const
 
bool nb_peek (T &) const
 
bool nb_can_peek (tlm_tag< T > *=nullptr) const
 
const sc_core::sc_eventok_to_peek (tlm_tag< T > *=nullptr) const
 
void put (const T &)
 
bool nb_put (const T &)
 
bool nb_can_put (tlm_tag< T > *=nullptr) const
 
const sc_core::sc_eventok_to_put (tlm_tag< T > *=nullptr) 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 sc_core::sc_interface
virtual void register_port (sc_port_base &, const char *)
 
virtual const sc_eventdefault_event () const
 
virtual ~sc_interface ()
 
- Public Member Functions inherited from tlm::tlm_blocking_peek_if< T >
virtual void peek (T &t) const
 
- Public Member Functions inherited from sc_core::sc_object
const char * name () const
 
const char * basename () const
 
virtual void print (std::ostream &=std::cout) const
 
virtual void dump (std::ostream &=std::cout) const
 
virtual const std::vector< sc_object * > & get_child_objects () const
 
virtual const std::vector< sc_event * > & get_child_events () const
 
sc_objectget_parent_object () const
 
bool add_attribute (sc_attr_base &)
 
sc_attr_baseget_attribute (const std::string &)
 
sc_attr_baseremove_attribute (const std::string &)
 
void remove_all_attributes ()
 
int num_attributes () const
 
sc_attr_cltnattr_cltn ()
 
const sc_attr_cltnattr_cltn () const
 
sc_simcontextsimcontext () 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 > *=nullptr)
 
void update ()
 
void init (int)
 
- Protected Member Functions inherited from sc_core::sc_interface
 sc_interface ()
 
- Protected Member Functions inherited from sc_core::sc_prim_channel
 sc_prim_channel ()
 
 sc_prim_channel (const char *)
 
virtual ~sc_prim_channel ()
 
void request_update ()
 
void async_request_update ()
 
void next_trigger ()
 
void next_trigger (const sc_event &)
 
void next_trigger (const sc_event_or_list &)
 
void next_trigger (const sc_event_and_list &)
 
void next_trigger (const sc_time &)
 
void next_trigger (double, sc_time_unit)
 
void next_trigger (const sc_time &, const sc_event &)
 
void next_trigger (double, sc_time_unit, const sc_event &)
 
void next_trigger (const sc_time &, const sc_event_or_list &)
 
void next_trigger (double, sc_time_unit, const sc_event_or_list &)
 
void next_trigger (const sc_time &, const sc_event_and_list &)
 
void next_trigger (double, sc_time_unit, const sc_event_and_list &)
 
bool timed_out ()
 
void wait ()
 
void wait (int)
 
void wait (const sc_event &)
 
void wait (const sc_event_or_list &)
 
void wait (const sc_event_and_list &)
 
void wait (const sc_time &)
 
void wait (double, sc_time_unit)
 
void wait (const sc_time &, const sc_event &)
 
void wait (double, sc_time_unit, const sc_event &)
 
void wait (const sc_time &, const sc_event_or_list &)
 
void wait (double, sc_time_unit, const sc_event_or_list &)
 
void wait (const sc_time &, const sc_event_and_list &)
 
void wait (double, sc_time_unit, const sc_event_and_list &)
 
virtual void before_end_of_elaboration ()
 
virtual void end_of_elaboration ()
 
virtual void start_of_simulation ()
 
virtual void end_of_simulation ()
 
- Protected Member Functions inherited from sc_core::sc_object
 sc_object ()
 
 sc_object (const char *)
 
 sc_object (const sc_object &)
 
sc_objectoperator= (const sc_object &)
 
virtual ~sc_object ()
 
- 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 48 of file analysis_fifo.hh.

Constructor & Destructor Documentation

◆ tlm_analysis_fifo() [1/2]

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

Definition at line 71 of file analysis_fifo.hh.

◆ tlm_analysis_fifo() [2/2]

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

Definition at line 72 of file analysis_fifo.hh.

Member Function Documentation

◆ write() [1/2]

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

Implements tlm::tlm_write_if< T >.

Definition at line 75 of file analysis_fifo.hh.

◆ write() [2/2]

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 74 of file analysis_fifo.hh.


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

Generated on Wed May 4 2022 12:16:42 for gem5 by doxygen 1.8.17