Nios® V Processor Software Developer Handbook

ID 743810
Date 10/31/2022
Public

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

Document Table of Contents

4.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 Intel® 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.