gem5  v20.1.0.0
Public Member Functions | Private Member Functions | Private Attributes | List of all members
sc_core::sc_fifo_in< T > Class Template Reference

#include <sc_fifo_in.hh>

Inheritance diagram for sc_core::sc_fifo_in< T >:
sc_core::sc_port< sc_fifo_in_if< T >, 0 > sc_core::sc_port_b< sc_fifo_in_if< T > > sc_core::sc_port_base sc_core::sc_object

Public Member Functions

 sc_fifo_in ()
 
 sc_fifo_in (const char *name)
 
virtual ~sc_fifo_in ()
 
 sc_fifo_in (const sc_fifo_in_if< T > &interface)
 
 sc_fifo_in (const char *name, const sc_fifo_in_if< T > &interface)
 
 sc_fifo_in (sc_port_b< sc_fifo_in_if< T > > &parent)
 
 sc_fifo_in (const char *name, sc_port_b< sc_fifo_in_if< T > > &parent)
 
 sc_fifo_in (sc_port< sc_fifo_in_if< T >, 0 > &parent)
 
 sc_fifo_in (const char *name, sc_port< sc_fifo_in_if< T >, 0 > &parent)
 
void read (T &t)
 
read ()
 
bool nb_read (T &t)
 
const sc_eventdata_written_event () const
 
sc_event_finderdata_written () const
 
int num_available () const
 
virtual const char * kind () const
 
- Public Member Functions inherited from sc_core::sc_port< sc_fifo_in_if< T >, 0 >
 sc_port ()
 
 sc_port (const char *name)
 
 sc_port (const sc_fifo_in_if< T > &interface)
 
 sc_port (const char *name, const sc_fifo_in_if< T > &interface)
 
 sc_port (sc_port_b< sc_fifo_in_if< T > > &parent)
 
 sc_port (const char *name, sc_port_b< sc_fifo_in_if< T > > &parent)
 
 sc_port (sc_port< sc_fifo_in_if< T >, N, SC_ONE_OR_MORE_BOUND > &parent)
 
 sc_port (const char *name, sc_port< sc_fifo_in_if< T >, N, SC_ONE_OR_MORE_BOUND > &parent)
 
virtual ~sc_port ()
 
virtual const char * kind () const override
 
- Public Member Functions inherited from sc_core::sc_port_b< sc_fifo_in_if< T > >
void operator() (sc_fifo_in_if< T > &i)
 
void operator() (sc_port_b< sc_fifo_in_if< T > > &p)
 
virtual void bind (sc_fifo_in_if< T > &i)
 
virtual void bind (sc_port_b< sc_fifo_in_if< T > > &p)
 
sc_fifo_in_if< T > * operator-> ()
 
const sc_fifo_in_if< T > * operator-> () const
 
sc_fifo_in_if< T > * operator[] (int n)
 
const sc_fifo_in_if< T > * operator[] (int n) const
 
sc_interfaceget_interface ()
 
const sc_interfaceget_interface () const
 
- Public Member Functions inherited from sc_core::sc_port_base
 sc_port_base (const char *name, int n, sc_port_policy p)
 
virtual ~sc_port_base ()
 
void warn_port_constructor () const
 
int maxSize () const
 
int size () const
 
const char * kind () 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
 

Private Member Functions

 sc_fifo_in (const sc_fifo_in< T > &)
 
sc_fifo_in< T > & operator= (const sc_fifo_in< T > &)
 

Private Attributes

sc_event_finder_t< sc_fifo_in_if< T > > _dataWrittenFinder
 

Additional Inherited Members

- Protected Member Functions inherited from sc_core::sc_port_b< sc_fifo_in_if< T > >
void before_end_of_elaboration () override
 
void end_of_elaboration () override
 
void start_of_simulation () override
 
void end_of_simulation () override
 
 sc_port_b (int n, sc_port_policy p)
 
 sc_port_b (const char *name, int n, sc_port_policy p)
 
virtual ~sc_port_b ()
 
int vbind (sc_interface &i) override
 
int vbind (sc_port_base &pb) override
 
- Protected Member Functions inherited from sc_core::sc_port_base
void bind (sc_interface &)
 
void bind (sc_port_base &)
 
void report_error (const char *id, const char *add_msg) const
 
- 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 ()
 

Detailed Description

template<class T>
class sc_core::sc_fifo_in< T >

Definition at line 42 of file sc_fifo_in.hh.

Constructor & Destructor Documentation

◆ sc_fifo_in() [1/9]

template<class T >
sc_core::sc_fifo_in< T >::sc_fifo_in ( )
inline

