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

Utility class that counts the number of instances. More...

#include <null_gasket.h>

Inheritance diagram for simics::systemc::tlm2simics::NullGasket:
simics::systemc::tlm2simics::GasketInterface simics::systemc::InstanceCounter< NullGasket >

Public Member Functions

void set_transaction_handler (TransactionHandlerInterface *transaction_handler) override
 Target object in Simics side receiving the TLM transaction.
 
void invalidate_direct_mem_ptr (sc_dt::uint64 start_range, sc_dt::uint64 end_range) override
 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
 
TransactionHandlerInterfacetransaction_handler () override
 
- 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 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 ()
 
- Public Member Functions inherited from simics::systemc::InstanceCounter< NullGasket >
 InstanceCounter ()
 
 InstanceCounter (const InstanceCounter &)=delete
 
InstanceCounteroperator= (const InstanceCounter &)=delete
 
virtual ~InstanceCounter ()
 

Additional Inherited Members

- Public Types inherited from simics::systemc::tlm2simics::GasketInterface
typedef std::shared_ptr< GasketInterfacePtr
 
- Static Public Member Functions inherited from simics::systemc::InstanceCounter< NullGasket >
static int instances ()
 

Detailed Description

Utility class that counts the number of instances.

This class is used to validate that all gaskets have been assigned before running the simulation.

Member Function Documentation

◆ gasket_name()

std::string simics::systemc::tlm2simics::NullGasket::gasket_name ( ) const
inlineoverridevirtual

◆ get_initiator_socket()

sc_core::sc_object * simics::systemc::tlm2simics::NullGasket::get_initiator_socket ( ) const
inlineoverridevirtual

◆ invalidate_direct_mem_ptr()

void simics::systemc::tlm2simics::NullGasket::invalidate_direct_mem_ptr ( sc_dt::uint64  start_range,
sc_dt::uint64  end_range 
)
inlineoverridevirtual

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.

◆ set_transaction_handler()

void simics::systemc::tlm2simics::NullGasket::set_transaction_handler ( TransactionHandlerInterface transaction_handler)
inlineoverridevirtual

Target object in Simics side receiving the TLM transaction.

Implements simics::systemc::tlm2simics::GasketInterface.

◆ transaction_handler()

TransactionHandlerInterface * simics::systemc::tlm2simics::NullGasket::transaction_handler ( )
inlineoverridevirtual

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