gem5 v24.0.0.0
Loading...
Searching...
No Matches
tlm::tlm_put_get_imp< PUT_DATA, GET_DATA > Class Template Reference

#include <put_get_imp.hh>

Inheritance diagram for tlm::tlm_put_get_imp< PUT_DATA, GET_DATA >:
tlm::tlm_put_if< PUT_DATA > tlm::tlm_get_peek_if< GET_DATA >

Public Member Functions

 tlm_put_get_imp (tlm_put_if< PUT_DATA > &p, tlm_get_peek_if< GET_DATA > &g)
 
void put (const PUT_DATA &t)
 
bool nb_put (const PUT_DATA &t)
 
bool nb_can_put (tlm_tag< PUT_DATA > *t=nullptr) const
 
const sc_core::sc_eventok_to_put (tlm_tag< PUT_DATA > *t=nullptr) const
 
GET_DATA get (tlm_tag< GET_DATA > *=nullptr)
 
bool nb_get (GET_DATA &t)
 
bool nb_can_get (tlm_tag< GET_DATA > *t=nullptr) const
 
virtual const sc_core::sc_eventok_to_get (tlm_tag< GET_DATA > *t=nullptr) const
 
GET_DATA peek (tlm_tag< GET_DATA > *=nullptr) const
 
bool nb_peek (GET_DATA &t) const
 
bool nb_can_peek (tlm_tag< GET_DATA > *t=nullptr) const
 
virtual const sc_core::sc_eventok_to_peek (tlm_tag< GET_DATA > *t=nullptr) const
 

Private Attributes

tlm_put_if< PUT_DATA > & put_fifo
 
tlm_get_peek_if< GET_DATA > & get_fifo
 

Additional Inherited Members

- Private 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 ()
 
 sc_interface ()
 
- Private Member Functions inherited from tlm::tlm_blocking_get_if< GET_DATA >
virtual void get (GET_DATA &t)
 
- Private Member Functions inherited from tlm::tlm_blocking_peek_if< GET_DATA >
virtual void peek (GET_DATA &t) const
 

Detailed Description

template<typename PUT_DATA, typename GET_DATA>
class tlm::tlm_put_get_imp< PUT_DATA, GET_DATA >

Definition at line 31 of file put_get_imp.hh.

Constructor & Destructor Documentation

◆ tlm_put_get_imp()

template<typename PUT_DATA , typename GET_DATA >
tlm::tlm_put_get_imp< PUT_DATA, GET_DATA >::tlm_put_get_imp ( tlm_put_if< PUT_DATA > & p,
tlm_get_peek_if< GET_DATA > & g )
inline

Definition at line 35 of file put_get_imp.hh.

Member Function Documentation

◆ get()

template<typename PUT_DATA , typename GET_DATA >
GET_DATA tlm::tlm_put_get_imp< PUT_DATA, GET_DATA >::get ( tlm_tag< GET_DATA > * = nullptr)
inlinevirtual

◆ nb_can_get()

template<typename PUT_DATA , typename GET_DATA >
bool tlm::tlm_put_get_imp< PUT_DATA, GET_DATA >::nb_can_get ( tlm_tag< GET_DATA > * t = nullptr) const
inlinevirtual

◆ nb_can_peek()

template<typename PUT_DATA , typename GET_DATA >
bool tlm::tlm_put_get_imp< PUT_DATA, GET_DATA >::nb_can_peek ( tlm_tag< GET_DATA > * t = nullptr) const
inlinevirtual

◆ nb_can_put()

template<typename PUT_DATA , typename GET_DATA >
bool tlm::tlm_put_get_imp< PUT_DATA, GET_DATA >::nb_can_put ( tlm_tag< PUT_DATA > * t = nullptr) const
inlinevirtual

◆ nb_get()

template<typename PUT_DATA , typename GET_DATA >
bool tlm::tlm_put_get_imp< PUT_DATA, GET_DATA >::nb_get ( GET_DATA & t)
inlinevirtual

◆ nb_peek()

template<typename PUT_DATA , typename GET_DATA >
bool tlm::tlm_put_get_imp< PUT_DATA, GET_DATA >::nb_peek ( GET_DATA & t) const
inlinevirtual

◆ nb_put()

template<typename PUT_DATA , typename GET_DATA >
bool tlm::tlm_put_get_imp< PUT_DATA, GET_DATA >::nb_put ( const PUT_DATA & t)
inlinevirtual

◆ ok_to_get()

template<typename PUT_DATA , typename GET_DATA >
virtual const sc_core::sc_event & tlm::tlm_put_get_imp< PUT_DATA, GET_DATA >::ok_to_get ( tlm_tag< GET_DATA > * t = nullptr) const
inlinevirtual

◆ ok_to_peek()

template<typename PUT_DATA , typename GET_DATA >
virtual const sc_core::sc_event & tlm::tlm_put_get_imp< PUT_DATA, GET_DATA >::ok_to_peek ( tlm_tag< GET_DATA > * t = nullptr) const
inlinevirtual

◆ ok_to_put()

template<typename PUT_DATA , typename GET_DATA >
const sc_core::sc_event & tlm::tlm_put_get_imp< PUT_DATA, GET_DATA >::ok_to_put ( tlm_tag< PUT_DATA > * t = nullptr) const
inlinevirtual

◆ peek()

template<typename PUT_DATA , typename GET_DATA >
GET_DATA tlm::tlm_put_get_imp< PUT_DATA, GET_DATA >::peek ( tlm_tag< GET_DATA > * = nullptr) const
inlinevirtual

◆ put()

template<typename PUT_DATA , typename GET_DATA >
void tlm::tlm_put_get_imp< PUT_DATA, GET_DATA >::put ( const PUT_DATA & t)
inlinevirtual

Member Data Documentation

◆ get_fifo

◆ put_fifo


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

Generated on Tue Jun 18 2024 16:24:56 for gem5 by doxygen 1.11.0