[[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
Next revision Both sides next revision
vcae-lubuntu-18.04 [2019/03/27 16:36]
beckmanf created
vcae-lubuntu-18.04 [2020/03/22 20:51]
beckmanf typo
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. 
 + 
 +==== 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.  
 + 
 + 
 + 
  • vcae-lubuntu-18.04.txt
  • Last modified: 2020/03/22 23:20
  • by beckmanf