[[vcae-lubuntu-18.04]]

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
vcae-lubuntu-18.04 [2019/03/27 17:26]
beckmanf install hints
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 ==== ==== Install ====
  
 +Check that you have 
  
-Make sure that you install the software at "/​opt/​altera/​18.1"​. ​Create ​the altera directory and change the owner to your username.  +  * [[http://​www.hs-augsburg.de/​homes/​beckmanf/​dokuwiki/​doku.php?​id=ubuntu_virtual_cae_system#​missing_libpng12|Installed the missing libpng12]] 
-Replace "​fritz:​fritz"​ with your username and group.+ 
 +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>​ <​code>​
-sudo mkdir /opt/altera +tar -xvf Quartus-lite-18.1.0.625-linux.tar 
-sudo chown fritz:fritz /opt/altera+./setup.sh
 </​code>​ </​code>​
  
-When you run the installation,​ you can deselect all FPGA device families, except Cyclone V+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>​ <​code>​
-mkdir /tmp/qi +mkdir /opt/altera/18.1/modelsim_ase/​lib32 
-cd /tmp/qi +cp ~/​cae/​freetype-2.8.1/objs/.libs/​libfreetype.so* /opt/​altera/​18.1/​modelsim_ase/​lib32/​
-cp <​TheQuartusTarFile>​ . +
-tar -xvf Quartus-lite-18.1.0.625-linux.tar +
-./setup.sh+
 </​code>​ </​code>​
  
-==== Setting PATH Variable ====+Change /​opt/​altera/​18.1/​modelsim_ase/​vco ​ file and find the location:
  
-In order to be able to start the binaries from the commandline,​ the path for the binaries has to be in the PATH environment variable. For that you have to modify the .profile file in your home directory. Append the following snippet to the .profile file: +<​code>​ 
 +dir=`dirname "​$arg0"​` 
 +</​code>​
  
-<​code ​bash .profile+After that line add 
-Include ​the ALTERA fpga software + 
-PATH="$PATH:/​opt/​altera/​18.1/quartus/bin+<code
-# Include the ALTERA Modelsim VHDL simulator +export LD_LIBRARY_PATH=/​opt/​altera/​18.1/​modelsim_ase/​lib32 
-PATH="$PATH:/​opt/​altera/​18.1/​modelsim_ase/bin"+</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>​ </​code>​
  
-To see the changes ​in the PATH variable, you have to logout and login againAfter that you can already start modelsim and quartus (see below)To check the setting of the PATH variable do: +You need to open a new bash to make the changes ​activeThen you can switch between the versions by running v18 or v13
  
-<code bash> 
-fritz@vcae:​~$ echo $PATH 
-/​usr/​local/​sbin:/​usr/​local/​bin:/​usr/​sbin:/​usr/​bin:/​sbin:/​bin:/​usr/​games:/​opt/​altera/​18.1/​quartus/​bin:/​opt/​altera/​18.1/​modelsim_ase/​bin 
-fritz@vcae:​~$ ​ 
-</​code> ​ 
  
-You can see that the altera directories are now part of the PATH variable. ​ 
  
  
  • vcae-lubuntu-18.04.txt
  • Last modified: 2020/03/22 23:20
  • by beckmanf