How to load a project in Altera’s FPGA

Prepare and upload in Altera’s FPGA project from the development environment Quartus II.

Программатор USB Blaster

You will need

  • Altera’s FPGA;
  • programmer USB-Blaster;
  • the computer with the development environment Quartis II.

Manual

1. Menu Assignements -> Device… select the FPGA that you are going to «fill in» project. In the Device group Family must choose a family of your FPGA. In Available devices field, select the model of your FPGA.
In the group Show in «Available devices» list you can sort the devices by type of case (Package) or pin count (Pin count) to quickly find your model FPGA.
It is useful to set what state will be unconnected legs of the FPGA. Click Device and Pin Options…, go to Unused Pins, and specify the status of the findings.
After specify the model of the FPGA, close the window Deviceby pressing the OK button.

Выбираем семейство и модель ПЛИС в окне Device

2. If you want the synth itself has appointed the functions of conclusions, we can do nothing more. But in order to manually assign the conclusions of the FPGA, go to Assignements -> Pin Planner, or press the key combination Ctrl+Shift+N.
This will launch the tool pin description Pin Planner. Below is displayed the list used in your project pin I / o with the relevant names of the Node Name.
Now in the column to the Location you need to specify pin numbers. Double-click on the appropriate cell and choose a pin number or keyboard number. Pin numbers will depend on your breadboard.
Once all the findings have been defined, the window pin planner Pin Planner you can close. Now compile the project: Processing -> Start Compilation , or Ctrl+L.

Назначаем соответствие выводов ПЛИС сигналам проекта

3. Plug in the programmer USB Blaster to the computer. When you first connect driver must be installed. It is installed in the standard manner, and is located in the directory of Quartus, in the folder drivers: C:altera13.0sp1quartusdrivers.
After installing the driver, the programming device will appear in device Manager Altera USB-Blaster.

Установка драйвера для программатора USB Blaster

4. Altera’s FPGA support a number of programming modes. First, consider the loading of firmware through the JTAG interface. Connect the programmer to the JTAG connector on the Board with the FPGA.
Run the tool for programming: Tools -> Programmer.
Add a programmer. To do this, press the Hardware Setup… button and in the drop-down list select the connected USB Blaster. Close the Hardware Setup.
In the programmer window the Programmer , click Auto Detect, the Quartus tried to automatically detect the FPGA and firmware file *.sof. The firmware file kvartetom is created by default when you compile unless you specify otherwise.
In the window select Programmer mode JTAG, check Program/Configure and press Start. Firmware will be written into the memory of the FPGA.

Загрузка прошивки в ПЛИС через JTAG

5. In this embodiment, the recording of the firmware is written in volatile memory of the FPGA, and after the restart will be erased. To firmware preserved in the ROM, write the firmware in Active Serial mode.
Connect the programmer cable to the connector AS or Active Serial. Run the firmware: Tools -> Programmer. Select the mode Mode -> Active Serial. Agree when you answer a clarifying question.
Add the firmware file by clicking Add File… In the project subdirectory output_files locate the file with the extension .pof. After opening the firmware file, select the checkmark Program/Configure and steel. Pay attention to the type of the configuration memory in the Device column: this must match the memory type of your FPGA.

Загрузка прошивки в ПЛИС в режиме Active Serial

6. Press Start to load the firmware in the FPGA.

Проверка с помощью осциллографа результата прошивки ПЛИС