Quartus II Installation
Contents
[hide]Quartus II Programmer for Windows
- If you are planning to use Altera-supplied hardware (e.g. USB-Blaster) to upgrade the MCE firmware, you need to install "Quartus Programmer" on either a Windows or Linux PC.
- See the OS requirements here: http://www.altera.com/download/os-support/oss-index.html
Download Quartus here: https://www.altera.com/download/programming/quartus2/pq2-index.jsp
- Note that the installer needs direct access to Quartus website. In case you are behind a firewall, you may need to setup a proxy server.
- The installation is straight forward. After installation is complete, plug in the USB-Blaster and the driver is typically found under altera/10.0/quartus/driver.
Quartus II for Windows
- In a web browser, browse to ftp://ftp.altera.com/outgoing/release/
- Filenames to look for are of the form "91sp1_quartus_free.exe" if you don't have a license, or "91sp1_quartus_windows.exe" if you have a license.
- Double click on 'XX_quartus_windows.exe' and follow the extraction and installation instructions.
Quartus II for Linux
As usual, only RedHat and Seuse are officially supported and you are on your own if you install it on any other Linux distribution.
Troubleshooting Ubuntu Installation
Quartus 10.0 installed fine on Ubuntu and no tweaking was needed.
However, when installing Quartus 9.1 the installer couldn't find a few commands that typically exist on Fedora systems, notably arch and rpm. You can create a fake version of these and copy them under /usr/bin.
- Create a script called arch that contains:
uname -m
- Create a script called rpm that contains:
#!/bin/bash OUT=/home/mce/rpm_cmd.txt date >> $OUT echo $@ >> $OUT
Make sure the permissions are set to executable.
More tips here: http://fpga4u.epfl.ch/wiki/Install_Quartus_II#On_Linux
Launching Quartus
After installation is complete, add the Quartus path to $PATH (probably in .bashrc), e.g.:
PATH=$PATH:/opt/usr/local/lib/altera/10.0/quartus/bin export PATH
License Manager
If you have only installed Quartus Programmer or Quartus II web edition, the following section does NOT apply to you. However, if you have installed the "Quartus Subscription Edition", then continue reading.
You need to have a license file from Altera. The license file needs to be modified as follows. Change the top few lines from:
SERVER <hostname> 001e90151053 <port number> VENDOR alterad <path to daemon executable> VENDOR mgcld <path to daemon executable> USE_SERVER
to
SERVER mce-ubc-2 001e90151053 1700 DAEMON alterad /opt/altera91/quartus/linux64/alterad DAEMON mgcld /opt/altera91/modelsim_ase/linux/mgls/lib/mgcld USE_SERVER
Copy the license file in /opt/licenses/quartus_001e90151053.dat
The license manager can be invoked by:
sudo /opt/altera10.0sp1/quartus/linux/lmgrd -c /opt/licenses/quartus_001e90151053.dat
You can add this line (without the sudo) into /etc/rc.local to get it to start whenever the computer boots.
When this works, it should spit out messages like this:
8:38:25 (lmgrd) Started alterad (internet tcp_port 52255 pid 28888) 8:38:25 (lmgrd) Started mgcld (internet tcp_port 54712 pid 28889) 8:38:25 (alterad) FLEXlm version 9.50 8:38:25 (alterad) lmgrd version 11.4, alterad version 9.5 8:38:25 (mgcld) FLEXnet Licensing version v10.8.5.0 build 31891 i86_r6 8:38:25 (mgcld) lmgrd version 11.4, mgcld version 10.8 8:38:25 (mgcld) Server started on mce-ubc-2 for: alteramtivsim 8:38:25 (mgcld) 8:38:25 (mgcld) Licenses are case sensitive for mgcld 8:38:25 (mgcld) 8:38:25 (mgcld) EXTERNAL FILTERS are OFF 8:38:25 (lmgrd) mgcld using TCP-port 54712 8:38:25 (alterad) Server started on mce-ubc-2 for: maxplus2 8:38:25 (alterad) quartus 6AF7_0012 6AF7_0014 8:38:25 (alterad) 6AF7_0055 6AF7_00A7 6AF7_00A8 8:38:25 (alterad) 6AF7_00A4 6AF7_0034 6AF7_00AC 8:38:25 (alterad) 6AF7_00AD 6AF7_00BE 6AF7_00BF 8:38:25 (alterad) 6AF7_00C2 maxplus2verilog maxplus2vhdl 8:38:25 (alterad) altera_mainwin_lnx altera_mainwin 6AF8_00A2 8:38:25 (alterad) 6AF7_00A2