24 #ifndef __TLM_PUT_GET_IMP_H__ 25 #define __TLM_PUT_GET_IMP_H__ 31 template <
typename PUT_DATA ,
typename GET_DATA>
39 put_fifo( p ) , get_fifo( g ) {}
43 void put(
const PUT_DATA &t ) { put_fifo.
put( t ); }
69 GET_DATA
peek( tlm_tag<GET_DATA> * = 0 )
const {
return get_fifo.
peek(); }
86 template <
typename REQ ,
typename RSP >
99 template <
typename REQ ,
typename RSP >
GET_DATA peek(tlm_tag< GET_DATA > *=0) const
virtual bool nb_put(const T &t)=0
virtual void put(const T &t)=0
bool nb_can_get(tlm_tag< GET_DATA > *t=0) const
virtual const sc_core::sc_event & ok_to_put(tlm_tag< T > *t=0) const =0
virtual bool nb_can_peek(tlm_tag< T > *t=0) const =0
virtual bool nb_can_get(tlm_tag< T > *t=0) const =0
const sc_core::sc_event & ok_to_put(tlm_tag< PUT_DATA > *t=0) const
void put(const PUT_DATA &t)
virtual T get(tlm_tag< T > *t=0)=0
bool nb_peek(GET_DATA &t) const
bool nb_put(const PUT_DATA &t)
bool nb_can_put(tlm_tag< PUT_DATA > *t=0) const
virtual const sc_core::sc_event & ok_to_get(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_can_put(tlm_tag< T > *t=0) const =0
virtual const sc_core::sc_event & ok_to_peek(tlm_tag< GET_DATA > *t=0) const
tlm_slave_imp(tlm_get_peek_if< REQ > &req, tlm_put_if< RSP > &rsp)
virtual bool nb_peek(T &t) const =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
virtual bool nb_get(T &t)=0
tlm_master_imp(tlm_put_if< REQ > &req, tlm_get_peek_if< RSP > &rsp)
virtual T peek(tlm_tag< T > *t=0) const =0
tlm_put_get_imp(tlm_put_if< PUT_DATA > &p, tlm_get_peek_if< GET_DATA > &g)