SystemC Library API Reference Manual
Reference documentation for the Simics SystemC Library.
 
Loading...
Searching...
No Matches
Factories

Classes

class  simics::systemc::simics2tlm::GasketFactoryInterface
 
class  simics::systemc::simics2tlm::GasketFactory< BUSWIDTH, TYPES, N, POL >
 
class  simics::systemc::tlm2simics::GasketFactoryInterface
 
class  simics::systemc::tlm2simics::GasketFactory< BUSWIDTH, TYPES, N, POL >
 

Functions

template<typename InterfaceSimicsAdapter >
InterfaceSimicsAdapter & simics::systemc::iface::createAdapter ()
 Create a SimicsAdapter that can be registered with a ConfClass.
 
GasketInterface::Ptr simics::systemc::simics2tlm::createGasketByName (std::string socket_name, const simics::ConfObjectRef &simics_obj)
 Factory for creating a Gasket and bind it to a target socket.
 
GasketInterface::Ptr simics::systemc::tlm2simics::createGasketByName (std::string socket_name, const simics::ConfObjectRef &simics_obj)
 

Detailed Description

Function Documentation

◆ createAdapter()

template<typename InterfaceSimicsAdapter >
InterfaceSimicsAdapter & simics::systemc::iface::createAdapter ( )

Create a SimicsAdapter that can be registered with a ConfClass.

A SimicsAdapter maps a static function to a corresponding C++ interface function. The adapter is then registered with the ConfClass in init_local to register the interface on the Simics class.

The InterfaceSimicsAdapter template parameter is the actual SimicsAdapter type (e.g., IoMemorySimicsAdapter<Adapter>)

◆ createGasketByName() [1/2]

GasketInterface::Ptr simics::systemc::simics2tlm::createGasketByName ( std::string  socket_name,
const simics::ConfObjectRef &  simics_obj 
)

Factory for creating a Gasket and bind it to a target socket.

◆ createGasketByName() [2/2]

GasketInterface::Ptr simics::systemc::tlm2simics::createGasketByName ( std::string  socket_name,
const simics::ConfObjectRef &  simics_obj 
)