Difference between revisions of "Intel Quartus"
(added Debian 10 instructions for Quartus 13.0sp1) |
(added more detailed installation instructions) |
||
Line 88: | Line 88: | ||
<pre>sudo apt-get install libc6-i386</pre> | <pre>sudo apt-get install libc6-i386</pre> | ||
+ | |||
+ | You can then download and run the installer: | ||
+ | |||
+ | <pre>cd ~/Downloads | ||
+ | wget -c https://download.altera.com/akdlm/software/acdsinst/13.0sp1/232/ib_tar/Quartus-web-13.0.1.232-linux.tar | ||
+ | mkdir quartus_inst | ||
+ | cd quartus_inst | ||
+ | tar xf ~/Downloads/Quartus-web-13.0.1.232-linux.tar | ||
+ | ./setup.sh</pre> | ||
+ | |||
+ | It will ask you questions about what it should install. You'll definitely want to install the 64-bit edition, the appropriate device pack, and probably ModelSim (both editions to be safe). Here is an example of choosing everything: | ||
+ | |||
+ | <pre>Select the components you want to install | ||
+ | |||
+ | Quartus II Web Edition (Free) [Y/n] : y | ||
+ | |||
+ | Quartus II Web Edition (Free) - Quartus II Software (includes Nios II EDS) (4424MB) : Y (Cannot be edited) | ||
+ | |||
+ | Quartus II Web Edition (Free) - Quartus II Software 64-bit support (1090MB) [Y/n] : y | ||
+ | |||
+ | Quartus II Web Edition (Free) - Quartus II Help (627.9MB) [Y/n] : y | ||
+ | |||
+ | Quartus II Web Edition (Free) - Devices [Y/n] : y | ||
+ | |||
+ | Quartus II Web Edition (Free) - Devices - Arria II (482.8MB) [Y/n] : y | ||
+ | |||
+ | Quartus II Web Edition (Free) - Devices - Cyclone II/III/IV (615.2MB) [Y/n] : y | ||
+ | |||
+ | Quartus II Web Edition (Free) - Devices - Cyclone V (751.8MB) [Y/n] : y | ||
+ | |||
+ | Quartus II Web Edition (Free) - Devices - MAX II/V, MAX 3000/7000 (9.1MB) [Y/n] : y | ||
+ | |||
+ | ModelSim-Altera Starter Edition (Free) (3547.1MB) [Y/n] : y | ||
+ | |||
+ | ModelSim-Altera Edition (3547.1MB) [y/N] : y | ||
+ | |||
+ | Is the selection above correct? [Y/n]: y</pre> | ||
+ | |||
+ | Later it will ask you a few post-installation things: | ||
+ | |||
+ | <pre>Create shortcuts on Desktop [Y/n]: y | ||
+ | Launch Quartus II (64bit) [Y/n]: n | ||
+ | |||
+ | Provide your feedback at http://software.altera.com/feedback/13.0sp1/installer [Y/n]: n</pre> | ||
Once installed, the application won't launch without libpng12, and libpng16 is what ships with Ubuntu. Luckily there is a PPA: | Once installed, the application won't launch without libpng12, and libpng16 is what ships with Ubuntu. Luckily there is a PPA: | ||
Line 94: | Line 138: | ||
sudo apt update | sudo apt update | ||
sudo apt install libpng12-0</pre> | sudo apt install libpng12-0</pre> | ||
+ | |||
+ | You will also want to launch Quartus using the <code>--64bit</code> command line option. If you install the 64-bit edition and choose to create a desktop launcher (shortcut), it will both pass that option and set the working directory to the folder containing the <code>quartus</code> script. To run it manually from the command, replicate the same conditions: | ||
+ | |||
+ | <pre>cd ~/altera/13.0sp1/quartus/bin | ||
+ | ./quartus --64bit</pre> | ||
For Quartus to be able to access the USB Blaster with proper permissions, udev rules need to be set up: | For Quartus to be able to access the USB Blaster with proper permissions, udev rules need to be set up: |
Revision as of 08:08, 16 April 2021
Overview
Intel Quartus Prime, formerly Altera Quartus II, is an FPGA IDE for Intel/Altera's FPGAs and CPLDs. Different version ranges of the software support various generations of their products.
Download Links
https://www.intel.com/content/www/us/en/software/programmable/quartus-prime/download.html
https://fpgasoftware.intel.com/?edition=lite
A table of the last version that supported a given device family:
https://fpgasoftware.intel.com/devices/
Installing
Quartus II 13.0sp1
Ubuntu 20.04
The installer won't launch unless you install 32-bit libc:
sudo apt-get install libc6-i386
You can then download and run the installer:
cd ~/Downloads wget -c https://download.altera.com/akdlm/software/acdsinst/13.0sp1/232/ib_tar/Quartus-web-13.0.1.232-linux.tar mkdir quartus_inst cd quartus_inst tar xf ~/Downloads/Quartus-web-13.0.1.232-linux.tar ./setup.sh
It will ask you questions about what it should install. You'll definitely want to install the 64-bit edition, the appropriate device pack, and probably ModelSim (both editions to be safe). Here is an example of choosing everything:
Select the components you want to install Quartus II Web Edition (Free) [Y/n] : y Quartus II Web Edition (Free) - Quartus II Software (includes Nios II EDS) (4424MB) : Y (Cannot be edited) Quartus II Web Edition (Free) - Quartus II Software 64-bit support (1090MB) [Y/n] : y Quartus II Web Edition (Free) - Quartus II Help (627.9MB) [Y/n] : y Quartus II Web Edition (Free) - Devices [Y/n] : y Quartus II Web Edition (Free) - Devices - Arria II (482.8MB) [Y/n] : y Quartus II Web Edition (Free) - Devices - Cyclone II/III/IV (615.2MB) [Y/n] : y Quartus II Web Edition (Free) - Devices - Cyclone V (751.8MB) [Y/n] : y Quartus II Web Edition (Free) - Devices - MAX II/V, MAX 3000/7000 (9.1MB) [Y/n] : y ModelSim-Altera Starter Edition (Free) (3547.1MB) [Y/n] : y ModelSim-Altera Edition (3547.1MB) [y/N] : y Is the selection above correct? [Y/n]: y
Later it will ask you a few post-installation things:
Create shortcuts on Desktop [Y/n]: y Launch Quartus II (64bit) [Y/n]: n Provide your feedback at http://software.altera.com/feedback/13.0sp1/installer [Y/n]: n
Once installed, the application won't launch without libpng12, and libpng16 is what ships with Ubuntu. Luckily there is a PPA:
sudo add-apt-repository ppa:linuxuprising/libpng12 sudo apt update sudo apt install libpng12-0
You will also want to launch Quartus using the --64bit
command line option. If you install the 64-bit edition and choose to create a desktop launcher (shortcut), it will both pass that option and set the working directory to the folder containing the quartus
script. To run it manually from the command, replicate the same conditions:
cd ~/altera/13.0sp1/quartus/bin ./quartus --64bit
For Quartus to be able to access the USB Blaster with proper permissions, udev rules need to be set up:
echo 'ATTR{idVendor}=="09fb", ATTR{idProduct}=="6001", MODE="666"' | sudo tee /etc/udev/rules.d/altera-usb-blaster.rules
Taken from:
http://www.armadeus.org/wiki/index.php?title=Quartus_installation_on_Linux#USB-Blaster
Debian 10 (buster)
The steps requires as the same as for Ubuntu 20.04, with the exception of being unable to use the Ubuntu PPA for libpng12. Debian 8 (jessie) was the last version to have libpng12. The libpng12-0_1.2.50-2+deb8u3_amd64.deb
package can be unpacked, and then the appropriate .so
files moved into Quartus's installation directory.
Debian -- Details of package libpng12-0 in jessie (the old package)
Debian -- Package Download Selection -- libpng12-0_1.2.50-2+deb8u3_amd64.deb (the 64-bit package download page)
# download and unpack the Debian package mkdir libpng12_files cd libpng12_files wget http://http.us.debian.org/debian/pool/main/libp/libpng/libpng12-0_1.2.50-2+deb8u3_amd64.deb ar x libpng12-0_1.2.50-2+deb8u3_amd64.deb tar xf data.tar.xz # move the shared library files into the Quartus folder mv lib/x86_64-linux-gnu/libpng12.so.* ~/altera/13.0sp1/quartus/linux64/ # clean up cd .. rm -rf libpng12_files