22 #ifndef __TLM_PUT_GET_IMP_H__
23 #define __TLM_PUT_GET_IMP_H__
29 template <
typename PUT_DATA ,
typename GET_DATA>
37 put_fifo( p ) , get_fifo( g ) {}
41 void put(
const PUT_DATA &t ) { put_fifo.
put( t ); }
84 template <
typename REQ ,
typename RSP >
97 template <
typename REQ ,
typename RSP >
const sc_core::sc_event & ok_to_put(tlm_tag< PUT_DATA > *t=0) const
virtual T peek(tlm_tag< T > *t=0) const =0
bool nb_can_put(tlm_tag< PUT_DATA > *t=0) const
virtual const sc_core::sc_event & ok_to_peek(tlm_tag< GET_DATA > *t=0) const
virtual const sc_core::sc_event & ok_to_get(tlm_tag< T > *t=0) const =0
virtual bool nb_can_put(tlm_tag< T > *t=0) const =0
virtual bool nb_can_get(tlm_tag< T > *t=0) const =0
virtual bool nb_put(const T &t)=0
GET_DATA peek(tlm_tag< GET_DATA > *=0) const
virtual bool nb_get(T &t)=0
virtual bool nb_can_peek(tlm_tag< T > *t=0) const =0
tlm_slave_imp(tlm_get_peek_if< REQ > &req, tlm_put_if< RSP > &rsp)
bool nb_peek(GET_DATA &t) const
tlm_put_get_imp(tlm_put_if< PUT_DATA > &p, tlm_get_peek_if< GET_DATA > &g)
virtual void put(const T &t)=0
virtual const sc_core::sc_event & ok_to_put(tlm_tag< T > *t=0) const =0
virtual const sc_core::sc_event & ok_to_get(tlm_tag< GET_DATA > *t=0) const
virtual bool nb_peek(T &t) const =0
void put(const PUT_DATA &t)
virtual T get(tlm_tag< T > *t=0)=0
bool nb_can_peek(tlm_tag< GET_DATA > *t=0) const
virtual const sc_core::sc_event & ok_to_peek(tlm_tag< T > *t=0) const =0
bool nb_put(const PUT_DATA &t)
tlm_master_imp(tlm_put_if< REQ > &req, tlm_get_peek_if< RSP > &rsp)
bool nb_can_get(tlm_tag< GET_DATA > *t=0) const