| gem5
    v19.0.0.0
    | 
#include <fifo.hh>
 
  
 | Public Member Functions | |
| tlm_fifo (int size_=1) | |
| tlm_fifo (const char *name_, int size_=1) | |
| virtual | ~tlm_fifo () | 
| T | get (tlm_tag< T > *=nullptr) | 
| bool | nb_get (T &) | 
| bool | nb_can_get (tlm_tag< T > *=nullptr) const | 
| const sc_core::sc_event & | ok_to_get (tlm_tag< T > *=nullptr) const | 
| T | peek (tlm_tag< T > *=nullptr) const | 
| bool | nb_peek (T &) const | 
| bool | nb_can_peek (tlm_tag< T > *=nullptr) const | 
| const sc_core::sc_event & | ok_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_event & | ok_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_event & | default_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_object * | get_parent_object () const | 
| bool | add_attribute (sc_attr_base &) | 
| sc_attr_base * | get_attribute (const std::string &) | 
| sc_attr_base * | remove_attribute (const std::string &) | 
| void | remove_all_attributes () | 
| int | num_attributes () const | 
| sc_attr_cltn & | attr_cltn () | 
| const sc_attr_cltn & | attr_cltn () const | 
| sc_simcontext * | simcontext () const | 
| Static Public Attributes | |
| static const char *const | kind_string = "tlm_fifo" | 
| Protected Attributes | |
| 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 | 
| Private Member Functions | |
| tlm_fifo (const tlm_fifo< T > &) | |
| tlm_fifo & | operator= (const tlm_fifo< T > &) | 
| bool | is_empty () const | 
| bool | is_full () const | 
| 
 | inlineexplicit | 
Definition at line 49 of file fifo.hh.
References tlm::tlm_fifo< T >::init().
| 
 | inlineexplicit | 
Definition at line 55 of file fifo.hh.
References tlm::tlm_fifo< T >::init().
| 
 | inlinevirtual | 
Definition at line 62 of file fifo.hh.
References tlm::tlm_fifo< T >::nb_can_get(), and tlm::tlm_fifo< T >::nb_get().
| 
 | private | 
| 
 | inlinevirtual | 
Implements tlm::tlm_fifo_debug_if< T >.
Definition at line 112 of file fifo.hh.
References tlm::tlm_fifo< T >::is_empty(), tlm::tlm_fifo< T >::is_full(), tlm::tlm_fifo< T >::m_num_read, tlm::tlm_fifo< T >::m_num_readable, tlm::tlm_fifo< T >::m_num_written, tlm::tlm_fifo< T >::size(), and tlm::tlm_fifo< T >::used().
| 
 | inlinevirtual | 
Implements tlm::tlm_blocking_get_if< T >.
Definition at line 29 of file fifo_put_get.hh.
References sc_core::wait().
| 
 | inlineprotected | 
Definition at line 187 of file fifo.hh.
References tlm::tlm_fifo< T >::buffer, tlm::tlm_fifo< T >::m_expand, tlm::tlm_fifo< T >::m_num_read, tlm::tlm_fifo< T >::m_num_read_no_notify, tlm::tlm_fifo< T >::m_num_readable, tlm::tlm_fifo< T >::m_num_written, and tlm::tlm_fifo< T >::m_size.
Referenced by tlm::tlm_fifo< T >::read_event(), and tlm::tlm_fifo< T >::tlm_fifo().
| 
 | inlineprivate | 
Definition at line 164 of file fifo.hh.
References tlm::tlm_fifo< T >::used().
Referenced by tlm::tlm_fifo< T >::debug().
| 
 | inlineprivate | 
Definition at line 167 of file fifo.hh.
References tlm::tlm_fifo< T >::m_num_written, and tlm::tlm_fifo< T >::size().
Referenced by tlm::tlm_fifo< T >::debug().
| 
 | inlinevirtual | 
Reimplemented from sc_core::sc_prim_channel.
Definition at line 128 of file fifo.hh.
References tlm::tlm_fifo< T >::kind_string.
| 
 | inline | 
