Quartus installation on Linux

From ArmadeusWiki
Revision as of 15:49, 29 January 2016 by FabienM (Talk | contribs) (Version 15.1 and update)

Jump to: navigation, search

Introduction

Quartus web edition 14.0 is the software used to synthesize bitstream for Altera FPGAs. It's required for the cyclone V soldered on APF6SP.

Installation guide for version 14.0

Package needed

On debian jessie :

sudo apt-get install libstdc++5 libmotif4 libxp6 libcurl3
# for 64 arch, install also 32bits packets:
sudo dpkg --add-architecture i386
sudo apt-get install libstdc++5:i386 libmotif4:i386 libxp6:i386 libcurl3:i386

Download

Download the big (4GB) quartus installer here (Use "download software web edition" button).

Uncompress and install

  • Untar the archive :
 tar -xvf Quartus-web-14.0.0.200-linux.tar
  • run the installer:
 bash setup.sh 
  • follow the instructions to install it where you want.

configure .bashrc

Adding the path of your quartus in ~/.bashrc

export ALTERAPATH="/opt/quartus/altera/14.0/"
export ALTERAOCLSDKROOT="${ALTERAPATH}/hld"
export QUARTUS_ROOTDIR=${ALTERAPATH}/quartus
export QUARTUS_ROOTDIR_OVERRIDE="$QUARTUS_ROOTDIR"
export PATH=$PATH:${ALTERAPATH}/quartus/bin
export PATH=$PATH:${ALTERAPATH}/nios2eds/bin

Launch Quartus

To launch quartus, open a terminal and simply type :

$ quartus

USB-Blaster

USB-BLaster is an USB JTAG adaptor usefull to debug altera FPGA. Under Linux some rights must be added to use it with quartus.

  • create an udev rules files in :
/etc/udev/rules.d/altera-usb-blaster.rules
  • And add following configuration :
ATTR{idVendor}=="09fb", ATTR{idProduct}=="6001", MODE="666" 

Version 15.1 prime lite

Version 15.1 with update.

Quartus-lite-15.1.0.185-linux.tar
  • Go to a walk (min 1 hours)
  • Download the update patch :
Quartus-lite-15.1.1.189-linux.tar
  • Untar the big archive:
$ 
  • Take a coffee (~10 min)
  • Launch the installing setup :
./setup.sh 
  • follow the instructions to install it where you want
  • Wait for 10 more minutes
  • Give execution right for the update archive then launch it :
./QuartusSetup-15.1.1.189-linux.run 
  • follow the instructions to give your installation path
  • Take a second cofee (~10 min)

Links