===== Install Quartus 18.1 and Matlab =====
This description assumes that version 13.0sp1 is already installed on Lubuntu 18.04. The Quartus 18.1 version is used only by the Master Course.
==== Download ====
Download [[https://www.hs-augsburg.de/~beckmanf/restricted/Quartus-lite-18.1.0.625-linux.tar|Quartus-lite-18.1.0.625-linux.tar]] from [[http://fpgasoftware.intel.com/?edition=lite|Intel]]. You can download with
cd
cd cae
wget --user=YOURUSERNAME --ask-password https://www.hs-augsburg.de/~beckmanf/restricted/Quartus-lite-18.1.0.625-linux.tar
==== Install ====
Check that you have
* [[http://www.hs-augsburg.de/homes/beckmanf/dokuwiki/doku.php?id=ubuntu_virtual_cae_system#missing_libpng12|Installed the missing libpng12]]
Make sure that you install the software at "/opt/altera/18.1". When you run the installation, you can deselect all FPGA device families, except Cyclone V.
tar -xvf Quartus-lite-18.1.0.625-linux.tar
./setup.sh
Check that you have
* [[http://www.hs-augsburg.de/homes/beckmanf/dokuwiki/doku.php?id=ubuntu_virtual_cae_system#fix_the_libfreetype_problem|Compiled the libfreetype library]]
and copy the library to the 18.1 directory
mkdir /opt/altera/18.1/modelsim_ase/lib32
cp ~/cae/freetype-2.8.1/objs/.libs/libfreetype.so* /opt/altera/18.1/modelsim_ase/lib32/
Change /opt/altera/18.1/modelsim_ase/vco file and find the location:
dir=`dirname "$arg0"`
After that line add
export LD_LIBRARY_PATH=/opt/altera/18.1/modelsim_ase/lib32
and [[http://www.hs-augsburg.de/homes/beckmanf/dokuwiki/doku.php?id=ubuntu_virtual_cae_system#fix_linux_rh60_vco_script_problem|Fix linux rh60 problem]] in that file.
=== libstdc++ CXXABI_1.3.9 problem ===
The following problem
/opt/altera/version/quartus/linux64/libstdc++.so.6: version `CXXABI_1.3.9' not found (required by /usr/lib/x86_64-linux-gnu/libproxy.so.1)
Failed to load module: /usr/lib/x86_64-linux-gnu/gio/modules/libgiolibproxy.so
is due to different libstdc++ versions which have different ABI versions. If you delete
rm /opt/altera/18.1/quartus/linux64/libstdc++.*
then quartus will find the default libstdc++ in /usr/lib/x86_64-linux-gnu.
==== Create a version switcher for the PATH variable ====
You can set the PATH variable as in the 13.0sp1 installation in .profile. If you install two versions, then you can append the following to .bashrc
alias v13="ln -rsvfT /opt/altera/13.0sp1 /opt/altera/version"
alias v18="ln -rsvfT /opt/altera/18.1 /opt/altera/version"
You need to open a new bash to make the changes active. Then you can switch between the versions by running v18 or v13.
===== Matlab =====
==== License and Activation ====
Students of Hochschule Augsburg can have a [[https://www.hs-augsburg.de/Rechenzentrum/Matlab-TAH-Lizenz.html|license]] but they need to [[https://de.mathworks.com|Create a student account at Mathworks]]. You must use your hs-augsburg.de email address.
==== Download ====
Download Matlab version R2018b from https://de.mathworks.com/downloads/web_downloads/
==== Install ====
cd
cd cae
mkdir matlab
mv ../Downloads/matlab_R2018b_glnxa64.zip matlab
cd matlab
unzip matlab_R2018b_glnxa64.zip
sudo mkdir /opt/matlab
sudo chown caeuser:caeuser /opt/matlab
./install
During the installation process you have to login to Mathworks and activate the license. Choose as installation directory:
/opt/matlab/R2018b
Select the following matlab toolboxes
* MATLAB 9.5
* Simulink 9.2
* DSP System Toolbox
* Filter Design HDL Coder
* Fixed-Point Designer
* HDL Coder
* MATLAB Coder
* Signal Processing Toolbox
=== PATH ===