This installation tutorial is intended for anyone who wants to use the FPGA of the Red Pitaya board. You need one of the following on your computer or virtual machine: Ubuntu OS, Linux Mint OS, or Windows with WSL (Windows Subsystem for Linux). After that, follow the instructions to install Vivado 2020.1.
Note
Why not use an up-to-date Vivado Version?
The reason is quite simple actually, Red Pitaya software was written for Vivado version 2020.1.
Install Vivado 2020.1
DownloadĀ Vivado Design Suite 2020.1 - HLx EditionsĀ -Linux Self-Extracting Web Installer (Ubuntu or Linux Mint), or Windows Self Extracting Web Installer (WSL). If you donāt have an Xilinx account, you will have to create one. Itās free.
Windows
Install Vivado as you would any other program, but remember/write down the path to the installation folder; you will need it later. Do not forget to install the libraries at the end of this webpage (through the WSL). Refer to Linux installation process fromĀ Installation WizardĀ onwards.
Linux
Now you have to run the downloaded file for installation. Open a terminal, go to the downloaded file directory (cd Downloads/), and insert the following commands. The first command is to make the file executable, and the second is to run the file.
chmod +x ./Xilinx_Unified_2020.1_0602_1208_Lin64.bin
sudo ./Xilinx_Unified_2020.1_0602_1208_Lin64.bin
Vivado 2020.1 is not supported on Ubuntu version 20.04 or above (but it works just fine)āwhen installing it you will encounter the following warning:
The installer window will also glitch and disappear after you clickĀ OKĀ ā forcing you to pressĀ Ctrl+CĀ in the terminal to force quit the installation process (this will happen with both the unified and Linux web-installer).
To avoid this warning, we will āfakeā our OS version for the duration of the installation process (this needs to be done for both the unified and Linux web-installer). Locate theĀ os-releaseĀ file in theĀ /etcĀ directory. Open the file as the super user with a text editor (nano, for example):
sudo nano os-release
Make a note of theĀ VERSIONĀ line (for Ubuntu 20.04, it should beĀ VERSION=ā20.04.3 LTS (Focal Fossa)ā). Then, in theĀ VERSIONĀ line, change it toĀ VERSION=ā18.04.4 LTS (Bionic Beaver)āĀ and save the file (DO NOT** forget to change it back once the installation is complete). The edited file should look like this:
Re-run the installation file:
sudo ./Xilinx_Unified_2020.1_0602_1208_Lin64.bin
Now the installation process should go through.
It will open this installation wizard. Click Next.
Insert your Xilinx ID and password. CheckĀ Download and install Now. Click Next.
Check all the boxes. Click Next.
CheckĀ Vivado HL WebPACK. Click Next.
Check all the boxes in the next image. UncheckĀ UltrascaleĀ andĀ Ultrascale+Ā as you donāt need them. Click Next.
The default installation directory isĀ /opt/Xilinx, so install there. Click Next.
Check the information and click Install. Now wait for the download and installation.
It will open the licence manager, and you will have to get the free WebPACK licence file. ClickĀ Connect NowĀ orĀ Save Link As. This will take you to the Xilinx licence manager website, where you must follow the instructions to generate theĀ ISE WebPACK license. The licence file will be sent to your registered e-mail address. After that, click onĀ Load LicenseĀ and clickĀ Copy LicenseĀ to copy yourĀ .licĀ file to register Vivado.
Install additional libraries after installing Vivado by running the following command in Terminal.
sudo apt-get install libxft2 libxft2:i386
When the installation finishes doĀ NOTĀ forget to change yourĀ VERSIONĀ in theĀ os-releaseĀ file back to what is was before ā failure to do so might cause problems with other programs.