SystemC Library API Reference Manual
Reference documentation for the Simics SystemC Library.
 
Loading...
Searching...
No Matches
simics::systemc::tlm2simics::GasketInterface Class Referenceabstract

Interface used by tlm2simics gaskets, implemented by Gasket base class. More...

#include <gasket_interface.h>

Inheritance diagram for simics::systemc::tlm2simics::GasketInterface:
simics::systemc::tlm2simics::Gasket< BUSWIDTH, TYPES > simics::systemc::tlm2simics::NullGasket

Public Types

typedef std::shared_ptr< GasketInterfacePtr
 

Public Member Functions

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 TransactionHandlerInterfacetransaction_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 ()
 

Detailed Description

Interface used by tlm2simics gaskets, implemented by Gasket base class.

Member Typedef Documentation

◆ Ptr

Constructor & Destructor Documentation

◆ ~GasketInterface()

virtual simics::systemc::tlm2simics::GasketInterface::~GasketInterface ( )
inlinevirtual

Member Function Documentation

◆ gasket_name()

virtual std::string simics::systemc::tlm2simics::GasketInterface::gasket_name ( ) const
pure virtual

◆ get_initiator_socket()

virtual sc_core::sc_object * simics::systemc::tlm2simics::GasketInterface::get_initiator_socket ( ) const
pure virtual

◆ invalidate_direct_mem_ptr()

virtual void simics::systemc::tlm2simics::GasketInterface::invalidate_direct_mem_ptr ( sc_dt::uint64  start_range,
sc_dt::uint64  end_range 
)
pure virtual

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.

Implemented in simics::systemc::tlm2simics::Gasket< BUSWIDTH, TYPES >, and simics::systemc::tlm2simics::NullGasket.

◆ register_nb_transport_fw()

virtual void simics::systemc::tlm2simics::GasketInterface::register_nb_transport_fw ( )
inlinevirtual

For gaskets support non-blocking transport, call this function to register the non-blocking transport interface.

Reimplemented in simics::systemc::tlm2simics::Gasket< BUSWIDTH, TYPES >.

◆ set_transaction_handler()

virtual void simics::systemc::tlm2simics::GasketInterface::set_transaction_handler ( TransactionHandlerInterface transaction_handler)
pure virtual

Target object in Simics side receiving the TLM transaction.

Implemented in simics::systemc::tlm2simics::Gasket< BUSWIDTH, TYPES >, and simics::systemc::tlm2simics::NullGasket.

◆ transaction_handler()

virtual TransactionHandlerInterface * simics::systemc::tlm2simics::GasketInterface::transaction_handler ( )
pure virtual

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