1.3.1. Installation of Vivado 2020.1

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.

1.3.1.1. Install Vivado 2020.1

  1. Head to AMD's downloads webpage.

  2. Go to Vivado Archive and select the 2020.1 option.

    ../../_images/VivadoArchive.png
    ../../_images/Vivado-2020_1.png
  3. In the 2020.1 dropdown menu, scroll down until you see the “Vivado Design Suite - HLx Editions - 2020.1 Full Product Installation” (just after the first download link).

    ../../_images/Vivado-update1.png
    ../../_images/Vivado-full-download.png
  4. There are three download links. Use the Vivado HLx 2020.1: All OS installer Single-File Download (TAR/GZIP - 35.51 GB) as Windows and Linux self extracting Web Installers do not work since Xilinx was acquired by AMD.

    ../../_images/Vivado-tar-file.png
  5. After clicking on the link, you will be asked to sign in. Use your AMD username and password. If you don’t have an AMD account, you will have to create one. It’s free.

    ../../_images/AMD_sign_in.png
  6. You will be redirected to the download centre, where you input your information and click on the “DOWNLOAD” button at the bottom of the page to start the download. Please note that this is a 35 GB file so depending on your internet connection it might take a while.

    ../../_images/AMD_download_centre.png
  7. Extract the .tar.gz file using your preffered method.

1.3.1.1.1. Windows

To extract the .tar.gz file you will need a program like 7zip or WinRAR.

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.

1.3.1.1.2. Linux

Now you have to run the downloaded file for installation. Open a terminal, go to the downloaded file directory (cd Downloads/).

First, extract the downloaded .tar.gz file. Use the following command:

tar -xvzf example1.tar.gz

or extract it to a specific directory:

tar -xvzf <file-name>.tar.gz -C </path/to/directory>

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:

../../_images/Warning1.png

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.

../../_images/Warning2.png

To avoid this warning, we will “fake” our OS version for the duration of the installation process. 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.6 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:

Quick reference version lines for different Ubuntu versions:

  • Ubuntu 18.04 - VERSION=”18.04.4 LTS (Bionic Beaver)”

  • Ubuntu 20.04 - VERSION=”20.04.6 LTS (Focal Fossa)”

  • Ubuntu 22.04 - VERSION=”20.04.4 LTS (Jammy Jellyfish)”

../../_images/Warning3.png

Note

If Ubuntu installs packages while you are faking the OS version and this causes an issue with the system, try to execute the following command:

sudo apt-get install --reinstall base-files

Re-run the installation file:

sudo ./Xilinx_Unified_2020.1_0602_1208_Lin64.bin

Now the installation process should go through.

../../_images/Screen2.png

It will open this installation wizard. Click Next.

../../_images/Screee3.png

Insert your Xilinx ID and password. Check Download and install Now. Click Next.

../../_images/Screen4.png

Check all the boxes. Click Next.

../../_images/Screen5.png

Check Vivado HL WebPACK. Click Next.

../../_images/Screen6.png

Check all the boxes in the next image. Uncheck Ultrascale and Ultrascale+ as you don’t need them. Click Next.

../../_images/Screen7.png

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.

../../_images/Screen8.png

Install additional libraries after installing Vivado by running the following command in Terminal.

sudo apt-get install libxft2 libxft2:i386

Note

If you are running a 32-bit system, libxft2:i386 library will not install (Unable to locate package libxft2:i386). Solution? Install libxft2, which we already did :D.

Warning

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.

If Ubuntu happens to install some updates while you are faking the OS version and this causes an issue with the system, try to execute the following command:

sudo apt-get install --reinstall base-files