Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| vcae-lubuntu-18.04 [2019/03/27 18:16] – added quartus beckmanf | vcae-lubuntu-18.04 [2020/03/22 23:20] (current) – CXXABI_1.3.9 problem beckmanf | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ===== Install Quartus 18.1 on Lubuntu 18.04 LTS ===== | + | ===== 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 ==== | ||
| - | Download [[https:// | + | Download [[https:// |
| + | |||
| + | < | ||
| + | cd | ||
| + | cd cae | ||
| + | wget --user=YOURUSERNAME --ask-password | ||
| + | </ | ||
| ==== Install ==== | ==== Install ==== | ||
| - | Make sure that you install the software at "/ | + | Check that you have |
| - | < | + | * [[http://www.hs-augsburg.de/ |
| - | sudo mkdir /opt/altera | + | |
| - | sudo chown fritz: | + | |
| - | </code> | + | |
| - | When you run the installation, | + | Make sure that you install the software at "/ |
| < | < | ||
| - | mkdir /tmp/qi | ||
| - | cd /tmp/qi | ||
| - | cp < | ||
| tar -xvf Quartus-lite-18.1.0.625-linux.tar | tar -xvf Quartus-lite-18.1.0.625-linux.tar | ||
| ./setup.sh | ./setup.sh | ||
| </ | </ | ||
| - | ==== Setting PATH Variable ==== | + | Check that you have |
| + | * [[http:// | ||
| - | In order to be able to start the binaries from the commandline, | + | and copy the library |
| - | .profile | + | < |
| + | mkdir / | ||
| + | cp ~/ | ||
| + | </ | ||
| - | <code bash> | + | Change |
| - | # Include the ALTERA fpga software | + | |
| - | PATH=" | + | < |
| - | # Include | + | dir=`dirname |
| - | PATH="$PATH:/ | + | |
| </ | </ | ||
| - | To see the changes in the PATH variable, you have to logout and login again. | + | After that line add |
| - | < | + | < |
| - | fritz@vcae: | + | export LD_LIBRARY_PATH=/ |
| - | / | + | |
| - | fritz@vcae: | + | |
| </ | </ | ||
| - | You can see that the altera directories are now part of the PATH variable. | + | and [[http:// |
| - | ==== Run Quartus and install remaining libraries ==== | + | === libstdc++ CXXABI_1.3.9 problem |
| - | === Missing libpng12 === | + | The following problem |
| < | < | ||
| - | fritz@vcae: | + | / |
| - | quartus: error while loading shared libraries: libpng12.so.0: cannot open shared object file: No such file or directory | + | Failed to load module: / |
| - | fritz@vcae:~$ | + | |
| </ | </ | ||
| - | The following check shows that libpng16 | + | is due to different libstdc++ versions which have different ABI versions. If you delete |
| < | < | ||
| - | fritz@vcae: | + | rm / |
| - | ii libpng16-16: | + | |
| - | fritz@vcae: | + | |
| </ | </ | ||
| - | So download, compile and copy the libpng12 library to the quartus | + | then quartus will find the default libstdc++ in / |
| + | |||
| + | ==== 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 | ||
| < | < | ||
| - | sudo apt install build-essential | + | alias v13=" |
| - | wget https://www.hs-augsburg.de/homes/beckmanf/public/ | + | alias v18=" |
| - | tar -xvzf libpng-1.2.59.tar.gz | + | |
| - | cd libpng-1.2.59 | + | |
| - | ./ | + | |
| - | make | + | |
| - | cp .libs/ | + | |
| </ | </ | ||
| + | |||
| + | 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:// | ||
| + | |||
| + | ==== Download ==== | ||
| + | |||
| + | Download Matlab version R2018b from https:// | ||
| + | |||
| + | ==== Install ==== | ||
| + | |||
| + | < | ||
| + | cd | ||
| + | cd cae | ||
| + | mkdir matlab | ||
| + | mv ../ | ||
| + | cd matlab | ||
| + | unzip matlab_R2018b_glnxa64.zip | ||
| + | sudo mkdir /opt/matlab | ||
| + | sudo chown caeuser: | ||
| + | ./install | ||
| + | </ | ||
| + | |||
| + | During the installation process you have to login to Mathworks and activate the license. Choose as installation directory: | ||
| + | |||
| + | < | ||
| + | / | ||
| + | </ | ||
| + | |||
| + | 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 === | ||
| + | |||
| + | |||
| + | |||