0% found this document useful (0 votes)
41 views

Quartus Install 4

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
41 views

Quartus Install 4

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 94

Quartus® II Installation &

Licensing for Windows and


Linux Workstations
Version 9.0
Quartus II®

Installation & Licensing for


Windows and Linux Workstations

Version 9.0

Altera Corporation
101 Innovation Drive
San Jose, CA 95134
(408) 544-7000
www.altera.com
Quartus II Installation & Licensing for Windows and Linux Workstations
Version 9.0 MNL-01044-1.0

Altera, the Altera logo, MAX, MAX+PLUS, MAX+PLUS II, MegaCore, NativeLink, Quartus, Quartus II, the
Quartus II logo, and Stratix are registered trademarks of Altera Corporation in the United States and other
countries. ByteBlaster, ByteBlasterMV, Cyclone, LogicLock, and MasterBlaster are trademarks and/or service
marks of Altera Corporation in the United States and other countries. Product design elements and mnemonics
used by Altera Corporation are protected by copyright and/or trademark laws. Altera Corporation
acknowledges the trademarks and/or service marks of other organizations for their respective products or
services mentioned in this document, specifically: Mentor Graphics and ModelSim are registered trademarks
of Mentor Graphics Corporation.

Altera reserves the right to make changes, without notice, in the devices or the device specifications identified
in this document. Altera advises its customers to obtain the latest version of device specifications to verify,
before placing orders, that the information being relied upon by the customer is current. Altera warrants
performance of its semiconductor products to current specifications in accordance with Altera’s standard
warranty. Testing and other quality control techniques are used to the extent Altera deems such testing
necessary to support this warranty. Unless mandated by government requirements, specific testing of all
parameters of each device is not necessarily performed. In the absence of written agreement to the contrary,
Altera assumes no liability for Altera applications assistance, customer’s product design, or infringement of
patents or copyrights of third parties by or arising from use of semiconductor devices described herein. Nor
does Altera warrant or represent any patent right, copyright, or other intellectual property right of Altera
covering or relating to any combination, machine, or process in which such semiconductor devices might be or
are used.

Altera products are not authorized for use as critical components in life support devices or systems without the
express written approval of the president of Altera Corporation. As used herein:
1. Life support devices or systems are devices or systems that (a) are intended for surgical implant into the body
or (b) support or sustain life, and whose failure to perform, when properly used in accordance with instructions
for use provided in the labeling, can be reasonably expected to result in a significant injury to the user.

2. A critical component is any component of a life support device or system whose failure to perform can be
reasonably expected to cause the failure of the life support device or system, or to affect its safety or
effectiveness.

Altera products are protected under numerous U.S. and foreign patents and pending
applications, maskwork rights, and copyrights.

Copyright © 2009 Altera Corporation. All rights reserved.


Contents
Preface .............................................................................................................................................vi
Documentation Conventions ......................................................................................................vii

Chapter 1: Installing the Quartus II Software ............................................................................ 1


Introduction....................................................................................................................... 2
Quartus II Software System Requirements................................................................... 4
Windows Requirements .................................................................................... 4
Linux Requirements .......................................................................................... 5
References ........................................................................................................... 6
Uninstalling Previously Installed Versions of Altera Software ................................. 7
Uninstalling Previously Installed Versions of Altera Software
in Windows ......................................................................................................... 7
Uninstalling Previously Installed Versions of Altera Software
for Linux Workstations...................................................................................... 8
Modifying Versions of Altera Software for Windows .................................. 9
Altera.com Download Center....................................................................................... 10
Altera Installer.................................................................................................. 10
All-In-One Software Download..................................................................... 11
Individual Software Downloads.................................................................... 11
Quartus II Software ........................................................................... 12
Nios II Embedded Design Suite ...................................................... 12
ModelSim-Altera Software............................................................... 13
Altera Install Script for Linux Installation.................................................... 13
Installing Downloaded Altera Software ..................................................................... 13
Installation Prerequisites................................................................................. 13
Installation Instructions .................................................................................. 15
Altera Installer Software Installation.............................................. 15
Altera Installer Multiple System Software Installation................ 16
All-In-One Download and Individual Software Downloads
Software Installation .................................................................. 17
Install Script for Linux Installation ................................................. 17
Altera Complete Design Suite ...................................................................................... 18
The Altera Complete Design Suite for Windows.......................... 18
The Altera Complete Design Suite for Linux ................................ 20
Installing Software from the Altera Complete Design Suite DVD-ROM for
Windows................................................................................................................... 21
Installing the Altera Complete Design Suite on Linux ............................................. 24
Installing the TCP/IP Protocol ..................................................................................... 25
Setting up the Quartus II Software with a JTAG Server on a Network Drive....... 26
Using the 64-bit Version of the Quartus II Software on Linux................................. 26

Chapter 2: Licensing the Quartus II Software .......................................................................... 28


Introduction..................................................................................................................... 29
Obtaining a License File ................................................................................................ 30
Obtaining a License File for Windows.......................................................... 32
Obtaining a License File for Linux ................................................................ 35

ALTERA CORPORATION INSTALLATION & LICENSING WINDOWS AND LINUX ■ III


TABLE OF CONTENTS

Modifying the License File ............................................................................................ 37


Upgrading or Setting Up a License Manager Server................................................. 39
Upgrading the FLEXlm License Server Software........................................ 40
Rereading an Existing License File ................................................................ 42
Configuring a New License Server................................................................ 43
Starting and Stopping the License Server..................................................... 44
Starting the License Server Automatically at Startup................................. 45
Installing the FLEXlm License Manager Server Software on Another
License Server............................................................................................ 45
Installing a Sentinel Software Guard ........................................................................... 46
Installing the Sentinel Driver.......................................................................... 47
Setting Up USB Software Guard Support for Remote Desktop ................ 48
Configuring Linux Workstations.................................................................................. 49
Verifying Required Libraries............................................................ 49
Verifying Kernel Configuration ....................................................... 49
Configuring Linux User Environment ........................................................................ 50
Starting the Quartus II Software................................................................................... 51
Starting the Quartus II Software in Windows ............................... 51
Starting the Quartus II Software in Linux...................................... 52
Specifying the License File ............................................................................................ 53
Specifying the License File within the Quartus II Software....................... 53
Specifying the License File with the Windows System Control Panel ..... 58
Specifying the License File in the .cshrc File in Linux ................................ 59
Specifying a Web Browser............................................................................... 60
Registering for an Altera.com Account ....................................................................... 61
Licensing Related Software ........................................................................................... 62
MegaCore IP Library ....................................................................................... 62
Nios II Embedded Design Suite ..................................................................... 62
ModelSim-Altera .............................................................................................. 63

Chapter 3: More Configuration Information for Linux Workstations .................................. 65


Introduction..................................................................................................................... 66
Setting Environment Variables ..................................................................................... 66
Quartus II General Environment Variables .................................................. 66
QUARTUS_ROOTDIR ......................................................................... 66
MWFONT_CACHE_DIR ....................................................................... 67
QUARTUS_MWWM ................................................................................ 67
QUARTUS_64BIT .............................................................................. 67
QUARTUS_LIBRARY_PATHS ........................................................... 67
Quartus II NativeLink Environment Variables............................................ 67
QUARTUS_INIT_PATH .................................................................... 67
QUARTUS_INIT_LIBPATH ............................................................. 68
Configuring a Printer with MainWin .......................................................................... 68
Other Workstation Configuration Information.......................................................... 69

IV ■ INSTALLATION & LICENSING FOR WINDOWS AND LINUX ALTERA CORPORATION


TABLE OF CONTENTS

Chapter 4: Documentation and Technical Support ................................................................. 71


Starting the Quartus II Interactive Tutorial ................................................................ 72
Using Quartus II Help ................................................................................................... 72
Contacting Altera ........................................................................................................... 73
Product Information ........................................................................................ 74

Appendix A: Quartus II Software File Organization .............................................................. 75


Quartus II Software and Related Software File Organization ................................. 76
Windows File Organization............................................................................ 76
Linux Workstation File Organization............................................................ 77

Appendix B: Mounting and Unmounting DVD-ROMs ......................................................... 79


Introduction..................................................................................................................... 80
Mounting and Unmounting DVD-ROMs................................................................... 80

ALTERA CORPORATION INSTALLATION & LICENSING FOR WINDOWS AND LINUX ■ V


Preface
The Quartus® II Installation & Licensing for Windows and Linux Workstations
manual provides comprehensive information for installing and licensing the
Quartus II software and related software, and includes information about
other related documentation and technical support.

Additionally, this manual includes Linux workstation configuration


information that allows you to properly configure a Linux workstation for
use with the Quartus II software.

ALTERA CORPORATION INSTALLATION & LICENSING FOR WINDOWS AND LINUX ■ VI


Documentation Conventions
The Quartus II Installation & Licensing for Windows and Linux Workstations
manual uses the following conventions to make it easy for you to find and
interpret information.

Typographic Conventions
Quartus II software documentation uses the typographic conventions
shown in the following table:

Visual Cue Meaning

Bold Initial Command names; dialog box, page, and tab titles; and button names
Capitals are shown in bold with initial capital letters. For example: Find Next
command, Save As dialog box, and Start button.
bold Directory, project, disk drive, file, software utility, and software
executable names; software utility names; and options in dialog
boxes are shown in bold. For example: quartus directory, d: drive,
and license.dat file.
Initial Capitals Keyboard keys, user-editable application window fields, windows,
views, and menu names are shown with initial capital letters. For
example: Delete key and the Options menu.
“Subheading Subheadings within a manual section are enclosed in quotation
Title” marks. In manuals, titles of Help topics are also shown in quotation
marks. For example: For more information, see “Exporting and
Importing Version-Compatible Database Files” in Quartus II Help.
Italic Initial Help categories, manual titles, section titles in manuals, and
Capitals application note and brief names are shown in italics with initial
capital letters. For example: Introduction to the Quartus II Software
manual.
italics Variables are enclosed in angle brackets (< >) and shown in italics.
For example: <file name> and <DVD-ROM drive>.
Courier font Anything that must be typed exactly as it appears is shown in
Courier. For example: \quartus\bin\lmutil lmhostid.
r Enter or return key.
■ Bullets are used in a list of items when the sequence of the items is
not important.
v The checkmark indicates a procedure that is one step only.

ALTERA CORPORATION INSTALLATION & LICENSING FOR WINDOWS AND LINUX ■ VII
DOCUMENTATION CONVENTIONS

Visual Cue Meaning

! The hand points to information that requires special attention.

f The feet show you where to go for more information on a particular


topic.
The exclamation mark points to information or action that you take
w that can cause harm to your computer or cause you to lose data.

Terminology
The following table shows terminology that is used throughout this manual:

Term Meaning

click Indicates a quick press and release of the left mouse button. It
also indicates that you need to use a mouse or key combination
to start an action.
double-click Indicates two clicks in rapid succession.
select Indicates that you must highlight text and/or objects or an
option in a dialog box with a key combination or the mouse. A
selection does not start an action. For example: Select Chain
Description File, and then click OK.
point Indicates that you must position the mouse pointer, without
clicking, at an appropriate location on the screen, such as a
menu or submenu. For example: On the Help menu, point to
Altera on the Web, and then click Quartus II Service
Request.
turn on/turn off Indicates that you must click a check box to turn a function on
or off.

VIII ■ INSTALLATION & LICENSING FOR WINDOWS AND LINUX ALTERA CORPORATION
Chapter
One
Installing the
Quartus II Software

What’s in Chapter 1:
Introduction 2
Quartus II Software System Requirements 4
Uninstalling Previously Installed Versions of
Altera Software 7
Altera.com Download Center 10
Installing Downloaded Altera Software 13
Altera Complete Design Suite 18
Installing Software from the Altera Complete
Design Suite DVD-ROM for Windows 21
Installing the Altera Complete Design Suite
on Linux 24
Installing the TCP/IP Protocol 25
Setting up the Quartus II Software with a
JTAG Server on a Network Drive 26
Using the 64-bit Version of the Quartus II
Software on Linux 26
CHAPTER 1: INSTALLING THE QUARTUS II SOFTWARE
INTRODUCTION

Introduction
This chapter describes the requirements and procedures for installing the
Quartus II software and related software, which is available from the
Download Center of the Altera website, and the Altera Complete Design
Suite for Windows and the Altera Complete Design Suite for Linux, which
are both available by request on DVD-ROM.

You can download the following software from the Download Center of the
Altera website:

■ Individual Software Downloads—Allows you to individually


download and install the following software:

Windows:

– Quartus II Subscription Edition Software v9.0 (includes IP


Library) for Windows XP and Windows Vista (32-bit and 64-bit)
– Quartus II Web Edition Software v9.0 (includes IP Library) for
Windows XP and Windows Vista (32-bit and 64-bit)
– ModelSim-Altera Edition Software v6.4a for Quartus II Software
v9.0 for Windows XP and Windows Vista (32-bit)
– ModelSim-Altera Starter Edition Software v6.4a for Quartus II
Software v9.0 for Windows XP and Windows Vista (32-bit)
– Nios® II Embedded Design Suite for Windows XP and Windows
Vista (32-bit)

Linux:

– Quartus II Subscription Edition Software v9.0 for Linux


Workstations (includes IP Library)
– ModelSim-Altera Edition Software v6.4a for Quartus II Software
v9.0 for Linux Workstations
– ModelSim-Altera Starter Edition Software v6.4a for Quartus II
Software v9.0 for Linux Workstations
– Nios II Embedded Design Suite for Linux Workstations

■ Altera Installer—an on-demand download manager that downloads


and installs the software that you specify, including any of the
following software:

2 ■ INSTALLATION & LICENSING FOR WINDOWS AND LINUX ALTERA CORPORATION


CHAPTER 1: INSTALLING THE QUARTUS II SOFTWARE
INTRODUCTION

Windows:

– Quartus II Subscription Edition Software v9.0 (includes IP


Library) for Windows XP and Windows Vista (32-bit and 64-bit)
– ModelSim-Altera Starter Edition Software v6.4a for Quartus II
Software v9.0 for Windows XP and Windows Vista (32-bit)
– Nios® II Embedded Design Suite for Windows XP and Windows
Vista (32-bit)

Linux:

– Quartus II Subscription Edition Software v9.0 for Linux


Workstations (includes IP Library)
– ModelSim-Altera Starter Edition Software v6.4a for Quartus II
Software v9.0 for Linux Workstations
– Nios II Embedded Design Suite for Linux Workstations

■ All-In-One Software Download—a single large-file download


manager that includes all of the following software:

– Quartus II Subscription Edition Software v9.0 (includes IP


Library) for Windows XP and Windows Vista (32-bit and 64-bit)
– ModelSim-Altera Starter Edition Software v6.4a for Quartus II
v9.0 for Windows XP and Windows Vista (32-bit)
– Nios® II Embedded Design Suite for Windows XP and Windows
Vista (32-bit).

■ Altera Install Script for Linux Installation—a single installation script


that installs any of the following software:

– Quartus II Subscription Edition Software v9.0 for Linux


Workstations (includes IP Library)
– ModelSim-Altera Starter Edition Software v6.4a for Quartus II
Software v9.0 for Linux Workstations
– Nios II Embedded Design Suite for Linux Workstations

The Altera Complete Design Suite for Windows Version 9.0 DVD-ROM
includes all of the Windows-compatible software listed under Individual
Software Downloads for Windows.

The Altera Complete Design Suite for Linux version 9.0 DVD-ROM includes
all of the software listed under Individual Software Downloads for Linux.

