Nios® V Processor Software Developer Handbook

ID 743810
Date 7/08/2024
Public
Document Table of Contents

5.2.4.1. Querying Settings

If you need to write a script that gets some information from the BSP settings file, use the niosv-bsp --query utility. To maintain compatibility with future releases of the Quartus® Prime software, avoid developing your own code to parse the BSP settings file.
niosv-bsp --query --export-as-tcl=<BSP Tcl script> settings.bsp

This command exports the values of the BSP settings to a BSP Tcl script. By default, the output of niosv-bsp --query is an ordered list of all settings values.

For more information about the niosv-bsp command line options, refer to the Getting Started from the Command Line.