-
Install Quartus and ModelSim - get the Combined Files tar archive from here
-
Add Quartus bin dir to PATH, e.g.
/space/eda/intelFPGA_lite/19.1/quartus/bin
-
Add ModelSim bin dir to PATH, e.g.
/space/eda/intelFPGA_lite/19.1/modelsim_ase/linuxaloem
-
Install 32-bit ncurses for ModelSim
dnf install ncurses-compat-libs.i686
-
Create dir for 32-bit libs
mkdir /space/eda/intelFPGA_lite/19.1/lib32
-
ModelSim needs old libFreeType
-
Install dependecies
dnf install glibc-devel.i686 glibc-devel libstdc++-devel.i686
-
Download and compile lib
wget http://download.savannah.gnu.org/releases/freetype/freetype-2.4.12.tar.bz2 tar xf freetype-2.4.12.tar.bz2 cd freetype-2.4.12 ./configure --host=i686-linux-gnu "CFLAGS=-m32" "CXXFLAGS=-m32" "LDFLAGS=-m32" make -j8
-
Copy libs to Quartus dir
cp ./objs/.libs/libfreetype.so /space/eda/intelFPGA_lite/19.1/lib32 cp ./objs/.libs/libfreetype.so.6 /space/eda/intelFPGA_lite/19.1/lib32 cp ./objs/.libs/libfreetype.so.6.10.1 /space/eda/intelFPGA_lite/19.1/lib32/libfreetype.so.6.10.2
-
-
Old libFreeType depends on old libFontConfig. Extract needed file from CentOS7 rpm.
mkdir fontconfig-2.13.0-4.3.el7 cd fontconfig-2.13.0-4.3.el7 wget https://rpmfind.net/linux/centos/7.7.1908/os/x86_64/Packages/fontconfig-2.13.0-4.3.el7.i686.rpm rpm2cpio fontconfig-2.13.0-4.3.el7.i686.rpm | cpio -idmv cp ./usr/lib/libfontconfig.so.1 /space/eda/intelFPGA_lite/19.1/lib32
-
Fix the ModelSim script
/space/eda/intelFPGA_lite/19.1/modelsim_ase/vco
-
Add path to dir with 32-bit libs
add after line dir=`dirname "$arg0"` line export LD_LIBRARY_PATH=${dir}/../lib32
-
Fix path
find line *) vco="linux_rh60" ;; replace with *) vco="linux" ;;
-
-
Add to
~/.bashrc
alias vsim="LD_LIBRARY_PATH=\"$LD_LIBRARY_PATH:/space/eda/intelFPGA_lite/19.1/lib32\" vsim"
-
Fix Quartus to be able to run ModelSim from GUI
-
Open
/space/eda/intelFPGA_lite/19.1/quartus/adm/qenv.sh
-
Add to the top
export LD_LIBRARY_PATH=/space/eda/intelFPGA_lite/19.1/lib32:$LD_LIBRARY_PATH
-
Last active
April 29, 2023 09:01
-
-
Save esynr3z/e25c12cd3fdf82e98da281e1f5831d87 to your computer and use it in GitHub Desktop.
How to install Quartus Prime Lite 19.1 and ModelSim 10.5b on Fedora 29
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
A typical installation of something on Linux.
After all, you can't just take it and install it. That would be corny and stupid.