ALTERA CORPORATION INSTALLATION & LICENSING FOR WINDOWS AND LINUX ■ 3


CHAPTER 1: INSTALLING THE QUARTUS II SOFTWARE
QUARTUS II SOFTWARE SYSTEM REQUIREMENTS

Quartus II Software System


Requirements
Your system must meet the minimum requirements described in this
section.

Windows Requirements
Hardware

■ Intel Pentium III PC running at 866 MHz or faster with 256 MB system
memory.
■ Adequate disk space as described in the readme.txt file, which is
located in the top-level directory of the Altera Complete Design Suite
DVD-ROM. After installation, the readme.txt file is available from the
Quartus II Help menu and in the Quartus II system directory.
■ Microsoft Windows XP, Windows XP Professional x64 Edition, or
Windows Vista (32-bit and 64-bit), must be installed.
– PCs running Windows XP are capable of running the 32-bit
version of the Quartus II software with access to virtual memory
of up to 2 GB.
– PCs running Windows XP Professional x64 Edition or Windows
Vista are capable of running the 32-bit version of the Quartus II
software with access to virtual memory of up to 4 GB and the
64-bit version of the Quartus II software with access to virtual
memory of more than 4 GB.
■ Microsoft Windows–compatible SVGA monitor.
■ DVD-ROM drive (DVD-ROM installation only).

Cables and Ports

■ Parallel port for connecting a ByteBlaster™ II or ByteBlasterMV™


parallel port download cable or Parallel Port Software Guard
(Windows XP only).

! Using a ByteBlaster cable with Windows Vista 32-bit

If you want to use a ByteBlaster cable on a system running Windows Vista 32-bit,
you must first manually install the ByteBlaster cable driver.

4 ■ INSTALLATION & LICENSING FOR WINDOWS AND LINUX ALTERA CORPORATION


CHAPTER 1: INSTALLING THE QUARTUS II SOFTWARE
QUARTUS II SOFTWARE SYSTEM REQUIREMENTS

■ Serial port for connecting a MasterBlaster™ communications cable.


■ USB port for connecting a USB-Blaster™ download cable, a
MasterBlaster communications cable, the Altera Programming Unit
(APU), or a USB Software Guard.
■ 10/100 Mb Ethernet connection for connecting a EthernetBlaster
download cable.

Software

■ A web browser with an Internet connection is required for using


Quartus II software Internet resources. If you are using the Firefox
browser, version 2.0 or later is required; if you are using the Microsoft
Internet Explorer browser, version 5.0 or later is required.
■ Flash Player 7.0 with Mozilla 1.2 or later, for use of the Quartus II
Interactive Tutorial.

Linux Requirements
Hardware

■ One of the following workstations:


– Intel Pentium III or compatible processor-based PC operating at
450 MHz or faster with 256 MB of system memory, running Red
Hat Enterprise Linux 4.0 or 5.0; CentOS-4 or CentOS-5; or SUSE
Linux Enterprise Server 9 (for 32-bit Linux workstations).

! Running the Quartus II Software on 32-bit Linux Workstations

32-bit Linux workstations are capable of running the 32-bit version of the Quartus II
software with access to virtual memory of up to 4 GB. If your Quartus II project
requires addressability of virtual memory greater than 4 GB, you must use the
64-bit version of the Quartus II software on a 64-bit Linux workstation.

– AMD64 processor, Intel EM64T processor, or compatible


processor-based PC with 1 GB memory, running Red Hat
Enterprise Linux 4.0 or 5.0; CentOS-4 and CentOS-5; or SUSE
Linux Enterprise Server 9 (for 64-bit Linux workstations).

■ Adequate disk space as described in the readme.txt file, which is


located in the top-level directory of the Altera Complete Design Suite
DVD-ROM. After installation, the readme.txt file is available from the
Quartus II Help menu and in the Quartus II system directory.
■ ISO 9660–compatible DVD-ROM drive (DVD-ROM installation only).

ALTERA CORPORATION INSTALLATION & LICENSING FOR WINDOWS AND LINUX ■ 5


CHAPTER 1: INSTALLING THE QUARTUS II SOFTWARE
QUARTUS II SOFTWARE SYSTEM REQUIREMENTS

■ Color monitor.

Cables and Ports

■ Parallel port for connecting a ByteBlasterMV parallel port download


cable.
■ Serial port for connecting a MasterBlaster communications cable.
■ USB port for connecting a USB-Blaster download cable.
■ 10/100 Mb Ethernet connection for connecting anEthernetBlaster
download cable.

Software

■ The kde or gnome window manager (must be the version that is


included with Red Hat Enterprise Linux 4.0 or 5.0 or SUSE Linux
Enterprise Server 9).
■ The native XServer software for Linux.
■ The Hummingbird Exceed XServer software is required if you want to
make the Quartus II software accessible by a Linux workstation over a
network.
■ A web browser with an Internet connection is required for using
Quartus II software Internet resources. If you are using the Firefox
browser, version 2.0 or later is required; if you are using the Microsoft
Internet Explorer browser, version 5.0 or later is required.
■ Flash Player 7.0 with Mozilla 1.2 or later, for use of the Quartus II
Interactive Tutorial.

References

f For Information About Refer To

Specific disk space and memory The readme.txt file, which is located in the
requirements top-level directory of the Altera Complete
Design Suite DVD-ROM. After installation,
the readme.txt file is available from the
Quartus II Help menu and in the Quartus II
system directory

Updated information about system Quartus II Installation & Licensing for


requirements and the most current Windows and Linux Workstations manual
version of this manual on the Altera website

6 ■ INSTALLATION & LICENSING FOR WINDOWS AND LINUX ALTERA CORPORATION


CHAPTER 1: INSTALLING THE QUARTUS II SOFTWARE
UNINSTALLING PREVIOUSLY INSTALLED VERSIONS OF ALTERA SOFTWARE

f For Information About Refer To

Latest information on new features, Quartus II Software Release Notes


EDA interface support, and known document on the Altera website
issues and workarounds for the
Quartus II software

Latest information about device Quartus II Device Support Release Notes


support for the Quartus II software document on the Altera website

Quartus II software features and how Introduction to Quartus II Software manual


they work with your design flow on the Altera website, and the Quartus II
Interactive Tutorial. After installation, the
Quartus II Interactive Tutorial is available
from the Quartus II Help menu and in the
Quartus II system directory

Altera programming hardware ByteBlaster II Download Cable User Guide,


ByteBlasterMV Download Cable User Guide,
EthernetBlaster Communications Cable
User Guide, MasterBlaster Serial/USB
Communications Cable User Guide, and
USB-Blaster Download Cable User Guide on
the Altera website

Uninstalling Previously Installed


Versions of Altera Software
You can uninstall a previous version of the Quartus II software before
installing the current version of the Quartus II software.

You can also modify the Quartus II software for Windows, or related
software, after installation.

Uninstalling Previously Installed


Versions of Altera Software in
Windows
To uninstall a previous version of the Quartus II software for Windows, or
related software, that was installed with the Altera Installer, follow these
steps:

ALTERA CORPORATION INSTALLATION & LICENSING FOR WINDOWS AND LINUX ■ 7


CHAPTER 1: INSTALLING THE QUARTUS II SOFTWARE
UNINSTALLING PREVIOUSLY INSTALLED VERSIONS OF ALTERA SOFTWARE

1. On the Windows Start menu, point to All Programs, point to Altera,


and then click Uninstall or Modify<software name> <version
number>. The Altera Installer opens.

2. Select Remove to remove all installed features.

To uninstall a previous version of the Quartus II software, or related


software, that was installed with the Altera Complete Design Suite for
Windows DVD-ROM:

v On the Windows Start menu, point to All Programs, point to Altera,


and then click Uninstall Altera Design Suite <version number
number>.

To uninstall a previous version of the Quartus II software for Windows, or


related software, that was installed using Individual Software Downloads,
the All-In-One Software Download, or the Altera Complete Design Suite for
Windows Version DVD-ROM, versions 6.1 or later:

1. On the Windows Start menu, point to All Programs, point to Altera,


point to <software name> <version number>, and then click <software
name> <version number> Uninstall, Repair or Modify. The Quartus II
Setup Maintenance program opens.

2. Select Remove to remove all installed features.

3. Click Next.

To uninstall a previous version of the Quartus II software for Windows, or


related software, versions 6.0 or earlier:

v On the Windows Start menu, point to All Programs, point to Altera,


and then click <software name> <version number> Uninstall, Repair
or Modify.

Uninstalling Previously Installed


Versions of Altera Software for Linux
Workstations
To uninstall a previous version of the Quartus II software for Linux, or
related software, delete the Quartus II system directory (default name is
quartus).

8 ■ INSTALLATION & LICENSING FOR WINDOWS AND LINUX ALTERA CORPORATION


CHAPTER 1: INSTALLING THE QUARTUS II SOFTWARE
UNINSTALLING PREVIOUSLY INSTALLED VERSIONS OF ALTERA SOFTWARE

Modifying Versions of Altera Software


for Windows
You can modify currently installed versions of the Quartus II software for
Windows, or related software, to add or remove software components such
as specific device family support, SOPC Builder support, third-party EDA
tool support, or tutorial files.

If you have installed software using the Altera Installer, follow these steps to
modify an installed version of the Quartus II software for Windows, or
related software, version 8.1 or later:

1. On the Windows Start menu, point to All Programs, point to Altera,


and then click Uninstall or Modify<software name> <version
number>. The Altera Installer opens.

2. Select Modify to select new program features to add, or to select


currently installed features to remove.

3. Click Next. You are then guided through the modification process.

If you have installed software using Individual Software Downloads, the


All-In-One Software Download, or the Altera Complete Design Suite for
Windows Version DVD-ROM, follow these steps to modify an installed
version of the Quartus II software for Windows, or related software, version
6.1 or later:

1. On the Windows Start menu, point to All Programs, point to Altera,


point to <software name> <version number>, and then click <software
name> <version number> Uninstall, Repair or Modify. The Quartus II
Setup Maintenance program opens.

2. Select Modify to select new program features to add, or to select


currently installed features to remove.

3. Click Next.

4. Select the features you want to install or deselect the features you want
to uninstall.

5. Click Next. You are then guided through the modification process.

ALTERA CORPORATION INSTALLATION & LICENSING FOR WINDOWS AND LINUX ■ 9


CHAPTER 1: INSTALLING THE QUARTUS II SOFTWARE
ALTERA.COM DOWNLOAD CENTER

Altera.com Download Center


You can download the following items from the Download Center of the
Altera website at www.altera.com/download:

■ The Quartus II software and related software listed in “Introduction”


on page 2
■ Altera Edition third-party software
■ License daemons
■ Intellectual property (IP) and tools
■ Altera University Program software
■ Altera Legacy Design software
■ Programming software
■ Altera board layout and test files

This section describes the installers and software available from the
Download Center.

Altera Installer
The Altera Installer is an integrated software installation solution that allows
you to download and install the Quartus II software, and related software,
on-demand with one custom download and installation program.

The Altera Installer uses a setup program, which allows you to select the
software you want to download and install, and then guides you through
the process. Both Windows and Linux operating systems support the Altera
Installer.

You can choose to download and install the following software:

■ Quartus II Subscription Edition Software (includes IP library)


■ Nios II Embedded Design Suite
■ ModelSim-Altera Starter Edition Software

You can customize the Quartus II software installation by specifying the


device family support you want to install.

Additionally, you can specify the directories where you want to install the
software and temporary installation files, and you can set up proxy server
options. If you want, you can choose to download the installation files first,

10 ■ INSTALLATION & LICENSING FOR WINDOWS AND LINUX ALTERA CORPORATION


CHAPTER 1: INSTALLING THE QUARTUS II SOFTWARE
ALTERA.COM DOWNLOAD CENTER

and then perform the installation later. You can also perform installations on
multiple systems using the same set of installation files, which reduces
overall download time.

After you finish customizing your software installation, you can review the
installation summary, which lists all of the options that you specified during
the setup process.

All-In-One Software Download


The All-In-One Software Download allows you to download and install the
following software in a single large file:

■ Quartus II Subscription Edition Software (includes IP library) for


Windows
■ Nios II Embedded Design Suite for Windows
■ ModelSim-Altera Starter Edition Software for Windows

Once you download the single file, you can use a setup program to select the
software and features that you want to install. The software and feature
options available with the All-In-One Download are described in the
following “Individual Software Downloads” section.

Individual Software Downloads


You can choose to download and install the following software individually
from the Download Center:

■ Quartus II Subscription Edition Software (includes IP Library)


■ Quartus II Web Edition Software (includes IP Library) for Windows
■ Nios II Embedded Design Suite
■ ModelSim-Altera Edition Software
■ ModelSim-Altera Starter Edition Software

Once you download the software, you can use a setup program to select the
software and features that you want to install. This section describes the
software and feature options available by individual download.

ALTERA CORPORATION INSTALLATION & LICENSING FOR WINDOWS AND LINUX ■ 11


CHAPTER 1: INSTALLING THE QUARTUS II SOFTWARE
ALTERA.COM DOWNLOAD CENTER

Quartus II Software
The Quartus II software for Windows uses a setup program that
automatically starts once you begin the installation process. The setup
program allows you to select the software components that you want to
install and automatically guides you through the installation process.

You can choose to perform a complete or custom installation. A complete


installation installs the Quartus II software with all program features and
default settings. A custom installation allows you to select specific program
features.

If you select a custom installation, you can choose to install any combination
of the following items:

■ Quartus II Software (includes SOPC Builder and IP Library)


■ Quartus II Software 64-bit support (Quartus II Subscription Edition
Software only)
■ Device support
■ Third-party EDA tool interfaces
■ Quartus II Interactive Tutorial files

You must select Quartus II software 64-bit components during installation


if you want to run the 64-bit version of the Quartus II software.

Nios II Embedded Design Suite


The Nios II Embedded Design Suite for Windows uses a setup program that
automatically starts once you start the installation process. The setup
program allows you to select the software components that you want to
install and automatically guides you through the installation process.

You can choose to perform a complete or custom installation. A complete


installation installs the Nios II Embedded Design Suite with all program
features and default settings. A custom installation allows you to select
specific program features.

If you select a custom installation, you can choose to install any combination
of the following items:

■ Nios II software development tools (includes SOPC Builder


components)
■ Verilog design examples
■ VHDL design examples

12 ■ INSTALLATION & LICENSING FOR WINDOWS AND LINUX ALTERA CORPORATION


CHAPTER 1: INSTALLING THE QUARTUS II SOFTWARE
INSTALLING DOWNLOADED ALTERA SOFTWARE

ModelSim-Altera Software
The ModelSim-Altera software for Windows uses a setup program that
automatically starts once you start the installation process. The setup
program automatically guides you through the installation process.

The ModelSim-Altera software is available for VHDL and Verilog HDL


simulation, but the software does not support mixed language simulation.

Altera Install Script for Linux


Installation
The Altera Install Script for Linux installation allows you to download and
install the following software using a single installation script:

■ Quartus II Software for Linux Workstations (includes device


information and IP Library)
■ ModelSim-Altera Starter Edition Software for Quartus II Software for
Linux Workstations
■ Nios II Embedded Design Suite for Linux Workstations

Installing Downloaded Altera


Software
This section describes installation prerequisites and instructions for
installing downloaded Altera software on a Windows PC or Linux
workstation.

Installation Prerequisites
You should be aware of the following information before you install the
Quartus II software and related software:

■ You must have system administration (Administrator) privileges


(Windows only).

ALTERA CORPORATION INSTALLATION & LICENSING FOR WINDOWS AND LINUX ■ 13


