Ashling* RiscFree* Integrated Development Environment (IDE) for Intel® FPGAs User Guide

ID 730783
Date 9/26/2022
Public

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

Document Table of Contents
Give Feedback

A.1.1. Toolchain for Application and BSP

The risc32-unknown-elf toolchain is included in RiscFree* IDE by default. Toolchain configuration is not required to build the software for current Nios® V processor system.

To build an application or BSP with a toolchain other than risc32-unknown-elf, perform these configuration steps to include the other toolchain to the build path:

Note: If you configure the BSP setting file to use the RiscFree* IDE toolchain (risc32-unknown-elf), do not perform this configuration.

Follow the steps below to include the toolchain in path of the RiscFree IDE builder:

  1. Download the GNU RISC-V Embedded GCC package version v10.2.0-1.2 or later that supports the necessary RISC-V Instruction-Set Architecture (ISA).
  2. Extract the package in <Intel Quartus Prime installation directory>/niosv/ directory. Use the same directory for Linux* and Windows*.
  3. Right click the project under the Project Explorer section and click Properties.
  4. Go to C/C++ Build > Environment. Double click PATH variable to add the toolchain path. Example on adding xpack-riscv-none-embed-gcc toolchain:
    • Linux* (add “:” as a separator for multiple path variables):

      <Intel Quartus Prime installation directory>/niosv/xpack-riscv-none-embed-gcc-10.2.0-1.2/bin

    • Windows* (add “;” as a separator for multiple path variables):

      <Intel Quartus Prime installation directory>/niosv/xpack-riscv-none-embed-gcc-10.2.0-1.2/bin

  5. Click OK and Apply & Close.