Difference between revisions of "Altera"
Line 4: | Line 4: | ||
== Downloading Altera Software == | == Downloading Altera Software == | ||
− | + | You can download the Altera software from [https://www.altera.com/download/archives/arc-index.jsp here.] There are a number of different tools and versions to use -- these are described below. | |
− | + | # '''Quartus II'''. The initial software to compile VHDL/Verilog into a bitstream that can configure the DE1 and DE2 boards. The Web Edition is free. Consult the list below to see which version is being used in your course. For the rest of the tools below, always download the same version (same row) that matches that Quartus version. | |
− | + | #; EECE 259, 353, 355 | |
− | ''' | + | #: Quartus II Web Edition 13.0 SP1 |
− | + | #; EECE 381 | |
− | + | #: Quartus II Web Edition 12.1 SP2 | |
− | + | #;Note | |
− | + | #: The acronym '''SP''' means ''Service Pack''. If you are asked to download '''13.0 SP1''', you should click the link named ''SP1''' in the same row as '''13.0'''. | |
− | + | # '''ModelSim'''. This is the VHDL/Verilog simulator. If you are using Quartus II version 11.X or 12.X, this is the official simulator to use. For home use, you want the '''Altera Starter Edition''', which is free. | |
− | + | #;Note | |
+ | #:If you are using versions earlier than 11.0, or 13.0 and later, there is also a simpler simulator built-in to Quartus II. | ||
+ | # '''Nios II Embedded Design Suite (EDS)'''. This is the C compiler and Integrated Development Environment (IDE -- a combined editor and compiler) for programming Altera's Nios II processor. The latest version of Quartus II (11.0 or higher) already includes this software. However, for older versions of Quartus II (prior to 11.0), you must download this separately. '''Note:''' for EECE355, download and install the [http://www.ece.ubc.ca/~altera/files/quartus/9.1sp2/91_nios2eds_windows.exe EDS version 9.1], then apply this [http://www.ece.ubc.ca/~altera/files/quartus/9.1sp2/91sp2_nios2eds_windows.exe upgrade to 9.1sp2]. | ||
'''Note:''' for EECE353 please use: [http://www.ece.ubc.ca/~altera/files/quartus/11.1sp2/11.1sp2_259_legacy_nios2_windows.exe Nios2 for 11.1sp2]. | '''Note:''' for EECE353 please use: [http://www.ece.ubc.ca/~altera/files/quartus/11.1sp2/11.1sp2_259_legacy_nios2_windows.exe Nios2 for 11.1sp2]. |
Revision as of 18:18, 8 September 2013
At UBC, we make extensive use of Altera tools and technology. On this page, you will find instructions on how to download and install the Altera software tools on your own computer. There are also some basic tutorials to get you started using the software as quickly as possible.
Contents
Downloading Altera Software
You can download the Altera software from here. There are a number of different tools and versions to use -- these are described below.
- Quartus II. The initial software to compile VHDL/Verilog into a bitstream that can configure the DE1 and DE2 boards. The Web Edition is free. Consult the list below to see which version is being used in your course. For the rest of the tools below, always download the same version (same row) that matches that Quartus version.
- EECE 259, 353, 355
- Quartus II Web Edition 13.0 SP1
- EECE 381
- Quartus II Web Edition 12.1 SP2
- Note
- The acronym SP' means Service Pack. If you are asked to download 13.0 SP1, you should click the link named SP1 in the same row as 13.0.
- ModelSim. This is the VHDL/Verilog simulator. If you are using Quartus II version 11.X or 12.X, this is the official simulator to use. For home use, you want the Altera Starter Edition, which is free.
- Note
- If you are using versions earlier than 11.0, or 13.0 and later, there is also a simpler simulator built-in to Quartus II.
- Nios II Embedded Design Suite (EDS). This is the C compiler and Integrated Development Environment (IDE -- a combined editor and compiler) for programming Altera's Nios II processor. The latest version of Quartus II (11.0 or higher) already includes this software. However, for older versions of Quartus II (prior to 11.0), you must download this separately. Note: for EECE355, download and install the EDS version 9.1, then apply this upgrade to 9.1sp2.
Note: for EECE353 please use: Nios2 for 11.1sp2.
4. Altera University Program Software. This is a set of VHDL files for the DE1/DE2 boards, as well as an easy-to-use C compiler and debugger interface for Nios II. Note: for EECE355, use the VHDL version 9.1 for DE1. There are many other versions here, but be sure to select 'VHDL' or 'Verilog', 'DE1' or 'DE2', and the correct version number (corresponding to your Quartus II version) before clicking the link to download the University Program Installer executable.
Note: for EECE353 please use: UPDS for 11.1sp2.
5. USB-Blaster Device Driver. This device driver is essential so that Altera software can communicate with your DE1 or DE2 board. Normally, this comes bundled with Quartus II. However, if you are using Windows 7 with Quartus II versions prior to 10.0, you must separately download a copy of the USB Blaster driver from Quartus II version 10.0 or above. Further details. Here are general install instructions and Windows 7 instructions.
6. Quartus II Programmer. This program will upload a .sof or .pof file to your DE1/DE2 board. This tool is already included as part of Quartus II, so don't install it again. However, this is useful as a standalone programmer if your laptop has insufficient space to install the full Quartus II. Here is the latest version.
Installing Altera Software
You should install Altera software in the order listed above in the download section. Below, we will give any additional hints on installing each tool.
1. Before installing Quartus II, be sure you have enough free disk space. Depending upon the version, you could need 20GB or more free space before beginning. Remember that the Quartus II installation file is highly compressed; it needs extra space to decompress itself before installing. You can recover some of this space by deleting the download afterwards.
2. When installing Quartus II, you should try to stick with all of the default options. To save disk space, you may choose "Custom" instead of "Complete" and then choose to keep only "Cyclone II" but no other devices. For 9.1sp2, Quartus will say it requires 2.6GB of space.
3. To install the USB-Blaster Cable Device Driver, you need to plug in the DE1/DE2 board into your computer and turn it on.
4. Install all of the Altera tools to the same disk (all on C:, or all on D:). This should also be the disk you use for your source files (VHDL, C, etc.).
Licensing Quartus II
At UBC, we have licenses to the full versions of the Altera software. The lab computers will have the full Subscription Edition of Quartus installed, and these require the license to be properly set up. The subscription edition has a larger database of FPGA chips that are supported, and allows you to do some more advanced things.
In Quartus II, go to Tools and select License Setup... at the bottom. Then, set the 'License file:' field according to the list below:
- 27001@altera-tlm.ece.ubc.ca for undergraduate teaching
- 27001@mflex1.ece.ubc.ca for graduate research and teaching
In response, the 'Current License' box should read Full License under 'License Type:'.
On your own laptops and home computers, the 'License file:' entry should be left blank. In response, the 'Current License' box should read Web Edition under 'License Type:'. However, you can access most of the features of the Subscription Edition when you connected with an Ethernet wire in the departmental UPS rooms. To do this, set the license fields as above with your Web Edition software. This does unlock extra features, but it cannot make up for any missing files (eg, missing FPGA chips from the database).
If you cannot generate .sof/.pof files, you probably do not have the license configured properly. In particular, generating a stand-alone design with a Nios II processor requires a license. That is, if your design uses a Nios II processor and you run Quartus II without a license, you cannot generate a .pof file, only a restricted .sof file which is either time-limited or must remain USB-tethered to operate.
Altera Software Tutorials
We will place tutorials online later.