CHAPTER 1: INSTALLING THE QUARTUS II SOFTWARE
INSTALLING DOWNLOADED ALTERA SOFTWARE

■ You must have superuser or “root” privileges to mount and unmount


the DVD-ROM drive. If you are logged in on a console, you do not need
to have root privileges to mount a DVD-ROM (Linux DVD-ROM
installation only).

■ Commands that do not fit on a single line in this manual are indicated
by indentations of subsequent lines (Linux only).

■ You must have already downloaded Altera software to perform the


installation.

■ By default, the setup program installs Altera software in the <drive>:\


altera\<version number> system directory for Windows, and the /opt/
altera<version number> directory for Linux workstations, where
<version number> is the number of the Quartus II software version. For
example, the default directory for the Quartus II software for Windows
version 9.0 is <drive>:\altera\90.

The Windows setup program or Linux installation script creates the


installation directory, if it does not already exist. If you use a different
directory name, substitute the appropriate name for <Quartus II system
directory> in the installation steps.

■ Ensure there is at least 7.8 GB of free disk space to contain copies of the
uncompressed versions of the installation files. An additional 30MB of
disk space is required for temporary installation files. Free disk space
requirements for Individual Software Downloads are described on the
Download Center of the Altera website.

■ You can install multiple copies of the same version of Altera software
on the same PC. Subsequent installations of the software can have a
user-defined name. By default, the setup program uses the format
“Quartus II <version number> (Copy <number>)” for multiple copies
of the Quartus II software, where <number> is the number of Quartus II
software installations that are installed on the PC; for example, the
default name for a second copy of the Quartus II software version 9.0 is
Quartus II 9.0(Copy 2). When you install a Quartus II service pack on a
PC that has multiple copies of the same version of the Quartus II
software installed, you can choose the copy of the Quartus II software
that receives the service pack.

■ If you want to preserve project compilation databases from an earlier


version of the Quartus II software before installing a newer version,
Altera recommends that you open the design in the earlier version of
the software and export a version-compatible database for the design

14 ■ INSTALLATION & LICENSING FOR WINDOWS AND LINUX ALTERA CORPORATION


CHAPTER 1: INSTALLING THE QUARTUS II SOFTWARE
INSTALLING DOWNLOADED ALTERA SOFTWARE

by clicking Export Database on the Project menu. After you installed a


newer version of the Quartus II software, you can import the database
in by clicking Import Database on the Project menu. For more
information about importing and exporting version-compatible
databases, refer to the Managing Quartus II Projects chapter in volume 2
of the Quartus II Handbook. Version-compatible database files are
available in the Quartus II software version 4.1 and later.

■ To run the Quartus II software using a network (multiuser) license,


make sure that the license server uses version 8.0 or later of the FLEXlm
License Manager server software. By default, the Quartus II software
installs version 9.5 of the FLEXlm License Manager server software on
the user workstation. For more information, refer to “Upgrading or
Setting Up a License Manager Server” on page 39.

Installation Instructions
To install downloaded Quartus II software and related software on a
Windows PC or Linux workstation, follow the procedures in this section.

Altera Installer Software Installation


Follow these steps to run the Altera Installer:

1. Select the Altera Installer on the Download Center of the Altera


website.

2. Verify that you have sufficient free disk to contain copies of


uncompressed versions of the software files.

3. Select the Windows or Linux operating system. The File Download


dialog box opens.

4. Click Run. The Altera Installer guides you through the download and
installation process.

ALTERA CORPORATION INSTALLATION & LICENSING FOR WINDOWS AND LINUX ■ 15


CHAPTER 1: INSTALLING THE QUARTUS II SOFTWARE
INSTALLING DOWNLOADED ALTERA SOFTWARE

Altera Installer Multiple System Software


Installation
You can install Altera software on multiple systems using the same
installation files that you download once, which reduces overall download
and installation time. To use the same installation files for multiple system
installations, you must save the installation files to a location that is
accessible by each system on which you want to install Altera software.

Follow these steps to install Altera software using the Altera Installer on
multiple Windows systems or Linux workstations.

1. Perform the steps described in the “Altera Installer Software


Installation” procedure. Once you launch the Altera Installer, perform
the following steps:

a. On the Select Software page, select all the software you want to
install on any of the systems on which you want to install Altera
software. Once you have completed the download process, and
then proceed to run the Altera Installer to install software, the
Altera Installer does not re-establish a connection to the internet to
retrieve additional installation files.

For example, if you want to include the Quartus II software on all


system installations, but want to include the Nios II Embedded
Design Suite on a single system installation, you must turn on both
the Quartus II (Includes IP Library) and Nios II Embedded
Design Suite options on the Select Version page to ensure that
you download all necessary files.

b. On the Installation Directory page, in the Specify the directory


where you want to install the software box, specify a network
directory that is accessible by the systems on which you plan on
performing Altera software installations.

c. On the Installation Directory page, turn on Download only and


install later. If you turn on this option, the Altera Installer
downloads the installation files, but does not install the software.

or

On the Installation Directory page turn off Remove saved


installation files after installation completion. If you turn off this
option, the Altera Installer downloads the installation files, but
does not remove them after installation.

16 ■ INSTALLATION & LICENSING FOR WINDOWS AND LINUX ALTERA CORPORATION


CHAPTER 1: INSTALLING THE QUARTUS II SOFTWARE
INSTALLING DOWNLOADED ALTERA SOFTWARE

2. Launch the altera_installer.exe file from the <download_location>\


altera_<version _number>\installer directory from each system on
which you want to install Altera software.

All-In-One Download and Individual Software


Downloads Software Installation
Follow these steps to run the setup program on your Windows PC:

1. Download any software listed in “Introduction” on page 2 from the


Download Center of the Altera website.

2. Verify that you have sufficient free disk (as indicated for each software
on the Download Center) to contain copies of uncompressed versions
of the software files.

3. Double-click the Altera software installation application to launch the


setup program.

Install Script for Linux Installation


To install downloaded Quartus II software, and related software, on a Linux
workstation, follow these steps:

1. Download any software listed in “Introduction” on page 2 from the


Download Center of the Altera website.

2. Verify that you have sufficient free disk to contain copies of


uncompressed versions of the software files.

3. To extract the Quartus II software, type the following command at the


command prompt:

tar xvf 90_quartus_linux tar r

4. To run the installation script, type the following command at the


command prompt:

<Quartus II system directory>/linux/install r

You are guided through the installation procedure.

ALTERA CORPORATION INSTALLATION & LICENSING FOR WINDOWS AND LINUX ■ 17


CHAPTER 1: INSTALLING THE QUARTUS II SOFTWARE
ALTERA COMPLETE DESIGN SUITE

5. Repeat steps 1 through 4 for each downloaded software you want to


install.

Altera Complete Design Suite


The Altera Complete Design Suite for Windows and the Altera Complete
Design Suite for Linux, version 9.0, include an integrated software
installation solution that allows you to install the Quartus II software, and
related software, from one application or DVD-ROM, which is available by
request.

The Altera Complete Design Suite for Windows


The Altera Complete Design Suite for Windows uses a setup program that
automatically starts once you begin the installation process. The setup
program allows you to select the software you want to install and guides
you through the installation process.

You can perform a recommended or custom installation. A recommended


installation automatically installs the software that you specified in the
beginning of the setup program using all program features and default
settings. A custom installation allows you to customize options for each
software installation.

Choosing a custom installation also allows you to select either a complete or


custom installation for each software. Custom installation options for each
software are described in “Individual Software Downloads” on page 11.

! Accessing Educational and Reference Material

You can access educational and reference materials, such as software video demos
and reference designs from the Altera Complete Design Suite for Windows DVD-
ROM.

The installation flow for the Altera Complete Design Suite for Windows is
shown in Figure 1.

18 ■ INSTALLATION & LICENSING FOR WINDOWS AND LINUX ALTERA CORPORATION


CHAPTER 1: INSTALLING THE QUARTUS II SOFTWARE
ALTERA COMPLETE DESIGN SUITE

Figure 1. Altera Complete Design Suite for Windows Installation Flow

Welcome &
Software Selection

License Agreement

Customer Information

Select Destination Directory

Select Program Folder

Custom or
Custom Recommended
Recommended
Installation?

Enter the Quartus II Software Quartus II Software Installation


Copy Name for Multi-Instance

Set Up Quartus II Nios II Embedded Design


Software Installation Suite Installation
Software Installation
process automatically
ModelSim-Altera Installation runs from start to
finish in specified
Customize
Yes order.
Quartus II Software
Installation? TalkBack Setup

No
Installation Complete
Quartus II Software
Select Features
Installation Setup Summary

Quartus II Software Installation

Installation process
Nios II Embedded Design requires that you
Suite Installation select and confirm
features for each
software installation.
ModelSim-Altera Installation

TalkBack Setup

Installation Complete

ALTERA CORPORATION INSTALLATION & LICENSING FOR WINDOWS AND LINUX ■ 19


CHAPTER 1: INSTALLING THE QUARTUS II SOFTWARE
ALTERA COMPLETE DESIGN SUITE

The Altera Complete Design Suite for Linux


The Altera Complete Design Suite for Linux uses a text-based installation
script that allows you to select the software you want to install and
automatically guides you through the installation process.

You can perform a normal or custom installation. A normal installation


automatically installs all of the software included in the Altera Complete
Design Suite using default settings and all program features. A custom
installation allows you to select which software you want to install.

The Altera Complete Design Suite for Linux installation script flow is shown
in Figure 2.

Figure 2. Altera Complete Design Suite for Linux Installation Flow

Altera Complete Design Suite


Installation Script Begins

Normal
Normal or Custom Custom
Installation?

Normal Installation Custom Installation

Nios II Embedded
Design Suite for Linux
Installation process
requires that you
ModelSim-Altera answer yes or no
for each software
component during
the installation
Selected Component process.
Summary

No Proceed?

Yes

Disk Space Requirements Disk Space Requirements


Calculation Calculation

Altera Complete Design Suite Altera Complete Design Suite


Installation Installation

20 ■ INSTALLATION & LICENSING FOR WINDOWS AND LINUX ALTERA CORPORATION


CHAPTER 1: INSTALLING THE QUARTUS II SOFTWARE
INSTALLING SOFTWARE FROM THE ALTERA COMPLETE DESIGN SUITE DVD-ROM FOR WINDOWS

Installing Software from the Altera


Complete Design Suite DVD-ROM for
Windows
You should be aware of the preinstallation information described in
“Installation Prerequisites” on page 13 before you install the software on the
Altera Complete Design Suite for Windows version 9.0 DVD-ROM.

Follow these steps to run the setup program on your PC:

1. Insert the Altera Complete Design Suite for Windows version 9.0
DVD-ROM into your DVD-ROM drive. The Altera Complete Design
Suite v9.0 installation window appears automatically, offering several
options, as shown in Figure 3.

If the Altera Complete Design Suite for Windows version 9.0


DVD-ROM is in the drive, and the setup program is not already
running, start the setup program by performing the following steps:

a. On the Windows Start menu, click Run.

b. In the Run dialog box, type <DVD-ROM drive>:\install.

c. Click OK.

ALTERA CORPORATION INSTALLATION & LICENSING FOR WINDOWS AND LINUX ■ 21


CHAPTER 1: INSTALLING THE QUARTUS II SOFTWARE
INSTALLING SOFTWARE FROM THE ALTERA COMPLETE DESIGN SUITE DVD-ROM FOR WINDOWS

Figure 3. Altera Complete Design Suite Installation Window

2. Click Install subscription package to install the Quartus II


Subscription Edition software and related software, or click Install free
package to install the Quartus II Web Edition software and related
software. Installing the subscription package requires a paid
subscription license.

! Quartus II Web Edition Version 8.0 and earlier

The Quartus II Web Edition version 8.0 and earlier requires a free license.

You can click Help me choose to access the Help me choose page,
which compares the features of the Quartus II Subscription Edition
software with the Quartus II Web Edition software.

22 ■ INSTALLATION & LICENSING FOR WINDOWS AND LINUX ALTERA CORPORATION


CHAPTER 1: INSTALLING THE QUARTUS II SOFTWARE
INSTALLING SOFTWARE FROM THE ALTERA COMPLETE DESIGN SUITE DVD-ROM FOR WINDOWS

3. If you want to install the ModelSim-Altera Edition Software, click


Install next to ModelSim-Altera Edition. The setup program starts
automatically and guides you through the installation process.

4. If you want to install DSP Builder, click Install next to DSP Builder.
The setup program starts automatically and guides you through the
installation process.

5. If you want to install the Stand-Alone Programmer and the


Stand-Alone SignalTap® II Logic Analyzer, click Install next to
Quartus II software Stand-Alone Programmer. The setup program
starts automatically and guides you through the installation process.

6. If you intend to run the Quartus II software with a network (multiuser)


license, and not a node-locked (single-user) license, click Install next to
FLEXlm Server to install the FLEXlm License Manager server software
on the license server only. The setup program installs the FLEXlm
License Manager server software version 9.5 on the user workstation.

The Quartus II software supports network license servers on PCs


running Windows XP, Windows XP Professional x64 Edition or
Windows Vista (32-bit and 64-bit), and on PCs running Linux (Red Hat
Enterprise Linux 4.0 or 5.0 or SUSE Linux Enterprise Server 9). You do
not have to install the FLEXlm License Manager server software on
network client PCs or on PCs running the Quartus II software using a
node-locked (single-user) license. Refer to “Upgrading or Setting Up a
License Manager Server” on page 39 for more information about
setting up the license manager server.

7. You can view education and reference materials by clicking the View
button next to one of the following options under View educational
and reference materials in the Altera Complete Design Suite
Installation Window:

– Literature /install manuals— Accesses the Literature page, where


you can access Quartus II software and related software reference
literature located on the Altera Complete Design Suite for
Windows version 9.0 DVD-ROM.
– Quartus II and Nios II video demos (Internet access required) —
Accesses the Demonstration Center of the Altera website, where
you can access Quartus II software and Nios II Embedded
Processors demonstrations.
– Reference designs (Internet access required) — Accesses the
Reference Designs page of the Altera website.

ALTERA CORPORATION INSTALLATION & LICENSING FOR WINDOWS AND LINUX ■ 23


CHAPTER 1: INSTALLING THE QUARTUS II SOFTWARE
INSTALLING THE ALTERA COMPLETE DESIGN SUITE ON LINUX

8. Select the software that you want to install under Select the software
you want to install.

9. Select Recommended install or Custom install under Select install


type. If you click Custom install, you can specify which software
features you want to install. If you click Recommended install, all of
the software that you selected under Select the software you want to
install is automatically installed with default settings.

10. You can turn on the TalkBack feature by turning on Turn on the
Quartus II software TalkBack feature in the TalkBack Options dialog
box, which appears at the end of the Altera Complete Design Suite
installation process if the option is not already turned on. You can also
turn the TalkBack feature on or off, once you have installed the
Quartus II software, in the TalkBack Options dialog box, which is
available from the Internet Connectivity page in the Options dialog
box.

The TalkBack feature in the Quartus II software allows Altera to receive


limited compilation design information, but not design logic, which
helps Altera to understand how customers use the Quartus II software
and devices, so that Altera can focus on improving features most
important to users.

Installing the Altera Complete


Design Suite on Linux
You can install the Altera Complete Design Suite on Linux workstations
running Red Hat Enterprise Linux 4.0 or 5.0; CentOS-4 or CentOS-5; or SUSE
Linux Enterprise Server 9.

! Before You Install the Altera Complete Design Suite

