You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 8 Next »

This is a short step-by-step guide on how to install Intel development Tools (e.g. Quartus Prime) on WinOS and LinuxOS.

Table of contents

Win10

Quartus Prime Software

  1. Download Quartus Software
  2. Run installer executable <product>-<version>.exe (e.g. QuartusLiteSetup-20.1.1.720-windows.exe)
    1. Follow the instructions of the installation wizard
  3. Download device support you need
    1. Available device support for Quartus Prime Edition 20.4: https://fpgasoftware.intel.com/20.4/?edition=pro&platform=windows → Individual Files → Devices
      • Agliex (license required)
      • Arria 10 (license required)
      • Cyclone 10 GX (free, no license file required)
      • Diamond Mesa (license required)
      • Stratix 10 (license required)
    2. Available device support for Quartus Prime Edition 20.1.1 (free) : https://fpgasoftware.intel.com/20.1.1/?edition=lite&platform=windows → Individual Files → Devices
      • Arria II
      • Cyclone IV
      • Cyclone 10 LP
      • Cyclone V
      • MAX II, MAX V
      • MAX 10 FPGA
  4. Launch Device Installer from WIndows Start Menu
    1. Follow the instructions of the device installer wizard
  5. Install Arrow USB Blaster driver for Trenz boards: Arrow USB Programmer

Nios II EDS

NIos II EDS is included in Quartus Prime software, but there are additional requirements for using it:

  • Installing Windows Subsystem for Linux (WSL)
  • Installing Eclipse IDE into Nios II EDS

Install Windows Subsystem for Linux (WSL)

  • Note:
    • Windows* 10 build version 16215.0 or higher is the recommended operating system version.
    • Install only WSL1. WSL2 is not supported by Nios II EDS.
  1. Open PowerShell as Administrator
    1. Enable the Windows Subsystem for Linux: dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart

    2. Enable virtual machine feature: dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart

  2. Restart your PC to complete the installation.
  3. Install Linux distribution Ubuntu18.04 LTS for WSL
    1. Download Ubuntu 18.04 LTS: https://aka.ms/wsl-ubuntu-1804
    2. Open PowerShell as Administrator and run:  Add-AppxPackage <download_path_to_linux_distribution>\<app_name>.appx
    3. Launch Ubuntu18.04 from Windows Start Menu and follow instructions
    4. Install additional packages
      • sudo apt update
      • sudo apt upgrade
      • sudo apt install wsl
      • sudo apt install dos2unix
      • sudo apt install make

For more information see: Installing Windows Subsystem for Linux (WSL) on Windows

Install Eclipse IDE into Nios II EDS

Eclipse IDE must be installed manually as it is not included in Quartus Prime software.

  1. Download CDT 8.8.1 which is Eclipse C/C++ IDE for Mars.2: eclipse-cpp-mars-2-win32-x86_64.zip
  2. Extract the downloaded file and rename the <download_path>/eclipse folder to <download_path>/eclipse_nios2
  3. Copy and paste <quartus_installation_path>/nios2eds/bin/eclipse_nios2_plugins.zip to <download_path>
  4. Extract <download_path>/eclipse_nios2_plugins.zip → the Extraction overrides files in <download_path>/eclipse_nios2
  5. To verfiy the correct extraction you should see <download_path>/eclipse_nios2/plugin_customization.ini file
  6. Copy and paste <download_path>/eclipse_nios2 to <quartus_installation_path>/nios2eds/bin/eclipse_nios2
  7. Now you can launch "Nios II Software Build Tools for Eclipse"

For more information see: Nios II Developer Handbook#3.1. Installing Eclipse IDE into Nios II EDS


Linux Ubuntu 20.04 LTS

Quartus Prime Software

  1. Open Terminal
  2. Install required libraries:
    • sudo add-apt-repository ppa:linuxuprising/libpng12
    • sudo apt-get update
    • sudo apt-get install libc6:i386 libncurses5:i386 libxtst6:i386 libxft2:i386 libstdc++6:i386 libc6-dev-i386 lib32z1 libncurses5:i386 libbz2-1.0:i386 libpng12-0 libqt5xml5 liblzma-dev libcanberra-gtk-module
  3. Download Quartus Software
  4. Run command: chmod +x <download_path>/<product>-<version>.run
  5. Run command: <download_path>/<product>-<version>.run (e.g. QuartusLiteSetup-20.1.1.720-linux.run)
    1. Follow the instructions of the installation wizard
  6. Download device support you need
    1. Available device support for Quartus Prime Edition 20.4: https://fpgasoftware.intel.com/20.4/?edition=pro&platform=linux
      • Agliex (license required)
      • Arria 10 (license required)
      • Cyclone 10 GX (free, no license file required)
      • Diamond Mesa (license required)
      • Stratix 10 (license required)
    2. Available device support for Quartus Prime Edition 20.1.1 (free) : https://fpgasoftware.intel.com/20.1.1/?edition=lite&platform=linux
      • Arria II
      • Cyclone IV
      • Cyclone 10 LP
      • Cyclone V
      • MAX II, MAX V
      • MAX 10 FPGA
  7. Launch Quartus Prime Edition with <installation_directory>/quartus/bin/quartus
  8. Click Tools → Install Devices
    1. Follow the instructions of the device installer wizard
  9. Install Arrow USB Blaster driver for Trenz boards: Arrow USB Programmer

Nios II EDS

Install Eclipse IDE into Nios II EDS

Eclipse IDE must be installed manually as it is not included in Quartus Prime software.

  1. Download CDT 8.8.1 which is Eclipse C/C++ IDE for Mars.2: eclipse-cpp-mars-2-linux-gtk-x86_64.tar.gz
  2. move downloaded file to <installation_directory>/nios2eds/bin
  3. Extract the downloaded file
    1. tar xfv <installation_directory>/nios2eds/bin/eclipse-cpp-mars-2-linux-gtk-x86_64.tar.gz
  4. Rename the extracted <installation_directory>/nios2eds/bin/eclipse folder to <installation_directory>/nios2eds/bin/eclipse_nios2
  5. Extract the existing file "eclipse_nios2_plugins.tar.gz" → the Extraction overrides files in <download_path>/eclipse_nios2
    1. tar xfv <installation_directory>/nios2eds/bin/eclipse_nios2_plugins.tar.gz
  6. To verfiy the correct extraction you should see<installation_directory>/nios2eds/bin/eclipse_nios2/plugin_customization.ini file
  7. Now you can launch "Nios II Software Build Tools for Eclipse"

For more information see: Nios II Developer Handbook#3.1. Installing Eclipse IDE into Nios II EDS

References


  • No labels