Solution For Intel FPGA Building Path Errors

Having issues with the site, hardware, source code, or any other issues?
Post Reply
ghbjakef3
Posts: 1
Joined: Fri Dec 01, 2023 11:34 am

Solution For Intel FPGA Building Path Errors

Post 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/
Post Reply