4.3.6 Exposure of parameters

Parameters are exposed through the following functions:

resource_getList()
Returns all initialization-time parameters, run-time parameters, registers, and generic resources.
resource_read()
Returns the current value of initialization-time parameters, run-time parameters, registers, and generic resources.
resource_write()
Allows setting run-time parameters, registers, and generic resources. Returns E_writing_init_time_parameter in ResourceWriteResult.error when trying to write an initialization-time parameter.
simulation_getInstantiationParameterInfo()
Returns all initialization-time parameters and all run-time parameters. Does not return non-parameter resources.
simulation_setInstantiationParameterValues()
Allows setting initialization-time parameters and run-time parameters. Does not allow setting non-parameter resources.
Initialization-time parameters
Exposed by resource_getList(), resource_read(), resource_write(), simulation_getInstantiationParameterInfo(), and simulation_setInstantiationParameterValues(). resource_write() causes an error.
Run-time parameters
Exposed by resource_getList(), resource_read(), resource_write(), simulation_getInstantiationParameterInfo(), and simulation_setInstantiationParameterValues().
Registers
Exposed by resource_getList(), resource_read(), resource_write().
Generic resources
Exposed by resource_getList(), resource_read(), resource_write().
Non-ConfidentialPDF file icon PDF version101196_0100_00_en
Copyright © 2018 Arm Limited or its affiliates. All rights reserved.