Implements core functionality for receiving a TLM2 transaction over a socket. More...
#include <gasket.h>
Public Member Functions | |
SC_HAS_PROCESS (Gasket) | |
Gasket (sc_core::sc_module_name, const simics::ConfObjectRef &obj) | |
void | init (InternalInterface *internal) |
virtual | ~Gasket () |
template<typename Socket > | |
void | bind (Socket &sock) |
virtual void | set_transaction_handler (TransactionHandlerInterface *transaction_handler) |
Target object in Simics side receiving the TLM transaction. | |
virtual void | invalidate_direct_mem_ptr (sc_dt::uint64 start_range, sc_dt::uint64 end_range) |
Calling this method will end up calling the same method on the target socket, that will forward the call back to the initiator socket who is required to drop the DMI pointers matching the range. | |
sc_core::sc_object * | get_initiator_socket () const override |
std::string | gasket_name () const override |
TransactionHandlerInterface * | transaction_handler () override |
void | register_nb_transport_fw () |
For gaskets support non-blocking transport, call this function to register the non-blocking transport interface. | |
Public Member Functions inherited from simics::systemc::tlm2simics::GasketInterface | |
virtual void | set_transaction_handler (TransactionHandlerInterface *transaction_handler)=0 |
Target object in Simics side receiving the TLM transaction. | |
virtual void | invalidate_direct_mem_ptr (sc_dt::uint64 start_range, sc_dt::uint64 end_range)=0 |
Calling this method will end up calling the same method on the target socket, that will forward the call back to the initiator socket who is required to drop the DMI pointers matching the range. | |
virtual sc_core::sc_object * | get_initiator_socket () const =0 |
virtual std::string | gasket_name () const =0 |
virtual TransactionHandlerInterface * | transaction_handler ()=0 |
virtual void | register_nb_transport_fw () |
For gaskets support non-blocking transport, call this function to register the non-blocking transport interface. | |
virtual | ~GasketInterface () |
Additional Inherited Members | |
Public Types inherited from simics::systemc::tlm2simics::GasketInterface | |
typedef std::shared_ptr< GasketInterface > | Ptr |
Implements core functionality for receiving a TLM2 transaction over a socket.
This class is associated with a transaction handler implementing the TransactionHandlerInterface to which the Gasket passes the incoming transaction for further processing.
|
inline |
|
inlinevirtual |
|
inline |
|
inlineoverridevirtual |
Implements simics::systemc::tlm2simics::GasketInterface.
|
inlineoverridevirtual |
Implements simics::systemc::tlm2simics::GasketInterface.
|
inline |
|
inlinevirtual |
Calling this method will end up calling the same method on the target socket, that will forward the call back to the initiator socket who is required to drop the DMI pointers matching the range.
Implements simics::systemc::tlm2simics::GasketInterface.
|
inlinevirtual |
For gaskets support non-blocking transport, call this function to register the non-blocking transport interface.
Reimplemented from simics::systemc::tlm2simics::GasketInterface.
simics::systemc::tlm2simics::Gasket< BUSWIDTH, TYPES >::SC_HAS_PROCESS | ( | Gasket< BUSWIDTH, TYPES > | ) |
|
inlinevirtual |
Target object in Simics side receiving the TLM transaction.
Implements simics::systemc::tlm2simics::GasketInterface.
|
inlineoverridevirtual |
Implements simics::systemc::tlm2simics::GasketInterface.