Definition at line 65 of file fifo_resize.hh.
Referenced by tlm::tlm_fifo< T >::ok_to_put().
| 
 | inlinevirtual | 
Implements tlm::tlm_nonblocking_get_if< T >.
Definition at line 60 of file fifo_put_get.hh.
Referenced by tlm::tlm_fifo< T >::~tlm_fifo().
| 
 | inlinevirtual | 
Implements tlm::tlm_nonblocking_peek_if< T >.
Definition at line 68 of file fifo_peek.hh.
Referenced by tlm::tlm_fifo< T >::ok_to_get().
| 
 | inlinevirtual | 
Implements tlm::tlm_nonblocking_put_if< T >.
Definition at line 106 of file fifo_put_get.hh.
Referenced by tlm::tlm_fifo< T >::ok_to_peek().
| 
 | inline | 
Definition at line 29 of file fifo_resize.hh.
References ArmISA::n.
Referenced by tlm::tlm_fifo< T >::ok_to_put().
| 
 | inlinevirtual | 
Implements tlm::tlm_nonblocking_get_if< T >.
Definition at line 44 of file fifo_put_get.hh.
Referenced by tlm::tlm_fifo< T >::~tlm_fifo().
| 
 | inlinevirtual | 
Implements tlm::tlm_nonblocking_peek_if< T >.
Definition at line 40 of file fifo_peek.hh.
Referenced by tlm::tlm_fifo< T >::ok_to_get(), and tlm::tlm_fifo< T >::ok_to_put().
| 
 | inlinevirtual | 
Implements tlm::tlm_fifo_debug_if< T >.
Definition at line 52 of file fifo_peek.hh.
| 
 | inlinevirtual | 
Implements tlm::tlm_fifo_debug_if< T >.
Definition at line 75 of file fifo_peek.hh.
References ArmISA::t.
Referenced by tlm::tlm_fifo< T >::ok_to_put().
| 
 | inlinevirtual | 
Implements tlm::tlm_nonblocking_put_if< T >.
Definition at line 87 of file fifo_put_get.hh.
Referenced by tlm::tlm_fifo< T >::ok_to_peek(), and tlm::tlm_analysis_fifo< T >::write().
| 
 | inline | 
Definition at line 54 of file fifo_resize.hh.
Referenced by tlm::tlm_fifo< T >::ok_to_put().
| 
 | inline | 
Definition at line 40 of file fifo_resize.hh.
References ArmISA::n.
Referenced by tlm::tlm_fifo< T >::ok_to_put().
| 
 | inlinevirtual | 
Implements tlm::tlm_nonblocking_get_if< T >.
Definition at line 70 of file fifo.hh.
References tlm::tlm_fifo< T >::m_data_written_event, tlm::tlm_fifo< T >::nb_can_peek(), tlm::tlm_fifo< T >::nb_peek(), and tlm::tlm_fifo< T >::peek().
| 
 | inlinevirtual | 
Implements tlm::tlm_nonblocking_peek_if< T >.
Definition at line 81 of file fifo.hh.
References tlm::tlm_fifo< T >::m_data_written_event, tlm::tlm_fifo< T >::nb_can_put(), tlm::tlm_fifo< T >::nb_put(), and tlm::tlm_fifo< T >::put().
| 
 | inlinevirtual | 
Implements tlm::tlm_nonblocking_put_if< T >.
Definition at line 92 of file fifo.hh.
References tlm::tlm_fifo< T >::m_data_read_event, ArmISA::n, tlm::tlm_fifo< T >::nb_bound(), tlm::tlm_fifo< T >::nb_expand(), tlm::tlm_fifo< T >::nb_peek(), tlm::tlm_fifo< T >::nb_poke(), tlm::tlm_fifo< T >::nb_reduce(), and tlm::tlm_fifo< T >::nb_unbound().
| 
 | private | 
| 
 | inlinevirtual | 
Implements tlm::tlm_blocking_peek_if< T >.
Definition at line 28 of file fifo_peek.hh.
References sc_core::wait().
Referenced by tlm::tlm_fifo< T >::ok_to_get().
| 
 | inlinevirtual | 
