You will then be asked to read thousands of lines of a license agreement. Simply press Enter

+

You will probably get a GUI install wizard if you installed all the aforementioned packages. You might also

−

and hold it down until you see a repeating question asking you to agree or not. Enter {{ic|y}}

+

get a command-line interactive install wizard, which will do the same.

−

and press Enter.

−

−

When asked for the installation path, be careful not to put any space since Altera softwares

−

do not like them in general. A standard install path is {{ic|/opt/altera/13.0}}.

−

−

Next, choose whatever software parts you want to include and accept your choice. Make sure to

−

include the 64-bit option if you have a 64-bit Arch Linux system.

−

−

Quartus II will be installed and the install script will ask you to:

−

−

* create a desktop shortcut: '''say no'''

−

* send feedback: '''say no'''

−

* launch Quartus: '''say no'''

−

−

Before launching Quartus II, one more step is required.

−

−

=== One more step: a few required libraries ===

−

Quartus II requires the following libraries to be installed.

+

The default install path is {{ic|~/altera/13.0}}, but some prefer {{ic|/opt/altera/13.0}}, which we assume

+

for the rest of this document.

−

* {{ic|libpng12}}

+

'''Make sure to include''' the 64-bit option of Quartus II when installing.

−

* {{ic|libfreetype2}}

−

* {{ic|libxrender}}

−

* {{ic|libsm}}

−

* {{ic|libxext}}

−

* {{ic|fontconfig}}

−

−

If you are planning to run the 32-bit version of Quartus II on a 64-bit system, install the following packages from Multilib:

−

−

* {{ic|lib32-libpng12}}

−

* {{ic|lib32-libfreetype2}}

−

* {{ic|lib32-libxrender}}

−

* {{ic|lib32-libsm}}

−

* {{ic|lib32-libxext}}

−

* {{ic|lib32-fontconfig}}

=== Launching Quartus II ===

=== Launching Quartus II ===

Line 103:

Line 87:

$ /opt/altera/13.0/quartus/bin/quartus

$ /opt/altera/13.0/quartus/bin/quartus

+

+

All other Altera tools, like Qsys, the Nios II EDS, Chip Planner and SignalTap II may be launched without any problem

+

from the ''Tools'' menu of Quartus II.

=== Integrating Quartus II with the system ===

=== Integrating Quartus II with the system ===

Line 153:

Line 140:

=== USB-Blaster Download Cable Driver ===

=== USB-Blaster Download Cable Driver ===

−

The USB-Blaster Download Cable is a cable that allows you to download configuration data from your computer to your FPGA, CPLD or EEPROM configuration device. However,

+

The USB-Blaster (I and II) Download Cable is a cable that allows you to download configuration data from your computer to your FPGA, CPLD or EEPROM configuration device. However, Altera only provides official support for RHEL, SUSE Entreprise and CentOS, so we are required to do a little bit

−

Altera only provides official support for RHEL, SUSE Entreprise and CentOS, so we are required to do a little bit

of work to make it work with Arch Linux. If you want some more detail about this cable, please refer to

of work to make it work with Arch Linux. If you want some more detail about this cable, please refer to

If there seems to be an error message about "linux64" and you didn't install the 64-bit version of Quartus II,

If there seems to be an error message about "linux64" and you didn't install the 64-bit version of Quartus II,

Line 185:

Line 191:

{{Out of date|This section is intended for Quartus II v12.0 and should be updated for Quartus II v13.0}}

{{Out of date|This section is intended for Quartus II v12.0 and should be updated for Quartus II v13.0}}

+

+

{{Note|The ModelSim version installed with Quartus II Web Edition v13.0 works without any modification when launched from Quartus II's ''Tool'' menu.}}

===Install===

===Install===

Line 217:

Line 225:

*) vco="linux" ;;

*) vco="linux" ;;

</nowiki>}}

</nowiki>}}

+

====With freetype2 2.5.0.1-1 ====

+

