#include <tlm_fifo.h>
Public メソッド | |
tlm_fifo (int size_=1) | |
tlm_fifo (const char *name_, int size_=1) | |
virtual | tlm_fifo () |
T | get (tlm_tag< T > *t=0) |
bool | nb_get (T &) |
bool | nb_can_get (tlm_tag< T > *t=0) const |
const sc_core::sc_event & | ok_to_get (tlm_tag< T > *t=0) const |
T | peek (tlm_tag< T > *t=0) const |
bool | nb_peek (T &) const |
bool | nb_can_peek (tlm_tag< T > *t=0) const |
const sc_core::sc_event & | ok_to_peek (tlm_tag< T > *t=0) const |
void | put (const T &) |
bool | nb_put (const T &) |
bool | nb_can_put (tlm_tag< T > *t=0) const |
const sc_core::sc_event & | ok_to_put (tlm_tag< T > *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 |
Static Public 変数 | |
static const char *const | kind_string = "tlm_fifo" |
Protected メソッド | |
sc_core::sc_event & | read_event (tlm_tag< T > *t=0) |
void | update () |
void | init (int) |
Protected 変数 | |
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 メソッド | |
tlm_fifo (const tlm_fifo< T > &) | |
tlm_fifo & | operator= (const tlm_fifo< T > &) |
bool | is_empty () const |
bool | is_full () const |
tlm_fifo.h の 43 行で定義されています。
tlm::tlm_fifo< T >::tlm_fifo | ( | int | size_ = 1 |
) | [inline, explicit] |
tlm::tlm_fifo< T >::tlm_fifo | ( | const char * | name_, | |
int | size_ = 1 | |||
) | [inline, explicit] |
virtual tlm::tlm_fifo< T >::tlm_fifo | ( | ) | [inline, virtual] |
tlm::tlm_fifo< T >::tlm_fifo | ( | const tlm_fifo< T > & | ) | [private] |
T tlm::tlm_fifo< T >::get | ( | tlm_tag< T > * | t = 0 |
) | [inline, virtual] |
tlm::tlm_blocking_get_if< T >を実装しています。
tlm_fifo_put_get.h の 32 行で定義されています。
参照先 tlm::tlm_fifo< T >::buffer, tlm::tlm_fifo< T >::is_empty(), tlm::tlm_fifo< T >::m_data_written_event, と tlm::tlm_fifo< T >::m_num_read.
bool tlm::tlm_fifo< T >::nb_get | ( | T & | val_ | ) | [inline, virtual] |
tlm::tlm_nonblocking_get_if< T >を実装しています。
tlm_fifo_put_get.h の 51 行で定義されています。
参照先 tlm::tlm_fifo< T >::buffer, tlm::tlm_fifo< T >::is_empty(), と tlm::tlm_fifo< T >::m_num_read.
bool tlm::tlm_fifo< T >::nb_can_get | ( | tlm_tag< T > * | t = 0 |
) | const [inline, virtual] |
tlm::tlm_nonblocking_get_if< T >を実装しています。
tlm_fifo_put_get.h の 70 行で定義されています。
参照先 tlm::tlm_fifo< T >::is_empty().
const sc_core::sc_event& tlm::tlm_fifo< T >::ok_to_get | ( | tlm_tag< T > * | t = 0 |
) | const [inline, virtual] |
T tlm::tlm_fifo< T >::peek | ( | tlm_tag< T > * | t = 0 |
) | const [inline, virtual] |
tlm::tlm_blocking_peek_if< T >を実装しています。
tlm_fifo_peek.h の 26 行で定義されています。
参照先 tlm::tlm_fifo< T >::buffer, tlm::tlm_fifo< T >::is_empty(), と tlm::tlm_fifo< T >::m_data_written_event.
bool tlm::tlm_fifo< T >::nb_peek | ( | T & | t | ) | const [inline, virtual] |
tlm::tlm_nonblocking_peek_if< T >を実装しています。
tlm_fifo_peek.h の 44 行で定義されています。
参照先 tlm::tlm_fifo< T >::buffer, と tlm::tlm_fifo< T >::used().
bool tlm::tlm_fifo< T >::nb_can_peek | ( | tlm_tag< T > * | t = 0 |
) | const [inline, virtual] |
tlm::tlm_nonblocking_peek_if< T >を実装しています。
tlm_fifo_peek.h の 76 行で定義されています。
参照先 tlm::tlm_fifo< T >::is_empty().
const sc_core::sc_event& tlm::tlm_fifo< T >::ok_to_peek | ( | tlm_tag< T > * | t = 0 |
) | const [inline, virtual] |
void tlm::tlm_fifo< T >::put | ( | const T & | val_ | ) | [inline, virtual] |
tlm::tlm_blocking_put_if< T >を実装しています。
tlm_fifo_put_get.h の 86 行で定義されています。
参照先 tlm::tlm_fifo< T >::buffer, tlm::tlm_fifo< T >::is_full(), tlm::tlm_fifo< T >::m_data_read_event, と tlm::tlm_fifo< T >::m_num_written.
bool tlm::tlm_fifo< T >::nb_put | ( | const T & | val_ | ) | [inline, virtual] |
tlm::tlm_nonblocking_put_if< T >を実装しています。
tlm_fifo_put_get.h の 107 行で定義されています。
参照先 tlm::tlm_fifo< T >::buffer, tlm::tlm_fifo< T >::is_full(), と tlm::tlm_fifo< T >::m_num_written.
参照元 tlm::tlm_analysis_fifo< T >::write().
bool tlm::tlm_fifo< T >::nb_can_put | ( | tlm_tag< T > * | t = 0 |
) | const [inline, virtual] |
tlm::tlm_nonblocking_put_if< T >を実装しています。
tlm_fifo_put_get.h の 130 行で定義されています。
参照先 tlm::tlm_fifo< T >::is_full().
const sc_core::sc_event& tlm::tlm_fifo< T >::ok_to_put | ( | tlm_tag< T > * | t = 0 |
) | const [inline, virtual] |
void tlm::tlm_fifo< T >::nb_expand | ( | unsigned int | n = 1 |
) | [inline] |
void tlm::tlm_fifo< T >::nb_unbound | ( | unsigned int | n = 16 |
) | [inline] |
tlm_fifo_resize.h の 43 行で定義されています。
参照先 tlm::tlm_fifo< T >::buffer, tlm::tlm_fifo< T >::m_expand, と tlm::tlm_fifo< T >::m_size.
bool tlm::tlm_fifo< T >::nb_reduce | ( | unsigned int | n = 1 |
) | [inline] |
tlm_fifo_resize.h の 59 行で定義されています。
参照先 tlm::tlm_fifo< T >::m_size, tlm::tlm_fifo< T >::nb_bound(), と tlm::tlm_fifo< T >::size().
bool tlm::tlm_fifo< T >::nb_bound | ( | unsigned int | n | ) | [inline] |
tlm_fifo_resize.h の 72 行で定義されています。
参照先 tlm::tlm_fifo< T >::m_size, と tlm::tlm_fifo< T >::used().
参照元 tlm::tlm_fifo< T >::nb_reduce().
bool tlm::tlm_fifo< T >::nb_peek | ( | T & | t, | |
int | n | |||
) | const [inline, virtual] |
tlm::tlm_fifo_debug_if< T >を実装しています。
tlm_fifo_peek.h の 58 行で定義されています。
参照先 tlm::tlm_fifo< T >::buffer, と tlm::tlm_fifo< T >::used().
bool tlm::tlm_fifo< T >::nb_poke | ( | const T & | t, | |
int | n = 0 | |||
) | [inline, virtual] |
tlm::tlm_fifo_debug_if< T >を実装しています。
tlm_fifo_peek.h の 84 行で定義されています。
参照先 tlm::tlm_fifo< T >::buffer, と tlm::tlm_fifo< T >::used().
int tlm::tlm_fifo< T >::used | ( | ) | const [inline, virtual] |
tlm::tlm_fifo_debug_if< T >を実装しています。
tlm_fifo.h の 118 行で定義されています。
参照先 tlm::tlm_fifo< T >::m_num_read, と tlm::tlm_fifo< T >::m_num_readable.
参照元 tlm::tlm_fifo< T >::debug(), tlm::tlm_fifo< T >::is_empty(), tlm::tlm_fifo< T >::nb_bound(), tlm::tlm_fifo< T >::nb_peek(), と tlm::tlm_fifo< T >::nb_poke().
int tlm::tlm_fifo< T >::size | ( | ) | const [inline, virtual] |
tlm::tlm_fifo_debug_if< T >を実装しています。
tlm_fifo.h の 122 行で定義されています。
参照先 tlm::tlm_fifo< T >::m_size.
参照元 tlm::tlm_fifo< T >::debug(), tlm::tlm_fifo< T >::is_full(), と tlm::tlm_fifo< T >::nb_reduce().
void tlm::tlm_fifo< T >::debug | ( | ) | const [inline, virtual] |
tlm::tlm_fifo_debug_if< T >を実装しています。
tlm_fifo.h の 126 行で定義されています。
参照先 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(), と tlm::tlm_fifo< T >::used().
const char* tlm::tlm_fifo< T >::kind | ( | ) | const [inline] |
sc_core::sc_event& tlm::tlm_fifo< T >::read_event | ( | tlm_tag< T > * | t = 0 |
) | [inline, protected] |
void tlm::tlm_fifo< T >::update | ( | ) | [inline, protected] |
tlm_fifo.h の 236 行で定義されています。
参照先 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.
void tlm::tlm_fifo< T >::init | ( | int | size_ | ) | [inline, protected] |
tlm_fifo& tlm::tlm_fifo< T >::operator= | ( | const tlm_fifo< T > & | ) | [private] |
bool tlm::tlm_fifo< T >::is_empty | ( | ) | const [inline, private] |
bool tlm::tlm_fifo< T >::is_full | ( | ) | const [inline, private] |
const char *const tlm::tlm_fifo< T >::kind_string = "tlm_fifo" [inline, static] |
circular_buffer<T>* tlm::tlm_fifo< T >::buffer [protected] |
tlm_fifo.h の 163 行で定義されています。
参照元 tlm::tlm_fifo< T >::get(), tlm::tlm_fifo< T >::init(), tlm::tlm_fifo< T >::nb_get(), tlm::tlm_fifo< T >::nb_peek(), tlm::tlm_fifo< T >::nb_poke(), tlm::tlm_fifo< T >::nb_put(), tlm::tlm_fifo< T >::nb_unbound(), tlm::tlm_fifo< T >::peek(), tlm::tlm_fifo< T >::put(), tlm::tlm_fifo< T >::tlm_fifo(), と tlm::tlm_fifo< T >::update().
int tlm::tlm_fifo< T >::m_size [protected] |
int tlm::tlm_fifo< T >::m_num_readable [protected] |
int tlm::tlm_fifo< T >::m_num_read [protected] |
int tlm::tlm_fifo< T >::m_num_written [protected] |
bool tlm::tlm_fifo< T >::m_expand [protected] |
int tlm::tlm_fifo< T >::m_num_read_no_notify [protected] |
sc_core::sc_event tlm::tlm_fifo< T >::m_data_read_event [protected] |
sc_core::sc_event tlm::tlm_fifo< T >::m_data_written_event [protected] |