Definition at line 45 of file sc_fifo_in.hh.

◆ sc_fifo_in() [2/9]

template<class T >
sc_core::sc_fifo_in< T >::sc_fifo_in ( const char *  name)
inlineexplicit

Definition at line 48 of file sc_fifo_in.hh.

◆ ~sc_fifo_in()

template<class T >
virtual sc_core::sc_fifo_in< T >::~sc_fifo_in ( )
inlinevirtual

Definition at line 52 of file sc_fifo_in.hh.

◆ sc_fifo_in() [3/9]

template<class T >
sc_core::sc_fifo_in< T >::sc_fifo_in ( const sc_fifo_in_if< T > &  interface)
inlineexplicit

Definition at line 55 of file sc_fifo_in.hh.

◆ sc_fifo_in() [4/9]

template<class T >
sc_core::sc_fifo_in< T >::sc_fifo_in ( const char *  name,
const sc_fifo_in_if< T > &  interface 
)
inline

Definition at line 59 of file sc_fifo_in.hh.

◆ sc_fifo_in() [5/9]

template<class T >
sc_core::sc_fifo_in< T >::sc_fifo_in ( sc_port_b< sc_fifo_in_if< T > > &  parent)
inlineexplicit

Definition at line 63 of file sc_fifo_in.hh.

◆ sc_fifo_in() [6/9]

template<class T >
sc_core::sc_fifo_in< T >::sc_fifo_in ( const char *  name,
sc_port_b< sc_fifo_in_if< T > > &  parent 
)
inline

Definition at line 67 of file sc_fifo_in.hh.

◆ sc_fifo_in() [7/9]

template<class T >
sc_core::sc_fifo_in< T >::sc_fifo_in ( sc_port< sc_fifo_in_if< T >, 0 > &  parent)
inlineexplicit

Definition at line 71 of file sc_fifo_in.hh.

◆ sc_fifo_in() [8/9]

template<class T >
sc_core::sc_fifo_in< T >::sc_fifo_in ( const char *  name,
sc_port< sc_fifo_in_if< T >, 0 > &  parent 
)
inline

Definition at line 75 of file sc_fifo_in.hh.

◆ sc_fifo_in() [9/9]

template<class T >
sc_core::sc_fifo_in< T >::sc_fifo_in ( const sc_fifo_in< T > &  )
inlineprivate

Definition at line 94 of file sc_fifo_in.hh.

Member Function Documentation

◆ data_written()

template<class T >
sc_event_finder& sc_core::sc_fifo_in< T >::data_written ( ) const
inline

Definition at line 88 of file sc_fifo_in.hh.

References sc_core::sc_fifo_in< T >::_dataWrittenFinder.

◆ data_written_event()

template<class T >
const sc_event& sc_core::sc_fifo_in< T >::data_written_event ( ) const
inline

Definition at line 84 of file sc_fifo_in.hh.

◆ kind()

template<class T >
virtual const char* sc_core::sc_fifo_in< T >::kind ( ) const
inlinevirtual

Reimplemented from sc_core::sc_object.

Definition at line 90 of file sc_fifo_in.hh.

◆ nb_read()

template<class T >
bool sc_core::sc_fifo_in< T >::nb_read ( T &  t)
inline

Definition at line 82 of file sc_fifo_in.hh.

References ArmISA::t.

◆ num_available()

template<class T >
int sc_core::sc_fifo_in< T >::num_available ( ) const
inline

Definition at line 89 of file sc_fifo_in.hh.

◆ operator=()

template<class T >
sc_fifo_in<T>& sc_core::sc_fifo_in< T >::operator= ( const sc_fifo_in< T > &  )
inlineprivate

Definition at line 95 of file sc_fifo_in.hh.

◆ read() [1/2]

template<class T >
T sc_core::sc_fifo_in< T >::read ( )
inline

Definition at line 81 of file sc_fifo_in.hh.

◆ read() [2/2]

template<class T >
void sc_core::sc_fifo_in< T >::read ( T &  t)
inline

Definition at line 80 of file sc_fifo_in.hh.

References ArmISA::t.

Member Data Documentation

◆ _dataWrittenFinder

template<class T >
sc_event_finder_t<sc_fifo_in_if<T> > sc_core::sc_fifo_in< T >::_dataWrittenFinder
mutableprivate

Definition at line 97 of file sc_fifo_in.hh.

Referenced by sc_core::sc_fifo_in< T >::data_written().


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

Generated on Wed Sep 30 2020 14:03:08 for gem5 by doxygen 1.8.17