5.21.4 Setting instantiation parameter values

Pre-instantiation clients can optionally call simulation_setInstantiationParameterValues() to initialize all init-time and runtime parameters for all instances during the instantiation of the simulation.

This function modifies state that exists before the simulation is instantiated, it does not instantiate the simulation. It can be called multiple times. Each invocation can set all of the instantiation parameters or a subset of them. Any parameters that this function does not set keep their default values. Each invocation can overwrite parameter values that were set with previous invocations of simulation_setInstantiationParameterValues().

An implementation can defer any errors, for example E_unknown_parameter_name or E_type_mismatch, until instantiation. These deferred errors are then returned by simulation_instantiate().

Non-ConfidentialPDF file icon PDF version101196_0100_03_en
Copyright © 2018, 2019 Arm Limited or its affiliates. All rights reserved.