You must have superuser or “root” privileges to mount and unmount the DVD-ROM
drive. If you are logged in on a console, you do not need to have root privileges to
mount a DVD-ROM.

The Altera Complete Design Suite installation script installs software from
the Altera Complete Design Suite for Linux Workstations version 9.0
DVD-ROM on Linux workstations.

24 ■ INSTALLATION & LICENSING FOR WINDOWS AND LINUX ALTERA CORPORATION


CHAPTER 1: INSTALLING THE QUARTUS II SOFTWARE
INSTALLING THE TCP/IP PROTOCOL

You should be aware of the preinstallation information described in


“Installing Downloaded Altera Software” on page 13 before you install the
Altera Complete Design Suite software.

To install the Altera Complete Design Suite on a Linux workstation using the
installation script, follow these steps:

1. Insert the Altera Complete Design Suite for Linux version 9.0
DVD-ROM into your DVD-ROM drive.

2. Mount the DVD-ROM into your DVD-ROM drive. For information


about mounting and unmounting DVD-ROMs on Linux workstations,
refer to “Mounting and Unmounting DVD-ROMs” on page 80 in
Appendix B.

3. To install the Altera Complete Design Suite, type the following


command at the command prompt:

/mnt/dvdrom/install r

You are guided through the installation procedure.

4. Unmount the DVD-ROM drive.

Installing the TCP/IP Protocol


If you do not already have the TCP/IP protocol installed on the PCs running
Windows in your network, you must add it to your networking
configuration.

f For Information About Refer To

Installing the TCP/IP protocol on PCs Windows XP, Windows XP Professional x64
running Windows XP, Windows XP Edition, or Windows Vista (32-bit and
Professional x64 Edition, or Windows 64-bit) documentation or to the Microsoft
Vista (32-bit and 64-bit) website at www.microsoft.com

ALTERA CORPORATION INSTALLATION & LICENSING FOR WINDOWS AND LINUX ■ 25


CHAPTER 1: INSTALLING THE QUARTUS II SOFTWARE
SETTING UP THE QUARTUS II SOFTWARE WITH A JTAG SERVER ON A NETWORK DRIVE

Setting up the Quartus II Software


with a JTAG Server on a Network
Drive
If you install the Quartus II software for Windows on a network drive and
have a JTAG server, you must set the Quartus II software to allow the JTAG
server to run JTAG services.

To set the Quartus II software to enable the JTAG server to run JTAG
services:

1. On Windows Start menu, click Run.

2. In the Run dialog box, type <drive>:\<Quartus II software system


directory path>\:jtagserver --install <username> <password>.
Where the <username> <password> are the username and password of
the JTAG server.

or

Install the Quartus II software on a local drive.

Using the 64-bit Version of the


Quartus II Software on Linux
If your project requires addressability of computer memory greater than
4 GB for command-line executables, such as quartus_map, quartus_fit,
quartus_sta, quartus_tan, and quartus_cdb, you can use a 64-bit version of
the Quartus II software for Linux workstations. Compiling designs with the
64-bit version of the Quartus II software requires more system memory. You
may notice an increase in compilation times if there is not sufficient physical
memory to accommodate the increased memory usage. You can mitigate
this effect by increasing the total physical memory on the system.

When you install the Quartus II software, the 64-bit version of the Quartus II
software is also installed automatically.

26 ■ INSTALLATION & LICENSING FOR WINDOWS AND LINUX ALTERA CORPORATION


CHAPTER 1: INSTALLING THE QUARTUS II SOFTWARE
USING THE 64-BIT VERSION OF THE QUARTUS II SOFTWARE ON LINUX

To turn on 64-bit processing in the Quartus II software, use one of the


following methods:

■ To turn on 64-bit processing with the QUARTUS_64BIT environment


variable, refer to “QUARTUS_64BIT” on page 67.

■ To turn on 64-bit processing for individual Quartus II command-line


executables with the --64bit option, refer to “Other Workstation
Configuration Information” on page 69.

ALTERA CORPORATION INSTALLATION & LICENSING FOR WINDOWS AND LINUX ■ 27


Chapter
Two
Licensing the
Quartus II Software

What’s in Chapter 2:
Introduction 29
Obtaining a License File 30
Modifying the License File 37
Upgrading or Setting Up a License Manager
Server 39
Installing a Sentinel Software Guard 46
Configuring Linux Workstations 49
Configuring Linux User Environment 50
Starting the Quartus II Software 51
Specifying the License File 53
Registering for an Altera.com Account 61
Licensing Related Software 62
CHAPTER 2: LICENSING THE QUARTUS II SOFTWARE
INTRODUCTION

Introduction
This section describes how to license the Quartus II software and related
software.

! Using Automatic Web License Retrieval on Windows

If you are using a node-locked (single-user) (FIXEDPC) license and are a new user, or
are upgrading to a new version of the Quartus II software for Windows, you can
perform an automatic web license retrieval at startup, which allows you to upgrade
your license file automatically. For more information on this option, go to “Starting
the Quartus II Software” on page 51.

To set up your license for the Quartus II software, you must follow these
steps, which are described in further detail in this chapter:

1. Obtain a license file. The Quartus II software requires a valid,


unexpired license.dat license file for each server that supports a
network (multiuser) license or for each node-locked (single-user)
license. This same license file also enables the additional Altera
synthesis and simulation tools included with Altera software
subscriptions, as well as the MAX+PLUS II software.

! Quartus II Web Edition Software Version 8.1 and later

The Quartus II Web Edition software for Windows versions 8.1 and later and the
ModelSim-Altera Starter Edition versions 6.4g and later do not require license files.
However, a NIC-based license file is required if you have additional purchased IP
cores.

! Using a Software Guard

You can use a software guard only if you are licensing a node-locked (single-user)
(FIXEDPC) version 7.2 or earlier of the Quartus II software for Windows.

2. Modify the license file.

3. If you are using a network license, set up and configure the FLEXlm
license manager server.

4. Configure each Linux workstation.

ALTERA CORPORATION INSTALLATION & LICENSING FOR WINDOWS AND LINUX ■ 29


CHAPTER 2: LICENSING THE QUARTUS II SOFTWARE
OBTAINING A LICENSE FILE

5. Configure each Quartus II user’s environment on a Linux workstation.

6. Start the Quartus II software.

7. Specify the location of the license file.

8. Specify a web browser.

9. Register for an Altera.com account. (Optional)

Obtaining a License File


When you start the Quartus II software, if the software cannot detect a valid
license file, you are asked whether you want to run in evaluation mode for
30 days (Windows only), perform an automatic license retrieval from the
Altera website, or specify the correct location of a valid license file.

! Quartus II Web Edition Version 8.1 and later

The Quartus II Web Edition software for Windows versions 8.1 and later and the
ModelSim-Altera Starter Edition versions 6.4g and later do not require license files.
However, a NIC-based license file is required if you have additional purchased IP
cores.

You can also obtain a license file, license.dat, from the Licensing section of
the Altera website at www.altera.com/licensing if you have the following
information:

■ Your Altera ID, which is a six-digit number provided when you


purchase the Quartus II software. If you request the Altera Complete
Design Suite for Windows Version 9.0 DVD-ROM, or the Altera
Complete Design Suite for Linux Version 9.0 DVD-ROM, you can find
this number on the packing list that is shipped with the software. You
can also obtain your Altera ID from the mySupport website at
www.altera.com/mysupport.

■ Your Quartus II software serial number, which is a 15-character


alphanumeric number beginning with the letter A.Your Quartus II
software serial number is provided when you purchase the Quartus II
software.

30 ■ INSTALLATION & LICENSING FOR WINDOWS AND LINUX ALTERA CORPORATION


CHAPTER 2: LICENSING THE QUARTUS II SOFTWARE
OBTAINING A LICENSE FILE

! Licensing Your Copy of the Quartus II Software for the First Time

If you are using a node-locked (single-user) (FIXED PC) version of the Quartus II
software for Windows for the first time, you must use your Quartus II software serial
number to obtain a license file.

■ Your Network Interface Card (NIC) number, if you have a node-locked


(single-user) (FIXEDPC) or network (multiuser) (FLOATALL or
ADD-FLOATALL) license version of the Quartus II software.

Your NIC number is a 12-digit hexadecimal number identifying the


Windows workstation that serves Quartus II or MAX+PLUS II licenses.

v To find your Windows XP, Windows XP Professional x64 Edition,


or Windows Vista (32-bit and 64-bit) server NIC number by using
FLEXlm utilities, type the following command at a command
prompt:

<drive>:<Quartus II system directory>\bin\lmutil lmhostid r

! Saving Previous license.dat Files

Altera recommends that you save any previous license.dat file in a temporary
directory, in case you need to refer to it later.

■ Your license server host ID, if you have a network (multiuser)


(FLOATALL or ADD-FLOATALL) license version of the Quartus II
software.

Your server host ID is an 8- or 12-digit hexadecimal number. This


number identifies the Windows or Linux workstation that serves
Quartus II or MAX+PLUS II software licenses.

■ If you are licensing version 7.2 or earlier of the Quartus II software for
Windows, your software guard ID number, if you have a node-locked
(single-user) (FIXEDPC) version of the Quartus II software. Your
software guard ID is a number nine-character alphanumeric number
beginning with the letter T.

ALTERA CORPORATION INSTALLATION & LICENSING FOR WINDOWS AND LINUX ■ 31


CHAPTER 2: LICENSING THE QUARTUS II SOFTWARE
OBTAINING A LICENSE FILE

■ The license server host ID number for Linux network license servers. To
find your Linux network license server host ID number with FLEXlm
utilities, type the following command at a command prompt:

<Quartus II system directory>/linux/lmutil lmhostid r

f For Information About Refer To

Additional methods of finding your Altera website at www.altera.com


host ID number

! Saving Previous license.dat Files

Altera recommends that you save any previous license.dat file in a temporary
directory, in case you need to refer to it later.

Obtaining a License File for Windows


To obtain a license file, follow these steps:

1. Start the Quartus II software as described in the “Starting the Quartus II


Software” on page 51.

2. Select Perform automatic web license retrieval to request a valid


license file automatically from the Altera website.

or

To request a license file at a later time, go to the Licensing section of the


Altera website at www.altera.com/licensing.

3. If you are using a node-locked (single-user) (FIXEDPC) license and the


Quartus II software is able to retrieve a license file successfully from the
Altera website, you can skip the remaining steps of this procedure. If
you are using a network (multiuser) (FLOATALL or
ADD-FLOATALL) license, or if the Quartus II software is not able to
retrieve a license file, you are guided through the licensing procedure.

4. If you are using a node-locked (single-user) (FIXEDPC) license, type


your Quartus II software serial number, NIC number, or software
guard ID number into the Get Subscription Licenses box on the Get
My Altera License page of the Licensing section of the Altera website.

32 ■ INSTALLATION & LICENSING FOR WINDOWS AND LINUX ALTERA CORPORATION


CHAPTER 2: LICENSING THE QUARTUS II SOFTWARE
OBTAINING A LICENSE FILE

! Obtaining a Node-Locked (Single-User) (FIXED PC) License

If you are using a node-locked (single-user) (FIXED PC) version of the Quartus II
software for the first time, you must use your Quartus II software serial number to
obtain a license file.

Additionally, if you use the Quartus II software on more than one computer, you can
request one companion license for each FIXEDPC license. To request a companion
license, contact Altera Customer Service at www.altera.com/corporate/contact/
con-index.html.

You can use a software guard If you are licensing a node-locked (single-user)
(FIXEDPC) only version 7.2 or earlier of the Quartus II software.

or

If you are using a network (multiuser) (FLOATALL or ADD-


FLOATALL) license, type your NIC number or license server host ID.

5. Specify the requested information.

6. You will receive an e-mail from Altera with the license file text and an
attached license.dat file. Altera recommends using the attached license
file if you are using a node-locked (single-user) (FIXED PC) license. If
you are using a network (multiuser) (FLOATALL or ADD-
FLOATALL) license, you may either use the attached license file, or
copy the lines from the attached license file to an existing license file. If
you are using the license.dat file with both the Quartus II software and
the MAX+PLUS II software, Altera recommends that you save the
license.dat file in a top-level directory named <drive>:\flexlm.

f For Information About Refer To

Additional methods of finding your NIC Altera website at www.altera.com


number

Figure 1 on page 34 shows a sample single-server network license file for


a PC.

ALTERA CORPORATION INSTALLATION & LICENSING FOR WINDOWS AND LINUX ■ 33


CHAPTER 2: LICENSING THE QUARTUS II SOFTWARE
OBTAINING A LICENSE FILE

Figure 1. Sample Single-Server Network License File

Server Server Optional port Number of Authorization


name host ID number licenses code
name requested

SERVER alice 00c04f6bead6 1800


VENDOR alterad "<drive>:\altera\90\quartus\bin\alterad.exe"
USE_SERVER
FEATURE quartus alterad 2009.12 permanent 5 7A496D25A602 SIGN="1C66 DAC6 1DAB C886 \
727B 65DF FAC2 B479 3E3C 656D 3561 E5D0 BBA3 C45C 4DDC 0F2F 68F5 4DF1 6F63 \
7785 2F5D 1480 1B0A 70DE 2220 1952 DDCD 9F4D 6D61 A177"

Feature Daemon Release Expiration


name name date date

The FLEXlm licensing scheme allows you to set up three redundant license
servers to serve a network (multiuser) license. You can request a license file
for redundant servers from the Licensing section of the Altera website at
www.altera.com/licensing. Figure 2 shows a sample redundant server
license file.

Figure 2. Sample Redundant Server License File

Server Server ID Optional port Number of Authorization


name number number licenses code
requested

SERVER alice 00c04f6bead6 1800


SERVER king 00c4fbbd170 1800
SERVER queen 00c4fbbd320 1800
VENDOR alterad "<drive>:\altera\90\quartus\bin\alterad.exe"
USE_SERVER
FEATURE quartus alterad 2009.12 permanent 5 7A496D25A602 SIGN="1C66 DAC6 1DAB C886 \
727B 65DF FAC2 B479 3E3C 656D 3561 E5D0 BBA3 C45C 4DDC 0F2F 68F5 4DF1 6F63 \
7785 2F5D 1480 1B0A 70DE 2220 1952 DDCD 9F4D 6D61 A177"

Feature Daemon Release Expiration


name name date date

Figure 3 shows the Quartus II FEATURE line of a sample license file for a
node-locked (single-user) license that uses a software guard.

34 ■ INSTALLATION & LICENSING FOR WINDOWS AND LINUX ALTERA CORPORATION


CHAPTER 2: LICENSING THE QUARTUS II SOFTWARE
OBTAINING A LICENSE FILE

! If You have a Software Guard

You can use a software guard to license only version 7.2 or earlier of the Quartus II
software.

If you are using the Quartus II software with a node-locked (single-user)


license and a software guard, skip to “Installing a Sentinel Software Guard”
on page 46.

Figure 3. Sample Node-Locked (Single-User) License File

Feature Daemon Release Expiration Number of Authorization


name name date date licenses code
requested

FEATURE quartus alterad 2009.12 permanent uncounted 2BC9FE52E0F3 \


HOSTID=00c04f6bead6 SIGN="1C66 DAC6 1DAB C886 727B 65DF FAC2 B479 3E3C \ 656D
3561 E5D0 BBA3 C45C 4DDC 0F2F 68F5 4DF1 6F63 7785 2F5D 1480 1B0A 70DE \ 2220
1952 DDCD 9F4D 6D61 A177"

Obtaining a License File for Linux


To obtain a license file, follow these steps:

1. Start the Quartus II software as described in the “Starting the Quartus II


Software” on page 51.

