Nios® II Software Developer Handbook

ID 683525
Date 8/28/2023
Public
Document Table of Contents

8.8.3.1. Component Discovery

When you run any BSP generator utility, a library of available drivers and software packages is populated.

The BSP generator locates software packages and drivers by inspecting a list of known locations determined by the Intel FPGA Nios® II EDS, Quartus Prime software, and IP core® IP Library installers, as well as searching locations specified in certain system environment variables.

The Nios® II BSP tools identify drivers and software packages by locating and sourcing Tcl scripts with file names ending in _sw.tcl in these locations.

Note: For run-time efficiency, the BSP generator only looks at driver files that conform to the criteria listed in this section.

After locating each driver and software package, the Nios® II SBT searches for a suitable driver for each hardware module in the hardware system (mastered by the Nios® II processor that the BSP is generated for), as well as software packages that the BSP creator requested.