ArchLinux is not officially supported by Vivado, but as happens with Xilinx ISE WebPACK, most of its features can be used with a bit of hacking.
Xilinx Vivado can be downloaded from its official website . It's recommended to download "Vivado HLx 2018.1: Full Installer For Linux Single File Download Image Including SDK" tarball, but make sure not to be in a hurry, as it's a large download (near 17 GB). Update tarballs can also be downloaded and installed later.
Installer needs ncurses5 libs, and will not work with ncurses 6 available at official repos. You can work-around this problem by installing Arch User Repository. You will also need to install ( for x86_64 Systems) for Xilinx Document Navigator to launch.AUR from the
You must install the main package, and it is also recommended to install the latest update patch.
Vivado and SDK
Once downloaded and unpacked the tarball, the install script must be patched to be able to properly detect the machine architecture. You can do it by going to the directory where installer is extracted and running:
$ sed -i.original 's/uname -i/uname -m/' xsetup
Install script will be patched and original will be backed up as
xsetup.original, just in case you need to restore it later. Once patched, just run the script; it should work perfect and install the suite without a problem:
It is recommended to install the suite at the default location
/opt/Xilinx, as further instructions in this page will assume the suite is installed there.
It is recommended to install the latest update patch, and repeat the process each time a new patch is released. Note that update patches cannot be applied to WebPACK installs. If you installed Vivado WebPACK, skip this section.
To install the update, repeat the same hack used to install the suite. Once downloaded and unpacked, go to the directory containing the extracted tarball, patch the install script and run it:
$ sed -i.original 's/uname -i/uname -m/' xsetup # ./xsetup
If you already have a license file, you can load it using Vivado License Manager. Unfortunately, if you want to obtain a WebPack license, further steps are needed. Vivado installs old stdc++ libraries, causing problems when spawning programs not included with Vivado Suite (like your default browser). To fix this, do the following steps:
# cd /opt/Xilinx/Vivado/2015.4/lib/lnx64.o/ # mv libstdc++.so.6 libstdc++.so.6.orig # ln -s /usr/lib/libstdc++.so.6
Close any running Vivado Suite program, and launch license manager:
If you try obtaining a WebPack license, your default browser should open, and the license should be generated normally. If Vivado License Manager fails to automatically load the generated license, download the .lic file, and manually load it.
Digilent USB-JTAG Drivers
Make sure you have installed Arch User Repository .AUR from the
To install the Digilent Adept Runtime, it is recommended to install Arch User Repository.AUR from the
In addition, installingAUR may do good to configuring your board.
To ease launching programs, you can create the following .desktop files for Vivado IDE, SDK and DocNav:
#!/usr/bin/env xdg-open [Desktop Entry] Version=1.0 Type=Application Name=Xilinx Vivado IDE Exec=sh -c "unset LANG && unset QT_PLUGIN_PATH && source /opt/Xilinx/Vivado/2018.1/settings64.sh && vivado" Icon=/opt/Xilinx/Vivado/2018.1/doc/images/vivado_logo.png Categories=Development; Comment=Vivado Integrated Development Environment
#!/usr/bin/env xdg-open [Desktop Entry] Version=1.0 Type=Application Name=Xilinx SDK Exec=sh -c "unset LANG && unset QT_PLUGIN_PATH && source /opt/Xilinx/SDK/2018.1/settings64.sh && xsdk" Icon=/opt/Xilinx/SDK/2018.1/data/sdk/images/sdk_logo.png Categories=Development; Comment=Xilinx Software Development Kit
#!/usr/bin/env xdg-open [Desktop Entry] Version=1.0 Type=Application Name=Xilinx Documentation Navigator Exec=sh -c "/opt/Xilinx/DocNav/docnav" Icon=/opt/Xilinx/DocNav/resources/doc_nav_application_48.png Categories=Development; Comment=Xilinx Documentation Navigator
libncurses.so.5 not found
Xilinx Vivado requires version 5 of ncurses while ArchLinux has already updated to a newer version.
To obtain this library, you can either search in your pacman cache to see if you already have a local copy:
$ ls /var/cache/pacman/pkg/ | grep ncurses
or download it from the Arch Linux Archive
After obtaining the package, simply extract
You'll need to recompile glibc (just take the PKGBUILD from the abs) with
--disable-lock-elision. Instead of patching the system libc in /usr/lib, copy the newly
Don't forget to repeat this when glibc gets upgraded.
Vivado HLS testbench error with GCC
This error has been observed in Vivado 2016.4, 2017.1, and 2017.2.
Download an older version of GCC of GCC (2.17 or 2.18) and unpack it. Copy
$HLS_install_directory/lnx64/tools/gcc/lib/gcc/x86_64-unknown-linux-gnu/4.6.3/include-fixed/features.h and add the following:
/* Whether to use feature set F. */ #define __GLIBC_USE(F) __GLIBC_USE_ ## F