FPGA tools

From Robin

(Difference between revisions)
Jump to: navigation, search
(FPGA tools on Linux)
(FPGA tools on Linux)
Line 27: Line 27:
-
= FPGA tools on Linux =
+
= FPGA tools via share on Linux =
<!-- {{note|Expect changes to Xilinx Vivado 2019.2 shortly  }} -->
<!-- {{note|Expect changes to Xilinx Vivado 2019.2 shortly  }} -->

Revision as of 09:08, 16 January 2020

Contents

FPGA tools on LISP (2428)

Vivado and Vitis is installed locally on the computers in LISP. To launch Vivado go to Applications->Education-> Vivado <or> Vitis IDE (respectively)

Alternatively, you can find it by searching for apps (Windows key):

Image:Xilinx_suit.png


Launch in terminal

Launching the applications is done by entering the following commands in the terminal:

Questa with GUI:

vsim

Vivado with GUI:

vivado

Vlog (terminal only):

vlog

Vcom (terminal only):

vcom

Help:

<command> -h


FPGA tools via share on Linux

First time initialization

If you need to use Xilinx' software other places than the RHEL7 machines at LISP, utilize the following guide:

cd 
nano .bashrc

Append the following lines to the end of the .bashrc file:

# Questa 10.6c
export LM_LICENSE_FILE=5370@lisens.ifi.uio.no
export PATH=$PATH:/projects/nanus/eda/Mentor/2017_2018/Questa/questasim/bin

# Modelsim library 
export MODELSIM=/projects/robin/CADlib/modelsimCADLIB.ini

# Vivado 2019.2 64-bit version
if ! [ -x "$(command -v vivado)" ]; then
  source /projects/robin/programs/Vivado/2019.2/settings64.sh
  export PATH=$PATH:/projects/robin/programs/Vivado/2019.2/bin
fi

After you have added the latter and saved the .bashrc file, restart the terminal or 'source' the .bashrc file.

Other versions

If needed, you can also make use of older versions of the Xilinx product. As of January 2020, we have 2016.4, 2019.1 and 2019.2 available.


Digilent Adept on Linux

Digilent Adept to program the Atlys board can be obtained from the Digilent website.

Note that some Xilinx scripts require GNU BASH. Ubuntu (and possibly others) come with DASH. Disable DASH by reconfiguring it:

sudo dpkg-reconfigure dash

Note that the tools available on Windows, such as Xilinx ISE/PlanAhead and Modelsim are not supported by drift on Linux.

To enable autocompletion and history in XMD:

rlwrap xmd


License server

Licenses can be checked out from lisens.ifi.uio.no:

export LM_LICENSE_FILE=5370@lisens.ifi.uio.no

On Windows:

setx LM_LICENSE_FILE 5370@lisens.ifi.uio.no

Academic Xilinx FPGA tools

Python interface to Xilinx/EDK MHS: https://github.com/EPiCS/reconos/tree/master/tools

Bitstream Intepretation Library (Virtex5): https://github.com/florianbenz/bil

DeBit: http://code.google.com/p/debit/

TORC: http://torc-isi.sourceforge.net/

ReconOS: http://www.reconos.de

Personal tools
Front page