[[ubuntu_virtual_cae_system]]

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
ubuntu_virtual_cae_system [2020/03/22 17:35]
beckmanf [Ubuntu Virtual CAE System]
ubuntu_virtual_cae_system [2020/03/22 21:07]
beckmanf moved 18.1 section
Line 9: Line 9:
 ==== Preconfigured VirtualBox virtual machine ==== ==== Preconfigured VirtualBox virtual machine ====
  
-Hans Färber has build a [[https://​www.hs-augsburg.de/​homes/​haf/​php/​dokuwiki/​doku.php?​id=public:​praktikum_digitaltechnik:​cae-virtual-machine:​caevm-install|preconfigured virtual cae machine]] based on Lubuntu. 
  
-===== Install on Lubuntu 18.04 LTS =====+Hans Färber has build two different virtual machines:
  
-[[vcae-lubuntu-18.04|Install on Lubuntu 18.04]]+  * [[https://​www.terasic.com.tw/​cgi-bin/​page/​archive.pl?​Language=English&​CategoryNo=183&​No=83|Altera DE1 board]]: [[https://​www.hs-augsburg.de/​homes/​haf/​php/​dokuwiki/​doku.php?​id=public:​praktikum_digitaltechnik:​cae-virtual-machine:​caevm-install|Altera DE1 Virtual Machine]] 
 +  * [[https://​www.terasic.com.tw/​cgi-bin/​page/​archive.pl?​Language=English&​No=836|Altera DE1 SoC board]]: [[https://​www.hs-augsburg.de/​homes/​haf/​php/​dokuwiki/​doku.php?​id=public:​meng:​caemachine:​socvm-install|SoC Virtual Machine]] (for Master courses)
  
 +===== Build your own from scratch =====
  
-===== Build your own from scratch (NEW) ===== +The CAD software ​is based on Lubuntu linux, Quartus and other software. The software and the linux operating system are supposed to run in a virtual machine. If you do not use a virtualization environment,​ then you can install also directly on a native linux machine. The following description assumes ​Lubuntu 18.04. ​Just skip the virtual machine section.
- +
-The base system ​is Lubuntu 18.04 LTSDownload ​the +
  
 ==== Virtual Machine ==== ==== Virtual Machine ====
Line 24: Line 23:
 There are different virtual machine environments. ​ There are different virtual machine environments. ​
  
-== VMWare ==+=== VMWare ​===
  
 VMWare(r) provides a commercial version VMWare Fusion for Mac OS(r). This has a very good integration in MacOS and I use it with MacOS 10.13.6 (High Sierra). It is not free. For Windows(r) there is the VMWare Player. The VMWare Player is free. I have not tested it.  VMWare(r) provides a commercial version VMWare Fusion for Mac OS(r). This has a very good integration in MacOS and I use it with MacOS 10.13.6 (High Sierra). It is not free. For Windows(r) there is the VMWare Player. The VMWare Player is free. I have not tested it. 
  
-== VirtualBox ​=+=== VirtualBox ===
- +
-VirtualBox(r) is available for Windows, Linux and Mac OS. It is free. From my experience with MacOS it is not as good integrated as VMWare Fusion.  +
- +
-=== Get the virtual machine ​=== +
- +
-Download and install the the virtual machine software from [[https://​www.virtualbox.org|https://​www.virtualbox.org]]+
  
 +VirtualBox(r) is available for Windows, Linux and Mac OS. It is free. From my experience with MacOS it is not as good integrated as VMWare Fusion. If you want to use this, then download and install the the virtual machine software from [[https://​www.virtualbox.org|https://​www.virtualbox.org]]
  
 === Get the Lubuntu 18.04 install image === === Get the Lubuntu 18.04 install image ===
Line 70: Line 64:
  
 to be done to be done
- 
  
 ===== Install Quartus 13.0sp1 and Modelsim ===== ===== Install Quartus 13.0sp1 and Modelsim =====
Line 154: Line 147:
  
 === adapt .profile for PATH === === adapt .profile for PATH ===
 +
 +First add a symbolic link to the current version of the quartus software
 +
 +<​code>​
 +cd /opt/altera
 +ln -s 13.0sp1 version
 +cd
 +</​code>​
  
 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 with [[http://​heather.cs.ucdavis.edu/​~matloff/​UnixAndC/​Editors/​ViIntro.html|vi]]. 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 with [[http://​heather.cs.ucdavis.edu/​~matloff/​UnixAndC/​Editors/​ViIntro.html|vi]].
Line 159: Line 160:
 <code bash .profile>​ <code bash .profile>​
 # Include the ALTERA fpga software # Include the ALTERA fpga software
-PATH="​$PATH:/​opt/​altera/​13.0sp1/​quartus/​bin"​+PATH="​$PATH:/​opt/​altera/​version/​quartus/​bin"​
 # Include the ALTERA Modelsim VHDL simulator # Include the ALTERA Modelsim VHDL simulator
-PATH="​$PATH:/​opt/​altera/​13.0sp1/​modelsim_ase/​bin"​+PATH="​$PATH:/​opt/​altera/​version/​modelsim_ase/​bin"​
 </​code>​ </​code>​
  
Line 336: Line 337:
 </​code>​ </​code>​
  
-==== Install qfsm ====+==== Only Bachelor ET and ME students: ​Install qfsm ====
  
 [[http://​qfsm.sourceforge.net|QFSM]] ist the state chart editor used in the lab. First you need to install some required packages. ​ [[http://​qfsm.sourceforge.net|QFSM]] ist the state chart editor used in the lab. First you need to install some required packages. ​
Line 359: Line 360:
 </​code>​ </​code>​
  
-===== Download and build the mips toolchain =====+===== Optional: Install Quartus 18.1 ===== 
 + 
 +For the master course you need Quartus 18.1 to program the Altera DE1 Soc board with the Cyclone V fpga. [[vcae-lubuntu-18.04|How to install Quartus 18.1]] 
 + 
 +===== Very Optional: ​Download and build the mips toolchain =====
  
-The MIPS Cross Compiler is only needed for the patterson project. ​+The MIPS Cross Compiler is only needed for the patterson project.
  
 Follow the instructions in [[mips_cross_compiler|MIPS Cross Compiler build]] Follow the instructions in [[mips_cross_compiler|MIPS Cross Compiler build]]
  • ubuntu_virtual_cae_system.txt
  • Last modified: 2024/06/03 00:28
  • by beckmanf