Nios® V Processor Software Developer Handbook

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

5.2.2.1. Using Version Control

One common tool flow requirement is version control. When using version control, it is important to know which files to add to your version control database. To ensure reproducible results from software builds, Altera recommends placing the build scripts (such as Platform Designer system script and BSP Tcl script) and application source codes under version control. The build scripts incorporate all information on the system and can be generated using the commands in the following table.

Table 16.  Generating Build Scripts
Task Command
Generate the Platform Designer script
qsys-generate <Platform Designer system>.qsys --export-qsys-script
Export the BSP Tcl script
niosv-bsp --query --export-as-tcl=<BSP Tcl script> settings.bsp