Nios II Classic Software Developer’s Handbook

ID 683282
Date 5/14/2015
Public
Document Table of Contents

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