[[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
ubuntu_virtual_cae_system [2020/03/22 17:35]
beckmanf [Ubuntu Virtual CAE System]
ubuntu_virtual_cae_system [2022/03/15 11:22] (current)
beckmanf switched link to new gitlab server
Line 1: Line 1:
-===== Ubuntu ​Virtual CAE System =====+===== Lubuntu ​Virtual CAE System =====
  
-The Ubuntu(r) virtual CAE System is an Ubuntu ​Linux(r) based CAE environment based on Altera(r), Quartus(r), Modelsim(r) and a MIPS(r) Cross compiler. The idea is to run Ubuntu Linux in a virtual machine. The lab as two different boards which require different Quartus Version.+The Lubuntu(r) virtual CAE System is a Lubuntu ​Linux(r) based CAE environment based on Altera(r), Quartus(r), Modelsim(r) and a MIPS(r) Cross compiler. The idea is to run Ubuntu Linux in a virtual machine. The lab as two different boards which require different Quartus Version.
  
-  * Altera DE1 board (Digitaltechnik,​ Entwurf digitaler Systeme 1) with Cyclone II FPGA +  * [[altera_boards|Altera DE1 board]] (Digitaltechnik,​ Entwurf digitaler Systeme 1) with Cyclone II FPGA 
-  * Altera DE1 SOC (Master VLSI, Master COM) with Cyclone V FPGA+  * NOT IN SS21!!! ​Altera DE1 SOC (Master VLSI, Master COM) with Cyclone V FPGA
  
 The last version that supports Cyclone II fpga architecture is Quartus 13.0sp1. That version does not support the Cyclone V architecture. All quartus versions that support Cyclone V do not support Cyclone II. So unfortunately there is not one Quartus version that supports both fpga architecutures. ​ The last version that supports Cyclone II fpga architecture is Quartus 13.0sp1. That version does not support the Cyclone V architecture. All quartus versions that support Cyclone V do not support Cyclone II. So unfortunately there is not one Quartus version that supports both fpga architecutures. ​
 ==== 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 three different virtual machines:
  
-[[vcae-lubuntu-18.04|Install on Lubuntu 18.04]]+  * [[https://​www.hs-augsburg.de/​homes/​haf/​php/​dokuwiki/​doku.php?​id=public:​praktikum_digitaltechnik:​cae-virtual-machine:​caevm-install|Altera DE1 Virtual Machine with Quartus and Modelsim]] for Digitaltechnik,​ Digitaltechnik Praktikum and Entwurf digitaler Systeme 1 
 +  * [[https://​www.hs-augsburg.de/​homes/​haf/​php/​dokuwiki/​doku.php?​id=public:​meng:​caemachine:​caevm-install|Altera DE1 Virtual Machine with Quartus, Modelsim and Matlab]] for Master Courses  
 +  * [[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]] (used in previous years 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 24:
 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 65:
  
 to be done to be done
- 
  
 ===== Install Quartus 13.0sp1 and Modelsim ===== ===== Install Quartus 13.0sp1 and Modelsim =====
Line 154: Line 148:
  
 === 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 161:
 <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 338:
 </​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 361:
 </​code>​ </​code>​
  
-===== Download and build the mips toolchain =====+===== Optional: Install Quartus 18.1 ===== 
 + 
 +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]]
Line 373: Line 379:
 </​code>​ </​code>​
  
-Download the "​Digitaltechnikpraktikum"​ from the git server: [[https://git.etech.fh-augsburg.de/​friedrich.beckmann/​digitaltechnikpraktikum]]+Download the "​Digitaltechnikpraktikum"​ from the git server: [[https://gitlab.elektrotechnik.hs-augsburg.de/​beckmanf/​digitaltechnikpraktikum]]
  
 <​code>​ <​code>​
Line 379: Line 385:
 mkdir projects mkdir projects
 cd projects cd projects
-git clone https://git.etech.fh-augsburg.de/​friedrich.beckmann/​digitaltechnikpraktikum.git+git clone https://gitlab.elektrotechnik.hs-augsburg.de/​beckmanf/​digitaltechnikpraktikum.git
 </​code>​ </​code>​
  
  • ubuntu_virtual_cae_system.1584894919.txt.gz
  • Last modified: 2020/03/22 17:35
  • by beckmanf