Non-Confidential | ![]() | ARM 100965_1101_00_en | ||
| ||||
Home > SystemC Export with Multiple Instantiation > SystemC Export API > scx::scx_set_parameter |
This function sets the value of a parameter in components present in EVSs or in plug-ins.
bool scx_set_parameter(const std::string &name, const std::string &value);
template<class T> bool scx_set_parameter(const std::string &name, T value);
name
name
must start with an EVS
instance name for setting a parameter on this EVS,
or with "*"
for setting a parameter on all EVSs
in the platform, or with a plug-in prefix (defaults to "TRACE"
) for setting a plug-in parameter.value
This function returns true
when the parameter exists,
false
otherwise.
scx_set_parameter()
.scx_set_parameter()
after the construction phase are ignored for
init-time parameters.