Functions | |
| template<typename InterfaceSimicsAdapter > | |
| InterfaceSimicsAdapter & | simics::systemc::iface::createAdapter () |
| Create a SimicsAdapter that can be registered with a ConfClass. | |
| void | simics::systemc::iface::bindUnmappedSimicsAdapters (conf_class_t *conf_class) |
| Bind all adapters that are still pending mapping to a conf_class. | |
| 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) |
|
inline |
Bind all adapters that are still pending mapping to a conf_class.
Iterates the global SimicsAdapter registry and, for every adapter whose map_adapter() flag is still true, sets its Simics class to a conf_class and clears the flag so it is not remapped again by a later call.
| 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>)
| 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 | ||
| ) |