2. Select Perform automatic web license retrieval to request a valid


license file automatically from the Altera website. You are guided
through the licensing procedure.

or

To request a license file at a later time, go to the Licensing section of the


Altera website at www.altera.com/licensing.

3. If you are using a network (multiuser) (FLOATALL or


ADD-FLOATALL) license, type your license server host ID.

4. Specify the requested information.

ALTERA CORPORATION INSTALLATION & LICENSING FOR WINDOWS AND LINUX ■ 35


CHAPTER 2: LICENSING THE QUARTUS II SOFTWARE
OBTAINING A LICENSE FILE

5. Specify the location of your license file. You will receive an e-mail from
Altera with a license.dat file attached, as well as the license file text.
You can either use the attached license file, or copy the lines from the
attached license file to an existing license file. When you receive the
license file text, save it in the /usr/local/flexlm/licenses directory. If you
are using your license.dat file with both the Quartus II software and the
MAX+PLUS II software, Altera recommends that you save it in a
top-level directory named flexlm.

Figure 4 shows a sample network license file for Linux workstations that
functions as a single license server.

Figure 4. Sample Network License File for a Single Workstation Server

Server Server Optional port Number of Authorization


name host ID number licenses code
number requested

SERVER alice 807f1034 1800


VENDOR alterad "/opt/altera90/linux/alterad"
USE_SERVER
FEATURE quartus alterad 2009.12 permanent 5 7A496D25A602 SIGN="1C66 DAC6 1DAB C886 \
727B 65DF FAC2 B479 3E3C 656D 3561 E5D0 BBA3 C45C 4DDC 0F2F 68F5 4DF1 6F63 \
7785 2F5D 1480 1B0A 70DE 2220 1952 DDCD 9F4D 6D61 A177"

Feature Daemon Release Expiration


name name date date

If you are using the Quartus II software with a node-locked (single-user)


license, skip to “Configuring Linux Workstations” on page 49.

The FLEXlm licensing scheme allows you to set up three redundant license
servers to serve a network (multiuser) license. You can request a license file
for redundant servers from the Licensing section of the Altera website at
www.altera.com/licensing. Figure 5 shows a sample redundant server
license file.

36 ■ INSTALLATION & LICENSING FOR WINDOWS AND LINUX ALTERA CORPORATION


CHAPTER 2: LICENSING THE QUARTUS II SOFTWARE
MODIFYING THE LICENSE FILE

Figure 5. Sample Redundant Server License File

Server Server Optional port Number of Authorization


name host ID number licenses code
number requested

SERVER alice 807f1043 1800


SERVER king 807f1042 1800
SERVER queen 807f1041 1800
VENDOR alterad "/opt/altera90/linux/alterad"
USE_SERVER

FEATURE quartus alterad 2009.12 permanent 5 7A496B23A403 SIGN="1C66 DAC6 1DAB C886 \
727B 65DF FAC2 B479 3E3C 656D 3561 E5D0 BBA3 C45C 4DDC 0F2F 68F5 4DF1 6F63 \
7785 2F5D 1480 1B0A 70DE 2220 1952 DDCD 9F4D 6D61 A177"

Feature Daemon Release Expiration


name name date date

Modifying the License File


If you have a network (multiuser) (FLOATALL or ADD-FLOATALL) on
Windows or Linux, or a node-locked (single-user) (FIXED PC) license on
Windows, the license.dat file must be modified before it can be used by the
license server. See AN 340: Altera Software Licensing, which is available from
the Literature section of the Altera website at www.altera.com/literature, for
a detailed description of the license file.
.

! Node-Locked (Single-User) License on Linux

If you have a node-locked (single-user) license on Linux, you can skip this section
and go to “Starting the Quartus II Software” on page 51.

The first few lines of the license file are shown in the following example
(your license file may not contain all the VENDOR entries, depending on
which software you have enabled):

SERVER <host name> <8- or 12-character host or NIC ID> <port number>
VENDOR alterad "<path to daemon executable>"
VENDOR mgcld "<path to daemon executable>"

ALTERA CORPORATION INSTALLATION & LICENSING FOR WINDOWS AND LINUX ■ 37


CHAPTER 2: LICENSING THE QUARTUS II SOFTWARE
MODIFYING THE LICENSE FILE

To modify the license file, follow these steps:

1. In the license.dat file, type the variables that are described in Table 1.
The host or NIC ID will already be entered in the license file.

2. Ensure the license file meets the following guidelines:

– The license file name must have a .dat extension. If your text editor
adds .txt or another extension to the file name, such as
license.dat.txt, you must rename the file to have only a .dat
extension.

– The license file must have a carriage return at the end of the last
FEATURE line.

– Any FEATURE line that wraps to a second or third line must


contain a backslash (\) at the end of the line to indicate that it
continues. Inside the double quotes of the VENDOR_STRING,
backslashes should not be used.

f For Information About Refer To

Modifying the license file for the AN 340: Altera Software Licensing on the
Quartus II and MAX+PLUS II software Altera website
and for other EDA tools

Table 1. Variables to Modify in the License File (license.dat) (Part 1 of 2)

Variable Name Description

<host name> The host name of the server; for example, my_server.
<port number> The port number for the license manager service on the server; for
(1) example, 1800. The port number is optional and should be different
from the port number for any other service on the machine.
alterad "<path Path to the Altera vendor Windows:
to daemon daemon executable \<Quartus II system directory>\bin\
executable>" alterad. alterad.exe
(2)(3) Linux:
/<Quartus II system directory>/linux/
alterad

38 ■ INSTALLATION & LICENSING FOR WINDOWS AND LINUX ALTERA CORPORATION


CHAPTER 2: LICENSING THE QUARTUS II SOFTWARE
UPGRADING OR SETTING UP A LICENSE MANAGER SERVER

Table 1. Variables to Modify in the License File (license.dat) (Part 2 of 2)

Variable Name Description

mgcld "<path to Path to the Mentor Windows:


daemon Graphics vendor \<ModelSim-Altera system directory>\
executable>" daemon executable win32aolem\mgcld.exe
(2)(3)(4) mgcld. Linux:
/<ModelSim-Altera system directory>/
linuxaloem/mgls/lib/mgcld
Notes:
(1) To prevent port number conflicts, you can specify a port number in the license file. If you do not
specify a port number, the FLEXlm License Manager automatically chooses a free port between
27000 and 27009.
(2) In some network environments, the license server does not have a software tool(s) installation
that provides the necessary vendor daemon (alterad or mgcld). In this case, copy the required
daemon from another machine that does have an installation of the software. Find the file in the
directory location specified. Save the file in a similarly named directory or any other location on
the license server. Specify the daemon location on the license server in the license file.
(3) If the path server has spaces in it, enclose the full path in quotation marks.
(4) If you are not using a license file for the ModelSim-Altera software, you may delete this line.

Upgrading or Setting Up a License


Manager Server
This section provides instructions for upgrading or setting up the FLEXlm
License Manager server software on a PC running Windows XP, Windows
XP Professional x64 Edition, or Windows Vista (32-bit and 64-bit) and
instructions for configuring network licensing for the Quartus II software on
Intel Pentium III or compatible processor-based Linux workstations running
Red Hat Enterprise Linux 4.0 or 5.0; CentOS-4 or CentOS-5; or SUSE Linux
Enterprise Server 9.

A system administrator should perform these steps to configure license


servers after the Quartus II software is installed.

ALTERA CORPORATION INSTALLATION & LICENSING FOR WINDOWS AND LINUX ■ 39


CHAPTER 2: LICENSING THE QUARTUS II SOFTWARE
UPGRADING OR SETTING UP A LICENSE MANAGER SERVER

Upgrading the FLEXlm License Server


Software
To support network licensing, the Quartus II software requires the FLEXlm
License Manager server software version 8.0 or later.

The Quartus II Setup program installs version 9.5 of the FLEXlm License
Manager server software on Windows 32-bit systems or version 11.1.1 on
Windows XP Professional x64 Edition and Windows Vista (64-bit) systems
on your user workstation, but you should also verify that the FLEXlm
License Manager server software version of the license server is 8.0 or later.

The installation script automatically installs version 9.5 of the FLEXlm


License Manager server software on Linux workstations, but you should
also verify that the FLEXlm License Manager server software version of the
license server is 8.0 or later.

Refer to “Installing Software from the Altera Complete Design Suite DVD-
ROM for Windows” on page 21 for more information on installing the
FLEXlm License Manager server software. If the FLEXlm License Manager
server software is version 8.0 or later, skip to “Rereading an Existing License
File” on page 42.

To determine which version of the FLEXlm License Manager server software


you are using:

v On the computer running the FLEXlm License Manager server


software, type the following commands at a command prompt

Windows:

<drive>:\<FLEXlm system directory path>\lmgrd -v r


<drive>:\<FLEXlm system directory path>\alterad -v r

Linux:

/<FLEXlm system directory path>/lmgrd -v r


/<FLEXlm system directory path>/alterad -v r

If the lmgrd or alterad daemons are not from the FLEXlm License Manager
server software version 8.0 or later, you must upgrade both daemons with
the versions provided in the installation of the Quartus II software.

40 ■ INSTALLATION & LICENSING FOR WINDOWS AND LINUX ALTERA CORPORATION


CHAPTER 2: LICENSING THE QUARTUS II SOFTWARE
UPGRADING OR SETTING UP A LICENSE MANAGER SERVER

To upgrade an older version of the FLEXlm License Manager server


software, follow these steps:

1. Make a backup copy your current lmgrd and alterad daemons.

2. Copy the new versions of the files to the computer running the license
server over your current daemons. You may have to shut down the
license server software to complete this step.

If you installed the FLEXlm License Manager server software using the
setup program on Windows or the installation script on Linux, the
current version of the lmgrd and alterad daemons are located in the
following directories:

Windows:

<drive>:\<Quartus II system directory>\bin\alterad


<drive>:\<Quartus II system directory>\bin\lmgrd

Linux:

/<Quartus II system directory>/linux/alterad


/<Quartus II system directory>/linux/lmgrd

3. Copy the FLEXlm software utility lmutil from the Quartus II system
directory to the license server computer.

4. Restart the FLEXlm license server by typing the following commands


at a command prompt:

Windows:

<drive>:\<FLEXlm system directory path>\lmutil -c lmdown


<license file path> r
<drive>:\<FLEXlm system directory path>\lmgrd -c <license file path>
[-l <optional log path>] r

Linux:

/<FLEXlm system directory path>/lmutil -c lmdown <license file


path> r
/<FLEXlm system directory path>/lmgrd -c <license file path>
[-l <optional log path>] r

ALTERA CORPORATION INSTALLATION & LICENSING FOR WINDOWS AND LINUX ■ 41


CHAPTER 2: LICENSING THE QUARTUS II SOFTWARE
UPGRADING OR SETTING UP A LICENSE MANAGER SERVER

Rereading an Existing License File


The Quartus II software uses the FLEXlm software to administer licensing
for single or multiple users in a network installation. If you have an existing
FLEXlm license server with an existing license file for the MAX+PLUS II
software or software from another vendor, and the FLEXlm license server is
version 8.0 or later, you can copy and paste the Altera FEATURE lines from
your Quartus II license.dat file into your existing license file. Paste the
Quartus II FEATURE line as shown in the sample license file in Figure 3 on
page 35 for Windows or Figure 4 on page 36 for Linux. Make sure you have
also modified the license file according to the guidelines in “Modifying the
License File” on page 37.

If you make changes to your license file, you must reread the license file or
restart the license server before you can run the Quartus II software for the
first time.

Refer to “Upgrading the FLEXlm License Server Software” on page 40 to


verify that you are using the latest supported version of the FLEXlm License
Manager server software, or if you need to upgrade an older version of the
FLEXlm License Manager server software.

! Configuring a New License Server

If you do not have an existing FLEXlm license server, and you need to configure a
new license server, skip to “Configuring a New License Server” on page 43.

To reread your license file on a license server:

v Type the following command at a command prompt:

Windows:

<drive>:\<Quartus II system directory>\bin\lmutil lmreread r

Linux:

/<Quartus II system directory>/linux/lmutil lmreread r

or

Restart the license server.

42 ■ INSTALLATION & LICENSING FOR WINDOWS AND LINUX ALTERA CORPORATION


CHAPTER 2: LICENSING THE QUARTUS II SOFTWARE
UPGRADING OR SETTING UP A LICENSE MANAGER SERVER

Configuring a New License Server


The Quartus II software uses the FLEXlm License Manager server software
to administer licensing for single or multiple users in a network installation.
If you do not have an existing FLEXlm license server, you must configure a
new license server before starting the Quartus II software for the first time.

! Before You Configure a New License Server

You should be aware of the following information before you configure a new
license server:

■ You must have system administration (Administrator) privileges on Windows.

■ If you have an existing FLEXlm license server, refer to “Rereading an Existing


License File” on page 42.

■ Make sure you obtained a valid license file according to the guidelines in
“Obtaining a License File” on page 30, and that you modified the license file
according to the guidelines in “Modifying the License File” on page 37.

■ These instructions assume that you installed the license.dat file in the
<drive>:\flexlm directory (Windows) or the /usr/local/flexlm/licenses
directory (Linux). If you installed the license file in a different directory,
substitute the appropriate path name for that directory.

To launch a new license server:

v Type the following command at a command prompt:

Windows:

<drive>:\<Quartus II system directory>\bin\lmgrd -c


<drive>:\flexlm\license.dat r

Linux:

/<Quartus II system directory>/linux/lmgrd -c


/usr/local/flexlm/licenses/license.dat r

To configure a new license server as a Windows service, follow these steps:

1. Type the following command at a command prompt:

lmtools r

ALTERA CORPORATION INSTALLATION & LICENSING FOR WINDOWS AND LINUX ■ 43


CHAPTER 2: LICENSING THE QUARTUS II SOFTWARE
UPGRADING OR SETTING UP A LICENSE MANAGER SERVER

2. In the LMTOOLS dialog box, click Configuration using Services.

3. Click the Config Services tab.

4. In the Service Name box, type Flexlm License Server

5. In the Path to the lmgrd.exe file box, type the location of your lmgrd
file, usually the <drive>:\<Quartus II system directory>\bin
directory.

6. In the Path to the license file box, type the location of your license.dat
file, usually the <drive>:\flexlm directory.

7. In the Path to the debug log file box, type the location of your debug
log file, usually the <drive>:\flexlm\debug.log directory.

8. Click Save Service.

Starting and Stopping the License


Server
When configuring the license server, you can start and stop the license
server with the LMTOOLS dialog box. Before you start or stop the license
server, you must configure a new license server as a Windows service. Refer
to “Configuring a New License Server” on page 43 for more information.

To start or stop the license server with the LMTOOLS dialog box, follow
these steps:

1. Type the following command at a command prompt:

<drive>:\<Quartus II system directory>\bin\lmtools r

2. In the LMTOOLS dialog box, click Configuration using Services.

3. Select the name of the license server, usually Flexlm License Server.

4. Click the Start/Stop/Reread tab.

5. To start the server, click Start Server.

or

44 ■ INSTALLATION & LICENSING FOR WINDOWS AND LINUX ALTERA CORPORATION


CHAPTER 2: LICENSING THE QUARTUS II SOFTWARE
UPGRADING OR SETTING UP A LICENSE MANAGER SERVER

To stop the server, click Stop Server.

Starting the License Server


Automatically at Startup
When configuring the license server, you can setup the license server to start
automatically at startup with the LMTOOLS dialog box. Before you setup
the license server to start automatically at startup, you must configure a new
license server as a Windows service. Refer to “Configuring a New License
Server” on page 43 for more information.

