Nios® V Processor Software Developer Handbook

ID 743810
Date 2/14/2023
Public

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

Document Table of Contents

12.5.3.3. add_module_sw_property

Usage

add_module_sw_property <property-name> <property-value>

Options

  • <property-name> : Name of the property to add to the BSP for a module instance
  • <property-value> : Value of the property to add to the BSP for a module instance

Description

This adds a software property to the BSP driver of this module instance. The BSP typically uses this during the generate phase depending on the generator. 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> .

Example

add_module_sw_setting MY_FAVORITE_SETTING String