5.6.10 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()
Sets 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()
Sets initialization-time parameters and run-time parameters. Does not set non-parameter resources.

Initialization-time parameters are exposed by:

  • resource_getList()
  • resource_read()
  • simulation_getInstantiationParameterInfo()
  • simulation_setInstantiationParameterValues()
  • resource_write() causes an error.

Run-time parameters are exposed by:

  • resource_getList()
  • resource_read()
  • resource_write()
  • simulation_getInstantiationParameterInfo()
  • simulation_setInstantiationParameterValues()

Registers are exposed by:

  • resource_getList()
  • resource_read()
  • resource_write()
Non-ConfidentialPDF file icon PDF version101196_0100_03_en
Copyright © 2018, 2019 Arm Limited or its affiliates. All rights reserved.