Nios® V Processor Software Developer Handbook

ID 743810
Date 10/12/2024
Public
Document Table of Contents

16.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