Page 1 of 1

Solution For Intel FPGA Building Path Errors

Posted: Fri Dec 01, 2023 11:43 am
by ghbjakef3
If you try to build the FPGA on Linux you may run into errors related to the location of the various
tools that are part of the Intel 17.1 Quartus Lite installation. The following simple script tries to set the
paths relative to the user's home directory which is where Quartus will install itself by default. The
errors are a bit cryptic and don't always look like PATH problems so try this if you have any trouble.

Once I set these paths the FPGA build was successful.

Code: Select all

export PATH=$PATH:~/intelFPGA_lite/17.1/quartus/bin/
export PATH=$PATH:~/intelFPGA_lite/17.1/quartus/sopc_builder/bin
export PATH=$PATH:~/intelFPGA_lite/17.1/nios2eds
export PATH=$PATH:~/intelFPGA_lite/17.1/nios2eds/bin
export PATH=$PATH:~/intelFPGA_lite/17.1/nios2eds/sdk2/bin
export QUARTUS_ROOTDIR=~/intelFPGA_lite/17.1/quartus
export PATH=$PATH:~/intelFPGA_lite/17.1/nios2eds/bin/gnu/H-x86_64-pc-linux-gnu/bin
export SOPC_KIT_NIOS2=~/intelFPGA_lite/17.1/nios2eds/