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 17:26] – install hints 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 ==== | ||
| + | Check that you have | ||
| - | Make sure that you install the software at "/ | + | * [[http:// |
| - | Replace " | + | |
| + | Make sure that you install the software at "/ | ||
| < | < | ||
| - | sudo mkdir /opt/altera | + | tar -xvf Quartus-lite-18.1.0.625-linux.tar |
| - | sudo chown fritz:fritz /opt/altera | + | ./setup.sh |
| </ | </ | ||
| - | When you run the installation, | + | Check that you have |
| + | * [[http:// | ||
| + | |||
| + | and copy the library to the 18.1 directory | ||
| < | < | ||
| - | mkdir /tmp/qi | + | mkdir /opt/altera/18.1/modelsim_ase/ |
| - | cd /tmp/qi | + | cp ~/ |
| - | cp < | + | |
| - | tar -xvf Quartus-lite-18.1.0.625-linux.tar | + | |
| - | ./setup.sh | + | |
| </ | </ | ||
| - | ==== Setting PATH Variable ==== | + | Change / |
| - | In order to be able to start the binaries from the commandline, | + | < |
| + | dir=`dirname " | ||
| + | </ | ||
| - | < | + | After that line add |
| - | # Include the ALTERA fpga software | + | |
| - | PATH=" | + | < |
| - | # Include the ALTERA Modelsim VHDL simulator | + | export LD_LIBRARY_PATH=/ |
| - | PATH=" | + | |
| </ | </ | ||
| - | To see the changes | + | and [[http:// |
| + | |||
| + | === libstdc++ CXXABI_1.3.9 problem === | ||
| + | |||
| + | The following problem | ||
| + | |||
| + | < | ||
| + | / | ||
| + | Failed to load module: / | ||
| + | </ | ||
| + | |||
| + | is due to different libstdc++ versions which have different ABI versions. If you delete | ||
| + | |||
| + | < | ||
| + | rm / | ||
| + | </ | ||
| + | |||
| + | then quartus will find the default libstdc++ | ||
| + | |||
| + | ==== 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 | ||
| + | |||
| + | < | ||
| + | alias v13=" | ||
| + | alias v18=" | ||
| + | </ | ||
| + | |||
| + | 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 | ||
| + | |||
| + | 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 / | ||
| + | sudo chown caeuser: | ||
| + | ./install | ||
| + | </ | ||
| + | |||
| + | During | ||
| + | |||
| + | < | ||
| + | / | ||
| + | </ | ||
| + | |||
| + | 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 === | ||
| + | |||
| - | <code bash> | ||
| - | fritz@vcae: | ||
| - | / | ||
| - | fritz@vcae: | ||
| - | </ | ||
| - | You can see that the altera directories are now part of the PATH variable. | ||