To start the license server automatically at startup with the LMTOOLS


dialog box, follow these steps:

1. Type the following command at a command prompt:

<drive>:\<Quartus II system directory>\bin\lmtools r

2. In the LMTOOLS dialog box, click Configuration using Services.

3. Select the name of the license server, usually Flexlm License Server.

4. Click the Config Services tab.

5. Turn on Use Services.

6. Turn on Start Server at Power Up.

Installing the FLEXlm License Manager


Server Software on Another License
Server
To install the FLEXlm License Manager server software on an additional
license server, follow these steps:

1. Create one of the following directories on the additional license server.

Windows: <drive>:\<Quartus II system directory>\

ALTERA CORPORATION INSTALLATION & LICENSING FOR WINDOWS AND LINUX ■ 45


CHAPTER 2: LICENSING THE QUARTUS II SOFTWARE
INSTALLING A SENTINEL SOFTWARE GUARD

Linux: /<Quartus II system directory>/linux

2. Copy the following files from the <drive>:\<Quartus II system


directory>\ or /<Quartus II system directory>/linux directory of your
original Quartus II software into the new <drive>:\<Quartus II system
directory>\ or /<Quartus II system directory>/linux directory:

– lmgrd
– lmutil
– alterad
– lmtools(Windows)

You can also install the FLEXlm License Manager server software on another
license server with the Install FLEXlm Server button in the setup program
on Windows. Refer to “Installing Software from the Altera Complete Design
Suite DVD-ROM for Windows” on page 21 for more information.

Installing a Sentinel Software Guard


If your Quartus II development system for Windows uses a node-locked
(single-user) (FIXED PC) license and includes a Sentinel software guard,
before you specify a license file, you must make sure the Sentinel driver and
software guard are installed.

! Before You Install the Sentinel Software Guard

You should be aware of the following information before you install a Sentinel
software guard:

■ You can use a software guard only to license the Quartus II software version
7.2 or earlier. If you are licensing version 8.0 or later, you must use a NIC ID.

■ If you have a network (multiuser) license, you can skip this section and go to
“Starting the Quartus II Software” on page 51.

■ You can use USB software guards only to license the Quartus II software
version 7.2. Parallel port software guards are no longer provided in Quartus II
software packages; however, they are still supported for backward
compatibility. Parallel port software guards are not supported on 64-bit
systems.

46 ■ INSTALLATION & LICENSING FOR WINDOWS AND LINUX ALTERA CORPORATION


CHAPTER 2: LICENSING THE QUARTUS II SOFTWARE
INSTALLING A SENTINEL SOFTWARE GUARD

Installing the Sentinel Driver


The Sentinel driver is required for all Quartus II software systems running
on Windows XP Professional x64 Edition or Windows Vista (32-bit and
64-bit) that use a USB software guard. The Sentinel driver is installed
automatically with the Quartus II software for Windows.

! Sentinel Driver Installation Requirement

Installing the Sentinel driver requires that you have system administration
(Administrator) privileges.

If necessary, you can install the Sentinel driver on Windows XP or Windows


Vista (32-bit) systems by following these steps:

1. On the Windows Start menu, click Run.

2. Type the following command in the Run dialog box:

<drive>:\<Quartus II system directory>\drivers\sentinel\


setup.exe /usb /q3 r

3. In the Sentinel Driver Setup Program window, on the Functions menu,


click Install Sentinel Driver.

4. In the Sentinel Install dialog box, click OK.

5. Restart your computer at the prompt.

If necessary, you can install the Sentinel driver on Windows XP


Professional x64 Edition or Windows Vista (64-bit) systems by following
these steps:

1. On the Windows Start menu, click Run.

2. Type the following command in the Run dialog box:

<drive>:\<Quartus II system directory>\drivers\sentinel\


win_xp64\sentinst71xp64.exe /S /v"/qn"r

ALTERA CORPORATION INSTALLATION & LICENSING FOR WINDOWS AND LINUX ■ 47


CHAPTER 2: LICENSING THE QUARTUS II SOFTWARE
INSTALLING A SENTINEL SOFTWARE GUARD

Setting Up USB Software Guard


Support for Remote Desktop
If you want to use a USB software guard with the 64-bit version of the
Quartus II software for Windows, and you want to run the Quartus II
software with Remote Desktop, you must set up the software guard with the
following procedure.

! Before You Install the USB Software Guard for Remote Desktop
Support

You should be aware of the following information before you install the USB
software guard:

■ You must have system administration (Administrator) privileges.

■ You must have the USB software guard installed on the client machine.

To set up USB software guard support, follow these steps:

1. If the 64-bit version of the Quartus II software is not already installed


on a local drive, copy the following executable to the local drive:

<drive>:\<Quartus II system directory>\drivers\sentinel\


win_xp64\sentprotserv64xp64.exe

2. On the Windows Start menu, click Run.

3. Type the following command in the Run dialog box:

<drive>:\<Quartus II system directory>\drivers\sentinel\


win_xp64\sentprotserv64xp64.exe -i

48 ■ INSTALLATION & LICENSING FOR WINDOWS AND LINUX ALTERA CORPORATION


CHAPTER 2: LICENSING THE QUARTUS II SOFTWARE
CONFIGURING LINUX WORKSTATIONS

Configuring Linux Workstations


For each Linux workstation that will run the Quartus II software, you must
verify the libraries and kernel configuration before starting the Quartus II
software for the first time.

! Before You Configure Each Linux Workstation

You must have superuser or “root” privileges to install runtime patches or modify
kernel configuration.

Verifying Required Libraries


To use the Visual MainWin software, which is required to run the Quartus II
software on Linux workstations, the Linux workstation requires the GNU
libc libraries (glibc). Table 2 lists the glibc versions required for each version
of Linux supported by the Quartus II software.

Table 2. Required glibc Version for Linux Workstations

Linux Version glibc Version

Red Hat Linux Enterprise 4.0 glibc 2.3.4-2


Red Hat Linux Enterprise 5.0 glibc 2.5
SUSE Linux Enterprise Server 9 glibc 2.3.3-98

The GNU libc libraries are available from the Red Hat Linux website at
www.redhat.com.

Verifying Kernel Configuration


You should perform the following steps to ensure that the system’s kernel
configuration meets the minimum system requirements to run the
Quartus II software:

1. Check the configuration parameters listed below to make sure that the
values listed in the limits.conf file, which is located in the /etc directory,
are greater than or equal to the recommended values listed in Table 3.

ALTERA CORPORATION INSTALLATION & LICENSING FOR WINDOWS AND LINUX ■ 49


CHAPTER 2: LICENSING THE QUARTUS II SOFTWARE
CONFIGURING LINUX USER ENVIRONMENT

2. If the parameters do not have the recommended values, change the


values to the recommended values by adding one or more of the
following lines to the limits.conf file:

Table 3. Configuration Parameters

Parameter Recommended Value

hard nofile 32768


soft nofile 32768

3. Type the following command at the command prompt:

echo 356 40000 32 32000 > /proc/sys/kernel/sem r

! Adding Kernel Configuration Command to Linux Workstation


Startup Scripts

The previous command takes effect immediately; however, Altera


recommends that your system administrator also add the commands to the
workstation’s startup scripts, because the command is reset whenever you
restart the workstation.

Configuring Linux User Environment


Ensure that you perform the following steps for each Quartus II software
user before starting the Quartus II software for the first time:

1. Update each user’s PATH environment variable in the .cshrc file, which
is located in the home directory, to include the bin directory in the
Quartus II system directory, which is usually the /opt/altera<version
number>/bin directory. To update the PATH environment variable, type
the following command at a command prompt:

setenv PATH ${PATH}:/<Quartus II system directory>/bin r

2. Save the changes to the .cshrc file, and then type the following
commands at a command prompt:

cd r

50 ■ INSTALLATION & LICENSING FOR WINDOWS AND LINUX ALTERA CORPORATION


CHAPTER 2: LICENSING THE QUARTUS II SOFTWARE
STARTING THE QUARTUS II SOFTWARE

source .cshrc r

Starting the Quartus II Software


You can start the Quartus II software after installation is complete. In order
to enable Quartus II features, however, you must specify the license file,
either within or outside the Quartus II software. For information about how
to specify your license file, refer to the next section, “Specifying the License
File.”

Starting the Quartus II Software in Windows


You can start either the 32-bit or 64-bit version of the Quartus II software for
Windows, if you have installed the Quartus II software 64-bit components
and if your system is capable of running the 64-bit version of the Quartus II
software. Refer to “Quartus II Software System Requirements” on page 4 for
system requirements. The 64-bit version of the Quartus II software is also
installed automatically during a recommended Quartus II software
installation.

To start the Quartus II software, follow these steps:

v On the Windows Start menu, point to All Programs, point to Altera,


point to Quartus II <Quartus II software version>, and then point to
Quartus II <Quartus II software version> (32-bit) or Quartus II
<Quartus II software version> (64-bit).

or

Open a new command prompt window and type the following


command:

<drive>:\<Quartus II system directory>\bin\quartus r


When you start the Quartus II software, if the software cannot detect a valid
license file, you will see a prompt with the following options:

■ Start the 30-day evaluation period with no license file (no device
programming file support)—This option allows you to continue to use
the Quartus II software for 30 days without programming file support.
After 30 days, you must have a valid license file in order to use the
software.

ALTERA CORPORATION INSTALLATION & LICENSING FOR WINDOWS AND LINUX ■ 51


CHAPTER 2: LICENSING THE QUARTUS II SOFTWARE
STARTING THE QUARTUS II SOFTWARE

■ Perform automatic web license retrieval—If you are using a node-


locked (single-user) (FIXEDPC) license, this option allows the
Quartus II software to automatically retrieve the license file from the
Altera website. If you are using a network (multiuser) (FLOATALL or
ADD-FLOATALL) license, or if the Quartus II software is not able to
retrieve a license file, you are guided through the licensing procedure.
See “Obtaining a License File” on page 30 for more information.

■ If you have a valid license file, specify the location of your license
file—This option displays the License Setup page of the Options
dialog box, which allows you to specify the location of your license file.
See the next section, “Specifying the License File,” for more
information.

! Quartus II Web Edition Version 8.1 and later

The Quartus II Web Edition software version 8.1 and later does not require a license.

Starting the Quartus II Software in Linux


After you have followed all the guidelines for configuring each workstation
and each user environment, you can start the Quartus II software by typing
the following command at a command prompt:

quartus r

! Avoid Starting the Quartus II Software from Platform-Specific


Directories

Make sure you do not start the quartus command in the /<Quartus II system
directory>/linux directory. If you start the Quartus II software in a
platform-specific directory, the software may not function correctly. For more
information, refer to “Configuring Linux User Environment” on page 50.

When you start the Quartus II software, if a valid license file cannot be
detected, the software prompts you to specify a valid license file.

If you want to enable the Internet connectivity features of the Quartus II


software, you should also follow the guidelines in “Specifying a Web
Browser” on page 60.

52 ■ INSTALLATION & LICENSING FOR WINDOWS AND LINUX ALTERA CORPORATION


CHAPTER 2: LICENSING THE QUARTUS II SOFTWARE
SPECIFYING THE LICENSE FILE

Specifying the License File


Once you have obtained a license file and set up a network license server,
you must specify the location of the license file for each user (client). You can
specify the license file with one of the following methods, which are
described in more detail in this section:

■ Specify the license file with the Quartus II software.

■ Specify the license file with the Windows XP, Windows XP Professional
x64 Edition, or Windows Vista (32-bit and 64-bit) System Control
Panel.

■ Specify the license file with the .cshrc file on client Linux workstations.

! Specifying the License File with the ModelSim-Altera Software and


MAX+PLUS II Software

If you are using the ModelSim-Altera simulation software, which is included with
Altera software subscriptions, and/or you are using the MAX+PLUS II software, you
must specify the license file with the System Control Panel on Windows or with the
.cshrc file on Linux.

ModelSim-Altera Starter Edition versions 6.4g and later do not require license files.

Specifying the License File within the


Quartus II Software
To specify the license file within the Quartus II software, follow these steps
on each workstation that will be running the Quartus II software:

! Specifying the License File from within the Quartus II Software

Specifying the license file from within the Quartus II software does not require
system administration (Administrator) privileges in Windows.

1. Start the Quartus II software, as described in “Starting the Quartus II


Software” on page 51.

ALTERA CORPORATION INSTALLATION & LICENSING FOR WINDOWS AND LINUX ■ 53


CHAPTER 2: LICENSING THE QUARTUS II SOFTWARE
SPECIFYING THE LICENSE FILE

! Starting the Quartus II Software for the First Time in Windows

When you start the Quartus II software in Windows, if the software cannot
detect a valid license file, you are asked whether you want to run in evaluation
mode for 30 days, request a valid license file automatically from the Altera
website, or specify the correct location of a valid license file.

2. Select Specify valid license file to specify the name of the license file.
The License Setup page (Figure 6 or Figure 7) of the Options dialog
box appears.

or

If you want do not want to specify the license file at this time, you can
return to the License Setup page at another time by clicking License
Setup on the Tools menu.

54 ■ INSTALLATION & LICENSING FOR WINDOWS AND LINUX ALTERA CORPORATION


CHAPTER 2: LICENSING THE QUARTUS II SOFTWARE
SPECIFYING THE LICENSE FILE

Figure 6. Windows License Setup Page of the Options Dialog Box

Current license Option to use LM_LICENSE_FILE variable License file location Web License Update button

Licensed AMPP/MegaCore functions Local system information Begin 30-day Grace Period button

ALTERA CORPORATION INSTALLATION & LICENSING FOR WINDOWS AND LINUX ■ 55


CHAPTER 2: LICENSING THE QUARTUS II SOFTWARE
SPECIFYING THE LICENSE FILE

Figure 7. Linux License Setup Page of the Options Dialog Box

Current license Option to use LM_LICENSE_FILE variable License file location Web License Update button

Licensed AMPP/MegaCore functions Local system information Begin 30-day Grace Period button

3. In the License file box, specify the full path name of the license.dat file,
or browse to locate the license.dat file. Altera recommends that you
store the license.dat file in a directory named c:\licenses:\flexlm
(Windows) or /usr/local/flexlm/licenses (Linux).

You can also specify the location of the license file by typing a name in
the format <port>@<host> instead of a license file path name, where
<host> is the name of is the machine running the license server and

56 ■ INSTALLATION & LICENSING FOR WINDOWS AND LINUX ALTERA CORPORATION


CHAPTER 2: LICENSING THE QUARTUS II SOFTWARE
SPECIFYING THE LICENSE FILE

<port> is the port listed in the license.dat file. See Figure 4 on page 36
for a sample network license file to determine your port and server
name, and refer to Table 1 on page 38 for more information about port
numbers. If there is no port listed in the license.dat file, you can simply
specify @<host>.

! Specifying Multiple License Files and/or Servers

If you have more than one license file or server, separate the port and host
specifications with colons (:), with no spaces between the names and
numbers. For example:

1800@king:/usr/local/lib/license.dat:270000@queen

If you want to use the current LM_LICENSE_FILE value specified in


the System Control Panel (Windows) or the .cshrc file (Linux), turn on
Use LM_LICENSE_FILE variable.

4. If you want the Quartus II software to check the Altera website for
license file updates, click Web License Update.

5. If you want the Quartus II software for Windows to automatically


check the Altera website for license file updates upon startup, turn on
Check the Altera web site for license updates at startup in the Internet
Connectivity page of the Options dialog box.

6. If you want to use the Quartus II software for Windows in the


