FPGA tools
From Robin
(Remove duplicants in the PATH variable) |
|||
Line 1: | Line 1: | ||
= FPGA tools on Linux = | = FPGA tools on Linux = | ||
+ | |||
+ | |||
+ | {{note|Expect changes to Xilinx Vivado 2019.2 shortly }} | ||
'''First time initialization''' | '''First time initialization''' | ||
Line 40: | Line 43: | ||
vcom | vcom | ||
+ | <!--- | ||
= FPGA tools on Windows = | = FPGA tools on Windows = | ||
Vivado 2019.1 is situated on /uio/kant/ifi-project06/robin/programs/vivado | Vivado 2019.1 is situated on /uio/kant/ifi-project06/robin/programs/vivado | ||
Line 64: | Line 68: | ||
You may also use X-Win32 to get Linux with GUI on IFIs Windows clients: https://termvakt.uio.no/Fjerninnlogging#Xterm_via_X-Win32 | You may also use X-Win32 to get Linux with GUI on IFIs Windows clients: https://termvakt.uio.no/Fjerninnlogging#Xterm_via_X-Win32 | ||
+ | |||
+ | ---> | ||
= Digilent Adept on Linux = | = Digilent Adept on Linux = |
Revision as of 16:54, 19 December 2019
Contents |
FPGA tools on Linux
First time initialization
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.1 64-bit version source /projects/robin/programs/Vivado/2019.1/settings64.sh export PATH=$PATH:/projects/robin/programs/Vivado/2019.1/bin # Remove duplicants in the PATH variable PATH=$(printf "%s" "$PATH" | awk -v RS=':' '!a[$1]++ { if (NR > 1) printf RS; printf $1 }')
After you have added the latter and saved the .bashrc file, restart the terminal.
Launch
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
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