How to install Vivado 2020.2 on Linux - tomas-fryza/vhdl-course GitHub Wiki

Installation

Important: In Jan-2024, the Self Extracting Web Installer 2020.2 can not be used ! It is obsolete:( The solution is to use the full installer and therefore the first three steps of the installation are as follows.

Solution:

  1. Download Vivado HLx 2020.2: All OS installer Single-File (TAR/GZIP - 43.07 GB). You will need a free AMD (Xilinx) account to do so.

  2. Check MD5 sum.

    md5sum Xilinx_Unified_2020.2_1118_1232.tar.gz
    # Correct MD5 SUM Value is: 523e8596f114ab5e389c14df50ecb1d8
    
  3. Extract and run the installer.

    # Extract file
    tar -xvf Xilinx_Unified_2020.2_1118_1232.tar.gz 
    
    # Run the installer
    cd Xilinx_Unified_2020.2_1118_1232/
    ./xsetup
    
  1. Download Xilinx Unified Installer 2020.2: Linux Self Extracting Web Installer (BIN - 354.08 MB). You will need a free AMD (Xilinx) account to do so.

  2. Go to your Download folder and from right-click menu, select open terminal here. Check the MD5 sum to see if the installation file was downloaded correctly. If the checksum value is different, download the installation file again.

    md5sum Xilinx_Unified_2020.2_1118_1232_Lin64.bin
    # Correct MD5 SUM Value is: 0c74a74cbef649dceea34774c5bca490
    
  3. Add execution permissions and run the installer.

    # Add execution permissions
    chmod +x ./Xilinx_Unified_2020.2_1118_1232_Lin64.bin
    
    # Run the installer
    ./Xilinx_Unified_2020.2_1118_1232_Lin64.bin
    
  • Use your AMD (Xilinx) E-mail Address and Password for user authentication (same as you used to download the installer).

  • Select Download and Install Now.

  • Select Vivado product to install.

  • Select Vivado HL WebPACK edition to install.

  • Customize your installation be selecting Vivado Design Suite, Artix-7 devices, and let Enable WebTalk for Vivado... checked.

    vivado_customize

  • Accept all license agreements.

  • Select the installation directory, such as: /home/your-login/bin/Xilinx or /opt/Xilinx (Admin privileges needed).

    vivado_directory

  • Click Next > button and install the tool. The installation process will take tens of minutes to complete.

  1. Ubuntu 20.04 users can also install needed libraries:

    # For the tool
    sudo apt-get install libtinfo5
    
    # For the simulation
    sudo apt-get install build-essential libncurses5
    
  2. Open .bashrc file

    vim /home/your-login/.bashrc
    

    and add the following line at the end of the file.

    source /home/your-login/bin/Xilinx/Vivado/2020.2/.settings64-Vivado.sh
    

    Reload the shell script by

    source ~/.bashrc
    
  3. Run Vivado using terminal emulator (or Desktop shortcut) and follow instructions to create and simulate new project.

    vivado
    

    Optionally set main properties in menu Tools > Settings...

    • Project > Start in directory: Home directory
    • Project > Target Language: VHDL
    • Text Editor > Fonts and Colors > Name: Courier 10 Pitch, Size: 14

Nexys A7 board support

  1. Add board definition files. Download and extract Zip file and copy content of vivado-boards-master/new/board_files/ to your Vivado installation folder YOUR_VIVADO_LOCATION/2020.2/data/boards/board_files/.

    You can find detailed instructions here.

  2. Install Linux cable driver. From Digilent Adept 2 software, download latest Linux 64-bit deb version of Runtime and Utilities.

    Note: All files are also here.

    # Install both packages
    sudo dpkg -i ./digilent.adept.runtime_2.27.9-amd64.deb
    sudo dpkg -i ./digilent.adept.utilities_2.7.1-amd64.deb
    
    # If necessary, reboot Linux, or initialize the new udev rules file
    sudo udevadm control --reload-rules
    

    You can find detailed and useful information here.

  3. Add local user your-login to Linux group dip.

    sudo usermod -a -G dip your-login
    
  4. Run Vivado using terminal emulator (or Desktop shortcut) and follow instructions to program the Nexys A7 board.

Un-install

  1. Run the shell script in /home/your-login/bin/Xilinx/.xinstall/Vivado_2020.2/ in un-installation mode.

    cd /home/your-login/bin/Xilinx/.xinstall/Vivado_2020.2/
    
    ./xsetup -Uninstall
    

    Follow the graphical un-installer. Once installation is completed remove unwanted libraries.

    sudo apt-get autoremove
    
  2. Remove line source /home/your-login/bin/Xilinx/Vivado/2020.2/.settings64-Vivado.sh from your /home/your-login/.bashrc file.

Tested on

Version Result (yyyy-mm-dd) Note
Linux Mint 21.2 (Victoria) OK (2024-01-29) Laptop
Linux Mint 20.3 (Una) OK (2022-02-22) Lab
# FYI: How to check OS version in Linux
cat /etc/os-release

# Or by Neofetch
neofetch