#include <gasket_tag.h>
|
| GasketTag (ConfObjectRef adapter) |
|
virtual | ~GasketTag () |
|
virtual void | addGasket (std::string id, std::string type) |
| Add a new gasket to the simulation.
|
|
virtual void | setGasketTag (std::string id, std::string name, attr_value_t value) |
| Set tags for the gasket.
|
|
std::vector< ConfObjectRef > | createGasketObjects () |
|
virtual | ~GasketTagInterface () |
|
virtual void | addGasket (std::string id, std::string type)=0 |
| Add a new gasket to the simulation.
|
|
virtual void | setGasketTag (std::string id, std::string name, attr_value_t value)=0 |
| Set tags for the gasket.
|
|
◆ GasketTag()
simics::systemc::GasketTag::GasketTag |
( |
ConfObjectRef |
adapter | ) |
|
|
explicit |
◆ ~GasketTag()
virtual simics::systemc::GasketTag::~GasketTag |
( |
| ) |
|
|
virtual |
◆ addGasket()
virtual void simics::systemc::GasketTag::addGasket |
( |
std::string |
id, |
|
|
std::string |
type |
|
) |
| |
|
virtual |
Add a new gasket to the simulation.
Id has to be unique and is the same as for setGasketTag. Type is one of the following gaskets:
- composite-Pci
- simics2tlm-EthernetCommon
- simics2tlm-I2cSlaveV2
- simics2tlm-IoMemory
- simics2tlm-PciDevice
- simics2tlm-PciExpress
- simics2tlm-SerialDevice
- tlm2simics-EthernetCommon
- tlm2simics-I2cMasterV2
- tlm2simics-MemorySpace
- tlm2simics-PciBus
- tlm2simics-SerialDevice
Implements simics::systemc::GasketTagInterface.
◆ createGasketObjects()
std::vector< ConfObjectRef > simics::systemc::GasketTag::createGasketObjects |
( |
| ) |
|
◆ setGasketTag()
virtual void simics::systemc::GasketTag::setGasketTag |
( |
std::string |
id, |
|
|
std::string |
name, |
|
|
attr_value_t |
value |
|
) |
| |
|
virtual |
Set tags for the gasket.
Id has to be unique and is the same as for addGasket. For simics2tlm gaskets, name has to be "target" and value is the name of the SystemC socket object. For instance:
- setGasketTag("id_1", "target", SIM_make_attr_string("socket_name")); For tlm2simics gaskets, name has to be "initiator". For the composite-Pci gasket, name has to be "device".
Implements simics::systemc::GasketTagInterface.
The documentation for this class was generated from the following file:
- /disk2/mp/builds/mono-124635/src/extensions/systemc-library/simics/systemc/gasket_tag.h