“Subscription Expiration” grace period and did not already specify that
option at startup, click Begin 30-day Grace Period. The “Subscription
Expiration” grace period allows you to use the Quartus II software with
programming file support for 30 days. When the grace period expires,
you must obtain an updated license file at the Altera website to
continue using the Quartus II software with programming file support.

7. Click OK.

The Licensed AMPP/MegaCore functions list of the License Setup page


lists all of the features and products that are available for the license.

ALTERA CORPORATION INSTALLATION & LICENSING FOR WINDOWS AND LINUX ■ 57


CHAPTER 2: LICENSING THE QUARTUS II SOFTWARE
SPECIFYING THE LICENSE FILE

Specifying the License File with the


Windows System Control Panel
You can specify the location of your license file from outside the Quartus II
software by setting system variables in the Windows XP, Windows XP
Professional x64 Edition, or Windows Vista (32-bit and 64-bit) System
Control Panel.

! Specifying the License File in System Control Panel

Specifying the license file in the System Control Panel requires that you have
system administration (Administrator) privileges.

To specify the license file in the Windows XP, Windows XP Professional x64
Edition, or Windows Vista (32-bit and 64-bit) System Control Panel, follow
these steps:

1. On the Windows Start menu, click Control Panel.

2. Double-click the System icon in the Control Panel window.

3. In the System Properties dialog box, click the Advanced tab.

4. In the Advanced tab, click Environment Variables.

5. Under System Variables, click New. The New System Variable dialog
box appears.

6. In the Variable Name box, type LM_LICENSE_FILE.

7. In the Variable Value box, type either <drive>:\flexlm\


license.dat or a name of the format <port>@<host>, where <host> is
the name of the server and <port> is the port listed in the license.dat
file. Refer to Figure 1 on page 34 for a sample network license file to
help you determine your port and server name. Refer also to Table 1 on
page 38 for more information about port numbers. If there is no port
listed in the license.dat file, you can simply specify @<host>.

58 ■ INSTALLATION & LICENSING FOR WINDOWS AND LINUX ALTERA CORPORATION


CHAPTER 2: LICENSING THE QUARTUS II SOFTWARE
SPECIFYING THE LICENSE FILE

! Specifying Multiple License Files and/or Servers

If you have more than one license file or server, separate the port and host
specifications with semicolons (;), with no spaces between the names and
numbers.

8. Click OK.

If you want the Quartus II software to use the LM_LICENSE_FILE setting


from your System Control Panel rather than from another license file
setting, make sure the Use LM_LICENSE_FILE variable is turned on in the
License Setup page of the Options dialog box.

Specifying the License File in the


.cshrc File in Linux
To specify the license file in the .cshrc file on each client (user) workstation,
make sure that you update the LM_LICENSE_FILE variable that is specified
in the .cshrc file located in each user’s home directory. You must edit the
.cshrc file for each user, or provide clear instructions that describe which
lines the user needs to enter or edit:

v Make sure that each user has an LM_LICENSE_FILE variable that is


set to the full directory path name of the license file. To update this
variable, add the following line to the .cshrc file for each user:

setenv LM_LICENSE_FILE /usr/local/flexlm/licenses/


license.dat

! Using the setenv Environment Variable with Multiple


Applications

If more than one application uses this environment variable, separate the
different paths with a colon (:) with no spaces between the path names. For
example:

setenv LM_LICENSE_FILE /usr/local/flexlm licenses/license.dat:/


tmp/license.xyz

or

ALTERA CORPORATION INSTALLATION & LICENSING FOR WINDOWS AND LINUX ■ 59


CHAPTER 2: LICENSING THE QUARTUS II SOFTWARE
SPECIFYING THE LICENSE FILE

If you want to specify the name of the server on which the license file is
stored, add the following line to the .cshrc file for each user:

setenv LM_LICENSE_FILE <port>@<host>

Where <host> is the name of the server and <port> is the port listed in
the license.dat file. See Figure 4 on page 36 for a sample network
license file to determine your port and server name, and refer to Table 1
on page 38 for more information about port numbers. If there is no port
listed in the license.dat file, you can simply specify @<host>.

! Using the setenv Environment Variable with Multiple


Applications

If you have more than one license file or server, separate the port and host
specifications with colons (:), with no spaces between the names and
numbers. For example:

1800@king:/usr/local/lib/license.dat:270000@queen

If you want the Quartus II software to use the LM_LICENSE_FILE setting


from your .cshrc file, make sure the Use LM_LICENSE_FILE variable is
turned on in the License Setup page of the Options dialog box.

Specifying a Web Browser


You must specify your web browser location in the Options dialog box to
enable the Internet connectivity features of the Quartus II software. To
specify your web browser location, follow these steps:

1. Start the Quartus II software.

2. On the Tools menu, click Options.

3. In the Category list, select Internet Connectivity.

4. In the Web browser box, specify the full path name of your web
browser.

5. If you are using a proxy server, specify the proxy address and port by
performing the following steps:

a. Turn on Access the web using a proxy server.

60 ■ INSTALLATION & LICENSING FOR WINDOWS AND LINUX ALTERA CORPORATION


CHAPTER 2: LICENSING THE QUARTUS II SOFTWARE
REGISTERING FOR AN ALTERA.COM ACCOUNT

b. In the Address box, type the proxy address or host name.

c. In the Port box, type the port number.

d. In the User name box, type the user name if required.

e. In the Password box, type the password if required.

6. Click OK.

Registering for an Altera.com


Account
Your copy of the Quartus II software is registered at the time of purchase,
however, in order to use the mySupport website to view and submit service
requests, you must also register for an Altera.com account and an Altera
user name. You can use your Altera user name to access your Altera.com
account. Although use of the mySupport website requires you to have an
Altera.com account, this account also makes it easier to use many other
Altera website features, such as the Download Center, Licensing Center,
Altera Technical Training online class registration, or Buy On-Line-Altera
eStore features.

To register for an Altera.com account, follow these steps:

1. Go to the mySupport website:

To start your web browser and connect to the mySupport website while
running the Quartus II software, on the Help menu, point to Altera on
the Web, and then click Quartus II Service Request.

or

Point your web browser to the mySupport website at

www.altera.com/mysupport.

2. Follow the instructions on the mySupport website to register for an


Altera.com account.

ALTERA CORPORATION INSTALLATION & LICENSING FOR WINDOWS AND LINUX ■ 61


CHAPTER 2: LICENSING THE QUARTUS II SOFTWARE
LICENSING RELATED SOFTWARE

If you are not a current Altera subscription user, you can still register for an
Altera.com account.

Licensing Related Software


In addition to licensing the Quartus II software, you must also license any
other related Altera software you install. This section contains licensing
procedures for the MegaCore IP Library, Nios II Embedded Design Suite,
and ModelSim-Altera software.

MegaCore IP Library
Once you purchase a license for any of the IP cores, you can request a license
file from the Licensing section of the Altera website at www.altera.com/
licensing and install it on your computer.

If you have already installed a license for an IP core, and then you receive a
new license file for a new IP core, you can either append the license file to
your existing license.dat file, or you can specify the IP core’s license.dat file
in the Quartus II software.

See AN 340: Altera Software Licensing, which is available from the Literature
section of the Altera website at www.altera.com/literature, for detailed
instructions for specifying a license file for an IP core.

Nios II Embedded Design Suite


You can create, compile, and generate time-limited FPGA programming
files for Nios II hardware systems without obtaining a license file. To
generate non-time-limited FPGA programming files and flash
programming files, you must obtain a license for the Nios II processor core
in addition to the license for the Quartus II software. You do not need a
license to develop software using only the Nios II IDE.

62 ■ INSTALLATION & LICENSING FOR WINDOWS AND LINUX ALTERA CORPORATION


CHAPTER 2: LICENSING THE QUARTUS II SOFTWARE
LICENSING RELATED SOFTWARE

ModelSim-Altera
You can request a ModelSim-Altera license file from the Licensing section of
the Altera website at www.altera.com/licensing and install it on your
computer.

! ModelSim-Altera Starter Edition Software Version 8.1 and later

ModelSim-Altera Starter Edition software version 6.4g and later does not require a
license.

The ModelSim-Altera software supports licenses using the Mentor Graphics


license daemon mgcld. You can find the mgcld daemon in the following
directories:

Windows:

<ModelSim-Altera system directory>\win32aloem\

Linux:

<ModelSim-Altera installation directory>/linuxaloem

or

<Quartus II system directory>/linux/linuxaloem (when installed


using the Altera Complete Design Suite for Linux DVD-ROM)

Before starting the ModelSim-Altera software, you must set your


ModelSim-Altera LM_LICENSE_FILE environment variable to the location
and file name of the ModelSim-Altera license file. For example, the
ModelSim-Altera LM_LICENSE_FILE environment variable should be set
to the location and file name of your license file (<ModelSim-Altera
installation dir>/licenses/eda/license.dat) or with the port@host notation
(1900@set).

To set your LM_LICENSE_FILE environment variable to the location and


file name of the ModelSim-Altera license file on a Windows PC, follow these
steps:

1. On the Windows Start menu, click Control Panel. The Control Panel
appears.

ALTERA CORPORATION INSTALLATION & LICENSING FOR WINDOWS AND LINUX ■ 63


CHAPTER 2: LICENSING THE QUARTUS II SOFTWARE
LICENSING RELATED SOFTWARE

2. Double-click System. The System Properties dialog box appears.

3. On the Advanced tab of the System Properties dialog box, click


Environment Variables.

4. Under System Variables, select LM_LICENSE_FILE.

5. Click Edit. The Edit System Variable dialog box appears.

6. In the Variable value box, type the location of your license file.

7. In the Edit System Variable dialog box, click OK.

8. In the Environment Variables dialog box, click OK.

9. In the System Properties dialog box, click Apply.

To set your LM_LICENSE_FILE environment variable to the location and


file name of the ModelSim-Altera license file on a Linux workstation, refer
to “Setting Environment Variables” on page 66.

64 ■ INSTALLATION & LICENSING FOR WINDOWS AND LINUX ALTERA CORPORATION


Chapter
Three
More Configuration
Information for Linux
Workstations

What’s in Chapter 3:
Introduction 66
Setting Environment Variables 66
Configuring a Printer with MainWin 68
Other Workstation Configuration
Information 69
CHAPTER 3: MORE CONFIGURATION INFORMATION FOR LINUX WORKSTATIONS
INTRODUCTION

Introduction
This section describes how to change additional Linux workstation
configuration items including Quartus II general environment variables,
Quartus II NativeLink® environment variables, user names, language
settings, and fonts.

Setting Environment Variables


This section describes the environment variables that the Quartus II
software uses to configure various options and locate files.

If you are using the C shell, environment variables are located in your .cshrc
file, and have the following format:

setenv <environment variable> <value>

If you are using the Bourne or Korn shell, environment variables are located
in your .profile file, and have the following format:

set <environment variable> = <value>

Quartus II General Environment


Variables
The Quartus II software installation process initializes the following
variables, but you may wish to change them to optimize your system
performance.

QUARTUS_ROOTDIR
The QUARTUS_ROOTDIR variable specifies the name of the Quartus II
system directory. The default directory is /opt/altera<version number>. You
should change this variable only if the system displays an error message
indicating that Quartus II files cannot be found when you start the program.

66 ■ INSTALLATION & LICENSING FOR WINDOWS AND LINUX ALTERA CORPORATION


CHAPTER 3: MORE CONFIGURATION INFORMATION FOR LINUX WORKSTATIONS
SETTING ENVIRONMENT VARIABLES

MWFONT_CACHE_DIR
The MWFONT_CACHE_DIR variable specifies the name of the Quartus II font
cache directory. The default directory is /<user home directory>/.mw.

QUARTUS_MWWM
The QUARTUS_MWWM variable specifies how the Quartus II software should
interact with the system’s window manager. If you want, you can specify
that the Quartus II software operate normally with all supported window
managers by setting this environment variable to allwm. The
QUARTUS_MWWM environment variable is not specified by default.

QUARTUS_64BIT
The QUARTUS_64BIT variable specifies the 64-bit version of the Quartus II
software. To turn on 64-bit processing in the Quartus II software, set the
environment variable to 1 before running the Quartus II software. This
variable is supported only in systems with 64-bit processing.

QUARTUS_LIBRARY_PATHS
The QUARTUS_LIBRARY_PATHS variable specifies user-defined library
paths. You can use this environment variable to define multiple library
paths at the same time instead of manually adding each path to the user
library.

Quartus II NativeLink Environment


Variables
The Quartus II software installation process initializes the following
variables, but you must set them to use the NativeLink features of the
Quartus II software.

QUARTUS_INIT_PATH
The QUARTUS_INIT_PATH variable specifies the path(s) of the other EDA
tool(s) to be launched from within the Quartus II software. You must set this
variable to launch other EDA tools from within the Quartus II software.

ALTERA CORPORATION INSTALLATION & LICENSING FOR WINDOWS AND LINUX ■ 67


CHAPTER 3: MORE CONFIGURATION INFORMATION FOR LINUX WORKSTATIONS
CONFIGURING A PRINTER WITH MAINWIN

QUARTUS_INIT_LIBPATH
The QUARTUS_INIT_LIBPATH specifies the LD_LIBRARY_PATH variable
needed by some other EDA tools. You should set this variable to the EDA
tool’s LD_LIBRARY_PATH if the EDA tool requires an LD_LIBRARY_PATH
variable.

Configuring a Printer with MainWin


If you want to configure a printer with the MainWin control panel, follow
these steps:

1. Become non-root.

2. Run mwcontrol utility, which is located in the


/<Quartus II system directory>/bin directory. The MainWin Control
Panel dialog box appears.

3. Double-click Printers. The MainWin Printers dialog box appears.

4. Double-click Add New Printer. The Add New Printer wizard appears.

5. Click Next. The Identify your Unix Printer wizard appears.

6. Select the printer you want to use with the Quartus II software.

7. Click Next. The Print Command wizard appears.

8. In the Print Command box, type the following command:

/bin/sh -c "cat %s | lpr -P <printer name>; rm %s"

9. Click Next. The Printer Name wizard appears.

10. In the Printer Name box, type a name for the printer and click Next. The
Finish Adding New Printer wizard appears.

11. Verify that the printer information is correct and click Finish.

68 ■ INSTALLATION & LICENSING FOR WINDOWS AND LINUX ALTERA CORPORATION


CHAPTER 3: MORE CONFIGURATION INFORMATION FOR LINUX WORKSTATIONS
OTHER WORKSTATION CONFIGURATION INFORMATION

Other Workstation Configuration


Information
This section describes other workstation configuration information,
including user names, language settings, fonts, and 64-bit processing:

■ If you want to change user names at a workstation using the su


command, you must type the following command at the command
prompt before starting the Quartus II software:

su - <username> r

Changing user names using the su <username> command (without the


dash) causes the new user to use the environment settings from the
previous user, which may cause the Quartus II software to stop
responding.

■ By default, generated fonts are saved to the /<user home directory>


/.mw directory, however, having the font cache saved to these
directories for each user may cause unnecessary duplication of fonts.
You can avoid this problem by specifying a directory to contain all the
generated fonts for the display. To specify this directory, type the
following command at the command prompt:

setenv MWFONT_CACHE <new directory name> r

■ If the Quartus II software stops responding due to an internal error,


determine whether any of the following processes are running:

mwrpcss quartus_sim
quartus quartus_pow
quartus_map quartus_stp
quartus_fit quartus_pgm
quartus_tan quartus_cpf
quartus_asm quartus_sh
quartus_drc quartus_cmd
quartus_cdb quartus_sta
quartus_eda quartus_si

