Nios® V Processor Software Developer Handbook

ID 743810
Date 7/20/2023
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

13.5.3.16. set_module_sw_setting_property

Usage

set_module_sw_setting_property <setting-name> <property> <value>

Options

  • <setting-name>: Name of the setting to persist in the BSP settings file associated with the SOPC module of this callback script
  • <property>: Name of the setting property to update
  • <value>: Value of the setting property to update

Description

Update a module's software setting property. The setting must be added using the add_module_sw_setting command before calling this method. This command is only valid for a callback script. A callback script is set in the driver's *_sw.tcl file, using the command set_sw_property callback_source_file <filename> .

You can set the following setting properties:

  • destination
  • identifier
  • value
  • default_value
  • description
  • restrictions
  • group

Example

set_module_sw_setting_property MY_FAVORITE_SETTING default-value '42'