Implements tlm::tlm_blocking_put_if< T >.
Definition at line 69 of file fifo_put_get.hh.
References sc_core::wait().
Referenced by tlm::tlm_fifo< T >::ok_to_peek().
| 
 | inlineprotected | 
Definition at line 132 of file fifo.hh.
References tlm::tlm_fifo< T >::init(), tlm::tlm_fifo< T >::m_data_read_event, and tlm::tlm_fifo< T >::update().
| 
 | inlinevirtual | 
Implements tlm::tlm_fifo_debug_if< T >.
Definition at line 109 of file fifo.hh.
References tlm::tlm_fifo< T >::m_size.
Referenced by tlm::tlm_fifo< T >::debug(), and tlm::tlm_fifo< T >::is_full().
| 
 | inlineprotectedvirtual | 
Reimplemented from sc_core::sc_prim_channel.
Definition at line 207 of file fifo.hh.
References tlm::tlm_fifo< T >::buffer, tlm::tlm_fifo< T >::m_data_read_event, tlm::tlm_fifo< T >::m_data_written_event, tlm::tlm_fifo< T >::m_expand, tlm::tlm_fifo< T >::m_num_read, tlm::tlm_fifo< T >::m_num_read_no_notify, tlm::tlm_fifo< T >::m_num_readable, tlm::tlm_fifo< T >::m_num_written, sc_core::sc_event::notify(), and sc_core::SC_ZERO_TIME.
Referenced by tlm::tlm_fifo< T >::read_event().
| 
 | inlinevirtual | 
Implements tlm::tlm_fifo_debug_if< T >.
Definition at line 108 of file fifo.hh.
References tlm::tlm_fifo< T >::m_num_read, and tlm::tlm_fifo< T >::m_num_readable.
Referenced by tlm::tlm_fifo< T >::debug(), and tlm::tlm_fifo< T >::is_empty().
| 
 | protected | 
Definition at line 140 of file fifo.hh.
Referenced by tlm::tlm_fifo< T >::init(), and tlm::tlm_fifo< T >::update().
| 
 | static | 
Definition at line 127 of file fifo.hh.
Referenced by tlm::tlm_fifo< T >::kind().
| 
 | protected | 
Definition at line 151 of file fifo.hh.
Referenced by tlm::tlm_fifo< T >::ok_to_put(), tlm::tlm_fifo< T >::read_event(), and tlm::tlm_fifo< T >::update().
| 
 | protected | 
Definition at line 152 of file fifo.hh.
Referenced by tlm::tlm_fifo< T >::ok_to_get(), tlm::tlm_fifo< T >::ok_to_peek(), and tlm::tlm_fifo< T >::update().
| 
 | protected | 
Definition at line 147 of file fifo.hh.
Referenced by tlm::tlm_fifo< T >::init(), and tlm::tlm_fifo< T >::update().
| 
 | protected | 
Definition at line 145 of file fifo.hh.
Referenced by tlm::tlm_fifo< T >::debug(), tlm::tlm_fifo< T >::init(), tlm::tlm_fifo< T >::update(), and tlm::tlm_fifo< T >::used().
| 
 | protected | 
Definition at line 149 of file fifo.hh.
Referenced by tlm::tlm_fifo< T >::init(), and tlm::tlm_fifo< T >::update().
| 
 | protected | 
Definition at line 144 of file fifo.hh.
Referenced by tlm::tlm_fifo< T >::debug(), tlm::tlm_fifo< T >::init(), tlm::tlm_fifo< T >::update(), and tlm::tlm_fifo< T >::used().
| 
 | protected | 
Definition at line 146 of file fifo.hh.
Referenced by tlm::tlm_fifo< T >::debug(), tlm::tlm_fifo< T >::init(), tlm::tlm_fifo< T >::is_full(), and tlm::tlm_fifo< T >::update().
| 
 | protected | 
Definition at line 142 of file fifo.hh.
Referenced by tlm::tlm_fifo< T >::init(), and tlm::tlm_fifo< T >::size().