Nios® V Processor Software Developer Handbook

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

5.3.1. BSP Settings File Creation

Each BSP has an associated settings file that saves the values of all BSP settings. The BSP settings file is in extensible markup language (XML) format and has a .bsp extension by convention. When you create or update your BSP, the BSP Editor writes the value of all settings to the settings file.

The BSP settings file does not need to duplicate system information (such as base addresses of devices), because the niosv-bsp utility has access to the .qsys file.

The niosv-bsp --create utility creates a new BSP settings file and generate the BSP files. The niosv-bsp --update utility updates an existing BSP settings file and regenerate the BSP files. The niosv-bsp --query utility reports the setting values in an existing BSP settings file. The niosv-bsp --generate utility generates a BSP from an existing BSP settings file.

Figure 9. Interaction between the niosv-bsp utility