The upgrade from freetype2 version 2.5.0.1-1 to 2.5.0.1-2 (October 2013[https://projects.archlinux.org/svntogit/packages.git/commit/?h=packages/freetype2&id=f2903d2374daf5becc931b010efb2f613eaaae18]) causes the following error in Modelsim/Questa:

+

$ vsim

+

Error in startup script:

+

Initialization problem, exiting.

+

Initialization problem, exiting.

+

Initialization problem, exiting.

+

while executing

+

"EnvHistory::Reset"

+

(procedure "PropertiesInit" line 3)

+

invoked from within

+

"PropertiesInit"

+

invoked from within

+

"ncFyP12 -+"

+

(file "/opt/questasim/linux_x86_64/../tcl/vsim/vsim" line 1)

+

** Fatal: Read failure in vlm process (0,0)

+

Downgrade the Package ( http://seblu.net/a/arm/2013/10/11/multilib/os/x86_64/lib32-freetype2-2.5.0.1-1-x86_64.pkg.tar.xz or http://seblu.net/a/arm/2013/10/11/extra/os/x86_64/freetype2-2.5.0.1-1-x86_64.pkg.tar.xz ) or replace

+

the Library for Modelsim/Questa only, as shown here: http://communities.mentor.com/mgcx/message/46770

Quartus II Web Edition v13.0

The following procedure shows how to get, install and configure Altera Quartus II Web Edition v13.0 for Arch Linux.
Quartus II is Altera's big software collection to design and interact with about all their FPGAs/CPLDs/etc. products.

The procedure focuses on Arch Linux 64-bit systems, although 32-bit installations should work fine too.

Quartus II Web Edition v13.0 is officially supported
for RHEL 5 and RHEL 6, but since it's one of those huge collections of proprietary software that doesn't
interact so much with the distribution, it's fairly easy to install on Arch Linux.

Get Quartus II

In Altera's Downloads section, select Linux as the operating system
and get the Combined Files tar archive (something like Quartus-web-13.0.0.156-linux.tar).

Install dependencies

Although the main Quartus II software is 64-bit, lots of Altera tools shipped with Quartus II are still 32-bit
softwares. Those include the Nios II EDS and Qsys, for example. This is why we need to install lots of
lib32- libraries and other programs from the Arch Linux Multilib repo. Obviously, if you have a 32-bit
Arch Linux system, you don't need the Multilib versions.

In order to install Multilib packages using Pacman, you need to enable the Multilib repository (if not already done). Open
/etc/pacman.conf and uncomment the following lines:

Even if quartus is now a command known by Bash, you still need to add the --64bit argument in order to launch the 64-bit
version. A shell alias, like quartus64, is a great solution to avoid typing it each time.

Application menu entry

A freedesktop.org application menu entry (which a lot of desktop environments and window managers follow) can be added
to the system by creating a quartus.desktop file in your ~/.local/share/applications
directory:

USB-Blaster Download Cable Driver

The USB-Blaster (I and II) Download Cable is a cable that allows you to download configuration data from your computer to your FPGA, CPLD or EEPROM configuration device. However, Altera only provides official support for RHEL, SUSE Entreprise and CentOS, so we are required to do a little bit
of work to make it work with Arch Linux. If you want some more detail about this cable, please refer to
the USB-Blaster Download Cable User Guide.

Executing this script should open a setup GUI. Just follow the instructions. For the purpose of this tutorial, I assume that you are installing Quartus II in the /opt/altera folder. Don't forget to select the file for the source of install if you don't want to download again quartus.

Repeat this procedure for the sp1 file then the sp2.

Compatibility with Archlinux

With the kernel 3.x

Modelsim has a problem with the version 3 of linux kernel. You need to edit the file to make it compatible :

change

/opt/altera/modelsim_ase/bin/vsim line 204

*) vco="linux_rh60" ;;

to

/opt/altera/modelsim_ase/bin/vsim line 204

*) vco="linux" ;;

With freetype2 2.5.0.1-1

The upgrade from freetype2 version 2.5.0.1-1 to 2.5.0.1-2 (October 2013[1]) causes the following error in Modelsim/Questa: