Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
ubuntu_virtual_cae_system [2020/03/22 20:56] beckmanf changed path |
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. | ||
Line 10: | Line 10: | ||
- | Hans Färber has build two different virtual machines: | + | Hans Färber has build three different virtual machines: |
- | * [[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.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.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) | + | * [[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) | ||
- | ===== Install on Lubuntu 18.04 LTS ===== | + | ===== Build your own from scratch ===== |
- | [[vcae-lubuntu-18.04|Install on Lubuntu 18.04]] | + | 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. |
- | + | ||
- | + | ||
- | ===== Build your own from scratch (NEW) ===== | + | |
- | + | ||
- | The base system is Lubuntu 18.04 LTS. Download the | + | |
==== Virtual Machine ==== | ==== Virtual Machine ==== | ||
Line 28: | 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 74: | Line 65: | ||
to be done | to be done | ||
- | |||
===== Install Quartus 13.0sp1 and Modelsim ===== | ===== Install Quartus 13.0sp1 and Modelsim ===== | ||
Line 164: | Line 154: | ||
cd /opt/altera | cd /opt/altera | ||
ln -s 13.0sp1 version | ln -s 13.0sp1 version | ||
+ | cd | ||
</code> | </code> | ||
Line 347: | 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 370: | 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 384: | 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 390: | 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> | ||