Difference between revisions of "Intel Quartus"
(added udev rules) |
(added more old versions of Quartus) |
||
(5 intermediate revisions by the same user not shown) | |||
Line 73: | Line 73: | ||
| https://download.altera.com/akdlm/software/acdsinst/13.0sp1/232/ib_tar/Quartus-web-13.0.1.232-linux.tar | | https://download.altera.com/akdlm/software/acdsinst/13.0sp1/232/ib_tar/Quartus-web-13.0.1.232-linux.tar | ||
| 7588ed734761f62ec8f86b07a5adfffd | | 7588ed734761f62ec8f86b07a5adfffd | ||
+ | |- | ||
+ | | 12.1sp1 | ||
+ | | 12.1sp1_quartus_free_linux.tar.gz | ||
+ | | 620b7802bbd29262485d3eafebea3c10 | ||
+ | |- | ||
+ | | 12.1 | ||
+ | | 12.1_quartus_free_linux.tar.gz | ||
+ | | a206a7585d23d433c26ada2a916b24d1 | ||
+ | |- | ||
+ | | 12.0sp2 | ||
+ | | 12.0sp2_quartus_free_linux.tar.gz | ||
+ | | eacce40008d33b5eca7277b1f822e621 | ||
+ | |- | ||
+ | | 12.0 | ||
+ | | 12.0_quartus_free_linux.tar.gz | ||
+ | | 0ab14e8e44c1e1899c85c4448970d49f | ||
+ | |- | ||
+ | | 11.1sp2 | ||
+ | | 11.1sp2_quartus_free_linux.sh | ||
+ | | ae6bee1b949fbbc78ae11ce43351bb86 | ||
+ | |- | ||
+ | | 11.1sp1 | ||
+ | | | ||
+ | | | ||
+ | |- | ||
+ | | 11.1 | ||
+ | | 11.1_quartus_free_linux.sh | ||
+ | | 6e352fc1bd2c06ece66b95de9b4473a6 | ||
+ | |- | ||
+ | | 11.0sp1 | ||
+ | | 11.0sp1_quartus_free_linux.sh | ||
+ | | 105c88a866ec3428cae30f3905b47f46 | ||
+ | |- | ||
+ | | 10.1sp1 | ||
+ | | 10.1sp1_quartus_free_linux.sh | ||
+ | | | ||
+ | |- | ||
+ | | 10.1 | ||
+ | | 10.1_quartus_free_linux.sh | ||
+ | | | ||
+ | |- | ||
+ | | 10.0 | ||
+ | | 10.0_quartus_free_linux.sh | ||
+ | | | ||
+ | |- | ||
+ | | 9.1sp2 | ||
+ | | 91sp2_quartus_free_linux.tar | ||
+ | | f61c84a752750cef29d59bc2e5490cd8 | ||
|} | |} | ||
Line 88: | Line 136: | ||
<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 also ModelSim Starter Edition. Here is an example of choosing everything (except for the non-free ModelSim): | ||
+ | |||
+ | <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] : n | ||
+ | |||
+ | 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 186: | ||
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: | ||
Line 102: | Line 199: | ||
http://www.armadeus.org/wiki/index.php?title=Quartus_installation_on_Linux#USB-Blaster | 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 <code>libpng12-0_1.2.50-2+deb8u3_amd64.deb</code> package can be unpacked, and then the appropriate <code>.so</code> files moved into Quartus's installation directory. | ||
+ | |||
+ | [https://packages.debian.org/jessie/libpng12-0 Debian -- Details of package libpng12-0 in jessie] (the old package) | ||
+ | |||
+ | [https://packages.debian.org/jessie/amd64/libpng12-0/download Debian -- Package Download Selection -- libpng12-0_1.2.50-2+deb8u3_amd64.deb] (the 64-bit package download page) | ||
+ | |||
+ | <pre># 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</pre> | ||
== Online Resources == | == Online Resources == | ||
Line 108: | Line 227: | ||
[https://www.intel.com/content/www/us/en/software/programmable/quartus-prime/overview.html FPGA Design Software - Intel® Quartus® Prime] | [https://www.intel.com/content/www/us/en/software/programmable/quartus-prime/overview.html FPGA Design Software - Intel® Quartus® Prime] | ||
+ | |||
+ | [https://web.archive.org/web/20160328211242/https://wl.altera.com/download/software/quartus-ii-we/9.1sp2 Quartus II Web Edition v9.1sp2] (Wayback Machine, last version to have internal simulator) |
Latest revision as of 18:36, 1 May 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 also ModelSim Starter Edition. Here is an example of choosing everything (except for the non-free ModelSim):
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] : n 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
Online Resources
Intel Quartus Prime - Wikipedia
FPGA Design Software - Intel® Quartus® Prime
Quartus II Web Edition v9.1sp2 (Wayback Machine, last version to have internal simulator)