You can determine which processes are running by typing the


following command at the command prompt:

/usr/bin/ps -ef r

ALTERA CORPORATION INSTALLATION & LICENSING FOR WINDOWS AND LINUX ■ 69


CHAPTER 3: MORE CONFIGURATION INFORMATION FOR LINUX WORKSTATIONS
OTHER WORKSTATION CONFIGURATION INFORMATION

You must then terminate these processes by typing the following


command at the command prompt:

kill -9 <process ID number> r

■ You can use the mwcleanup utility to clean up system resources and
terminate all MainWin applications by typing the following command
at the command prompt:

mwcleanup r

■ You can enable 64-bit processing by passing the --64bit option to


command-line executables, such as quartus_map, quartus_fit,
quartus_sta, quartus_tan, and/or quartus_cdb. For example, you can
enable 64-bit processing with the quartus_map executable by typing
the following at the command prompt:

quartus_map --64bit r

The --64bit option is supported only in systems with 64-bit


processing.

70 ■ INSTALLATION & LICENSING FOR WINDOWS AND LINUX ALTERA CORPORATION


Chapter
Four
Documentation and
Technical Support

What’s in Chapter 4:
Starting the Quartus II Interactive
Tutorial 72
Using Quartus II Help 72
Contacting Altera 73
CHAPTER 4: DOCUMENTATION AND TECHNICAL SUPPORT
STARTING THE QUARTUS II INTERACTIVE TUTORIAL

Starting the Quartus II Interactive


Tutorial
The Quartus II software includes the Flash-based Quartus II Interactive
Tutorial. The modules of this tutorial teach you how to use the basic features
of the Quartus II design software, including design entry, compilation,
timing analysis, simulation, programming, and incremental compilation.

This tutorial includes audio and Flash animation components. For best
results, use the tutorial on a system that includes a sound card, speakers, and
at least 1024x768 display resolution.

To start the Quartus II tutorial after you have successfully installed the
Quartus II software:

v On the Help menu, click Tutorial.

Once you start the tutorial, you can jump immediately to any tutorial
module by clicking Contents. Once you select a tutorial module, you can
click Show Me, Guide Me, or Test Me at any time to jump directly to the
tutorial mode that best suits your learning style.

Your system must meet the requirements described in the “Quartus II


Software System Requirements” on page 4 to run the tutorial.

Using Quartus II Help


The Quartus II software includes a platform-independent Help system that
provides comprehensive documentation for the Quartus II software and
more details about the specific messages generated by the Quartus II
software. To access Quartus II Help, the Quartus II software must be
installed on your local drive. You cannot access Quartus II Help over a
network. You can view Help in one of the following ways:

■ Press F1 from a highlighted menu command or active dialog box for


context-sensitive Help.
■ Click the Help button when available in an active dialog box.
■ On the Help menu, click any of the following commands:
– Index: The Index lets you search for and display all Help topics
related to a keyword or phrase.

72 ■ INSTALLATION & LICENSING FOR WINDOWS AND LINUX ALTERA CORPORATION


CHAPTER 4: DOCUMENTATION AND TECHNICAL SUPPORT
CONTACTING ALTERA

– Search: The Search finds a maximum of 500 topics containing the


search keyword.
– Contents: The Contents outlines the design flow and groups
related topics into folders, but does not list all the topics in
Quartus II Help.
– Messages: The Messages list provides an alphabetical list of all
messages and offers detailed Help on each message. To view Help
on an individual message, in the Messages window, right-click the
message on which you want to receive Help, and then click Help.
– Glossary: The Glossary list provides definitions to key
terminology in the Quartus II software.

f For Information About Refer To

Using Quartus II Help “Help Menu Commands” in Quartus II Help

“Using Quartus II Help Effectively” in


Quartus II Help

Contacting Altera
You can contact Altera for technical support and product information.

Table 1. Quartus II Technical Support Resources

Resource Description

Altera website: www.altera.com


mySupport website: www.altera.com/mysupport

Or, in the Quartus II software, on the Help menu, point to


Altera on the Web, and then click Quartus II Service
Request. This website allows you to submit, view, and update
technical support service requests.
Telephone: (800) 800-EPLD
(7:00 a.m. to 5:00 p.m. Pacific time, M–F) You will need your
6-digit Altera ID to access the hotline.

(408) 544-8767
(7:00 a.m. to 5:00 p.m. Pacific time, M–F)

ALTERA CORPORATION INSTALLATION & LICENSING FOR WINDOWS AND LINUX ■ 73


CHAPTER 4: DOCUMENTATION AND TECHNICAL SUPPORT
CONTACTING ALTERA

! Registering for an Altera.com Account

In order to use the mySupport website to view and submit service requests, you
must also register for an Altera.com account. An Altera.com account is required only
for using the mySupport website; however, having an Altera.com account will also
make it easier for you to use many other Altera website features, such as the
Download Center, Licensing Center, Altera Technical Training online class
registration, or Buy On-Line-Altera eStore features. For more information, refer to
“Registering for an Altera.com Account” on page 61 in Chapter 2, “Licensing the
Quartus II Software.”

Product Information
If you need the latest Altera product information or literature, go to the
Literature section of the Altera website at www.altera.com/literature.

f For Information About Refer To

Altera technical support services The Contact Altera section of the Altera
website

74 ■ INSTALLATION & LICENSING FOR WINDOWS AND LINUX ALTERA CORPORATION


Appendix
A
Quartus II Software
File Organization

What’s in Appendix A:
Quartus II Software and Related
Software File Organization 76
APPENDIX A: QUARTUS II SOFTWARE FILE ORGANIZATION
QUARTUS II SOFTWARE AND RELATED SOFTWARE FILE ORGANIZATION

Quartus II Software and Related


Software File Organization
During the Quartus II software and related software installation, one
top-level directory is created on both Windows and Linux workstations. The
detailed file organization is described in this chapter.

Windows File Organization


During the Quartus II software for Windows and related software
installation, one top-level directory is created:

The \altera\<version number> directory contains system software and


data files and includes the subdirectories shown in Figures 1 and 2.

The main \altera\<version number> directory includes the subdirectories


and data files shown in Figure 1. The installer directory is present only if
you install Altera software using the Altera Installer.

Figure 1. Altera Software System Directory (<drive>:\altera\<version


number>)

<drive>:\altera\<version number>

quartus ip nios2eds modelsim_ae qdesigns installer

altera bin docs fir_filter


sls components drivers incr_comp_makefile
... documents examples logiclock_makefile
examples verilog vhdl_verilog_tutorial
sdk2 vhdl
... ...

The \altera\<version number>\quartus directory includes the


subdirectories shown in Figure 2.

76 ■ INSTALLATION & LICENSING FOR WINDOWS AND LINUX ALTERA CORPORATION


APPENDIX A: QUARTUS II SOFTWARE FILE ORGANIZATION
QUARTUS II SOFTWARE AND RELATED SOFTWARE FILE ORGANIZATION

Figure 2. Quartus II Software System Directory (<drive>:\altera\<version


number>\quartus)

<drive>:\altera\<version number>\quartus

bin bin64 common cusp drivers dsp_builder eda libraries lmf sopc_builer

advisors bin i386 bin cadence megafunctions bin


devinfo include sentinel lib fv_lib other europa
gtf
flow synthinclude usb_blaster hspice primitives perl_lib
help systemc win2000 ibis sim ...
... components
ip innoveda software
librarian mentor vhdl documents

misc sim_lib model


...
tcl synopsys
templates synthesis

Linux Workstation File Organization


During the Quartus II software for Linux and related software installation,
one top-level directory is created:

The /opt/altera<version number> directory contains system software


and data files and includes the subdirectories shown in Figures 3 and 4.

The /opt/altera<version number> directory includes the subdirectories listed


and data files shown in Figure 3. The installer directory is present only if
you install Altera software using the Altera Installer.

ALTERA CORPORATION INSTALLATION & LICENSING FOR WINDOWS AND LINUX ■ 77


APPENDIX A: QUARTUS II SOFTWARE FILE ORGANIZATION
QUARTUS II SOFTWARE AND RELATED SOFTWARE FILE ORGANIZATION

Figure 3. Altera Software System Directory (/opt/altera<version


number>)

/opt/altera<version number>

quartus ip nios2eds modelsim_ae installer

altera bin docs


sls components drivers
... documents examples
examples verilog
sdk2 vhdl
... ...

The /opt/altera<version number>/quartus directory includes the


subdirectories and data files shown in Figure 4.

Figure 4. Quartus II Software System Directory (/opt/altera <version


number>/quartus)

/opt/altera<version number>/quartus

bin cusp linux lmf qdesigns stingray

adm common eda libraries linux64 mw sopc_builder dsp_builder

advisors cadence megafunctions fir_filter bin bin


... lib
devinfo ibis other europa

flow mentor primitives components

help cusp software placeholders

ip synopsys vhdl87 examples

tcl innoveda vhdl93 documents

misc fv_lib tutorials

78 ■ INSTALLATION & LICENSING FOR WINDOWS AND LINUX ALTERA CORPORATION


Appendix
B
Mounting and
Unmounting
DVD-ROMs

What’s in Appendix B:
Introduction 80
Mounting and Unmounting
DVD-ROMs 80
APPENDIX B: MOUNTING AND UNMOUNTING DVD-ROMS
INTRODUCTION

Introduction
This appendix describes how to mount and unmount the Altera Complete
Design Suite DVD-ROM on Linux workstations.

Mounting and Unmounting


DVD-ROMs
! Before You Mount a DVD-ROM

You must have superuser or “root” privileges to mount and unmount the DVD-ROM
drive. If you are logged in on a console, you do not need to have root privileges to
mount a DVD-ROM.

To mount a DVD-ROM, follow these steps:

1. If the /mnt/dvdrom directory does not exist, type the following


command at the command prompt:

mkdir /mnt/dvdrom r

2. If you have not already done so, insert the DVD-ROM into your
DVD-ROM drive.

3. To mount the DVD-ROM drive, type the following command at the


command prompt:

/bin/mount /mnt/dvdrom r

If you have previously mounted and unmounted this DVD-ROM, a


number may be appended to the device name of the DVD-ROM, in
which case you should use the complete name and number for
<device name of DVD-ROM>. For example, if the device name appears
as modelsim2, use that name.

To unmount a DVD-ROM on a Linux workstation:

v To unmount the DVD-ROM drive, type the following command at the


command prompt:

80 ■ INSTALLATION & LICENSING FOR WINDOWS AND LINUX ALTERA CORPORATION


APPENDIX B: MOUNTING AND UNMOUNTING DVD-ROMS
MOUNTING AND UNMOUNTING DVD-ROMS

/bin/umount /mnt/dvdrom r

To successfully unmount the DVD-ROM drive, you must make sure


that no one is accessing the directory structure at or below the dvdrom
directory. If another user is using the DVD-ROM drive, you may
receive the following message:

umount:/mnt/dvdrom : Device busy

To determine whether you are accessing the DVD-ROM drive yourself,


type the following command at the command prompt:

pwd r

You should see the / prompt on your screen. If you do not, you should
type dvd/ r again.

ALTERA CORPORATION INSTALLATION & LICENSING FOR WINDOWS AND LINUX ■ 81


INDEX

Numerics instructions 80

64-bit version of the Quartus II software, E


enabling on Linux
workstations 26 EDA interfaces, installation 24
EM64T processor 5
A environment variables 66
Ethernet connection 5, 6
Altera Complete Design Suite 18
install window 21 F
installing 21
altera directory 76, 77 FLEXlm software
Altera ID 30 installing a license server 39
Altera on the Web command 61 installing an additional license
Altera website 73 server 45
Altera, contacting 74 installing for PCs 23
Altera.com account 61, 73 rereading 42
Altera.com Download Center 10 upgrading 40
All-In-One Software Download 11
Altera Install Script for Linux H
Installation 13
Altera Installer 10 Help
Individual Software Downloads 11 using 72
Altera.com downloaded software host ID number 32
installing 13
Altera.com Website Download Center 10 I
AMD64 processor 5
installation
C Altera Complete Design Suite 21, 24
EDA interfaces 24
configuration information 66 FLEXlm software 23
Contacting 73 Installing Downloaded Altera
contacting Altera 73 Software 13
.cshrc file 59, 66 Sentinel driver 47, 48
Installing 21
D Installing Downloaded Altera Software 13
installation prerequisites 13
directory structure 76 installation instructions 15
documentation conventions vii
driver, installing Sentinel 47, 48 J
DVD-ROM
installing Altera Complete Design JTAG server
Suite 21, 24 setting up Quartus II software on a
installing FLEXlm software for PCs 23 network drive 26
mounting and unmounting

82 ■ INSTALLATION & LICENSING FOR WINDOWS AND LINUX ALTERA CORPORATION


INDEX

K O
kernel configuration settings Options command 54, 60
Linux workstations 49
P
L
parallel port 4
libraries, Linux workstations 49 Pentium II 4
license file Pentium III processor 5
modifying 37 port number, specifying 38, 57, 60
obtaining 30 product information 74
setting up 39 proxy address, specifying 60
specifying 53
upgrading 39 Q
license server configuration, setting up on
Linux workstations 39 quartus directory 77
licensing Quartus II software
related software 62 setting up with a JTAG server on a
Linux workstations network drive 26
installing Altera Complete Design starting 51
Suite software and device QUARTUS_64BIT variable 67
information 24 QUARTUS_INIT_LIBPATH variable 68
mounting and unmounting QUARTUS_INIT_PATH variable 67
DVD-ROMs 80 QUARTUS_MWWM variable 67
lmhostid utility 32 QUARTUS_ROOTDIR variable 66
lmutil utility 32, 41, 42, 46
R
M
readme.txt file 6
MAX+PLUS II software, using with registering for an Altera.com account 61
Quartus II license file 31, 35, 53
MegaCore IP Library S
licensing 62
ModelSim-Altera software Sentinel driver, installing 47, 48
licensing 63 serial number 31
modifying Altera software in Windows 9 serial port 5, 6
mounting DVD-ROM drive 80 Software Guard
MWFONT_CACHE_DIR variable 67 installing Sentinel driver 47, 48
mySupport web site 61 serial number 31
mySupport website 73 system requirements
Linux requirements 5
N Quartus II software 4
references 6
Nios II Embedded Design Suite Windows requirements 4
licensing 62

ALTERA CORPORATION INSTALLATION & LICENSING FOR WINDOWS AND LINUX ■ 83


INDEX

T
TalkBack, turning on 24
TCP/IP protocol 25
technical support 73
troubleshooting 66
tutorial, starting the Quartus II Interactive
Tutorial 72

U
uninstalling Altera software in Windows 7
uninstalling Altera software on Linux
workstations 8
unmounting DVD-ROM drive 80
USB port 5, 6

W
web browser, specifying 60
Windows
installing the Altera Complete Design
Suite software 21
Windows XP
TCP/IP Protocol 25
workstation
configuring 49

84 ■ INSTALLATION & LICENSING FOR WINDOWS AND LINUX ALTERA CORPORATION


Copyright © 2009 Altera Corporation. All rights reserved. Altera, the stylized Altera logo, specific device designations, and all other words and
logos that are identified as trademarks and/or service marks are, unless noted otherwise, the trademarks and service marks of Altera Corpora-
tion in the U.S. and other countries. ModelSim is a registered trademark of Mentor Graphics Corporation. All other product or service names
are the property of their respective holders. Altera products are protected under numerous U.S. and foreign patents and pending applications,
mask work rights, and copyrights.

MNL-01044-1.0

You might also like