[[vcae-lubuntu-18.04]]

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
vcae-lubuntu-18.04 [2019/03/27 16:36]
beckmanf created
vcae-lubuntu-18.04 [2020/03/22 23:20] (current)
beckmanf CXXABI_1.3.9 problem
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://​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]]+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Ìý
 +Ìý
 +<​code>​Ìý
 +cdÌý
 +cd caeÌý
 +wget --user=YOURUSERNAME --ask-password ​ https://​www.hs-augsburg.de/​~beckmanf/​restricted/​Quartus-lite-18.1.0.625-linux.tarÌý
 +</​code>​Ìý
 +Ìý
 +==== 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.Ìý
 +Ìý
 +<​code>​Ìý
 +tar -xvf Quartus-lite-18.1.0.625-linux.tarÌý
 +./​setup.shÌý
 +</​code>​Ìý
 +Ìý
 +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Ìý
 +Ìý
 +<​code>​Ìý
 +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/​Ìý
 +</​code>​Ìý
 +Ìý
 +Change /​opt/​altera/​18.1/​modelsim_ase/​vco ​ file and find the location:Ìý
 +Ìý
 +<​code>​Ìý
 +dir=`dirname "​$arg0"​`Ìý
 +</​code>​Ìý
 +Ìý
 +After that line addÌý
 +Ìý
 +<​code>​Ìý
 +export LD_LIBRARY_PATH=/​opt/​altera/​18.1/​modelsim_ase/​lib32Ìý
 +</​code>​Ìý
 +Ìý
 +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Ìý
 +Ìý
 +<​code>​Ìý
 +/​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Ìý
 +</​code>​Ìý
 +Ìý
 +is due to different libstdc++ versions which have different ABI versions. If you deleteÌý
 +Ìý
 +<​code>​Ìý
 +rm /​opt/​altera/​18.1/​quartus/​linux64/​libstdc++.*Ìý
 +</​code>​Ìý
 +Ìý
 +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Ìý
 +Ìý
 +<​code>​Ìý
 +alias v13="​ln -rsvfT /​opt/​altera/​13.0sp1 /​opt/​altera/​version"​Ìý
 +alias v18="​ln -rsvfT /​opt/​altera/​18.1 /​opt/​altera/​version"​Ìý
 +</​code>​Ìý
 +Ìý
 +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 91Âþ»­ 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 ====Ìý
 +Ìý
 +<​code>​Ìý
 +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Ìý
 +</​code>​Ìý
 +Ìý
 +During the installation process you have to login to Mathworks and activate the license. Choose as installation directory:​Ìý
 +Ìý
 +<​code>​Ìý
 +/​opt/​matlab/​R2018bÌý
 +</​code>​Ìý
 +Ìý
 +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 ===Ìý
 +Ìý
 +Ìý
 +Ìý
 +Ìý
 +Ìý
  • vcae-lubuntu-18.04.1553700964.txt.gz
  • Last modified: 2019/03/27 16:36
  • by beckmanf