Installing Vivado, Vitis, and Digilent Board Files
This guide walks through the process of installing and configuring the Vivado and Vitis development environments. These applicaitons are used to develop projects to run on Digilent FPGA Development Boards. In addition to the installation, Digilent's Board Support Files will be installed, which are used to make the process of creating a new project significantly faster. In addition, the board files make it significantly easier to add a variety of peripherals (such as DDR memory), as well as a Zynq processor (for Zynq boards) to a project.
Important: Digilent-provided example projects target specific versions of Vivado and Vitis / Xilinx SDK and it may be difficult or impossible to port them to other versions. Take care when choosing a version.
This guide was originally written for Vivado and Vitis 2019.2, and is compatible with 2020.1. The installation process is unlikely to substantially change in newer versions. For instructions on how to install older versions, see Installing Vivado, Xilinx SDK, and Digilent Board Files.
- 60+ GB of free hard-drive space. The actual number varies depending on tools to be installed, and parts to be supported.
Important: Digilent provides three varieties of example project: Standalone Hardware, Baremetal Software, and Petalinux Software Projects. Depending on how deeply you wish to dig into these projects, the tools you will need to install will differ. This guide describes how to get a full installation of Vivado and Vitis, which will support all three project categories.
1. Install Vivado
Open Xilinx's Downloads page in a new tab. Find the section of the page entitled “Vivado Design Suite - HLx Editions - <Version #>”. Installers for older versions may be found within the page's archive.
Select the “Self Extracting Web Installer” download for the appropriate operating system. Follow the prompts to sign in or create an account for Xilinx's website. Once signed in, the browser will download the selected installer.
To launch the installer, choose the dropdown for the appropriate operating system, and follow the instructions:
- Use Windows Explorer to find the installer executable in the Downloads directory. Double click on the executable to run it.
Navigate to the directory that the installer binary was downloaded to in a terminal application, then enter the command below with the correct filename to execute it as a super-user:
chmod +x <installer>.bin && sudo ./<installer>.bin
The rest of the steps in Section 1 are the same for both Windows and Linux.
At the Welcome screen, make sure that the operating system of the computer being used is listed in the compatibility list, then click Next.
Use the same credentials as on the Xilinx website for user authentication. Select the Download and Install Now option and click Next.
On the “Select Product to Install” screen, several options are presented. Select the Vitis option to install both the Vitis Unified Software Platform and Vivado Design Suite.
After selecting Vitis as the product to install, only one option is available for the edition. Click Next
This screen provides more detailed options for the customization of the installation. The majority of these options do not need to be changed for a basic installation, but unnecessary features can be removed to reduce the installation's footprint on the file-system - for example, most users will not need their Vivado installation to support Ultrascale, Kintex, or Virtex devices. The important options for a beginner to note here are described in the list below. Review the selections, then click Next.
- Design Tools:
- Installs a development environment for writing software targeting processors on Xilinx FPGAs.
- Vivado Design Suite:
- Installs a development environment for creating hardware designs targeting FPGA fabric on Xilinx FPGAs.
- Installs a navigation tool to quickly find appropriate Xilinx documentation of IP and examples.
- Allows customization of the set of Xilinx FPGA parts that can be designed for after installation. Deselecting some of these options can greatly reduce the size of the installation. Make sure that your installation will support the devices on your FPGA boards!
- Installation Options:
- Install Cable Drivers:
- Installs the appropriate drivers so that a connected FPGA can be programmed. If Vivado has not been installed before, make sure to check this!
- Acquire or Manage a License Key:
- Launches the Xilinx License manager after installation is complete. Many new users will not need to manage licenses.
NOTE: Changes can be made to the installation after it is complete by going to Help → Add Design Tools or Devices in the Vivado toolbar.
The “Select Destination Directory” screen shows how and where the installation will be placed in the computer's file system. Leaving all of these settings as default is typically fine. Click Next and then Yes if prompted to confirm that the installer will be creating a new directory.
2. Installing Cable Drivers on Linux
Windows users may skip this section and continue on to Step 3.
The Vivado installer does not install the USB drivers required to recognize an FPGA on a Linux system, regardless of whether the option was checked or not. In order to install these drivers, navigate to the “<Vivado Install>/data/xicom/cable_drivers/lin64/install_script/install_drivers/” directory in a console window. The “<Vivado Install>” directory is typically the “/opt/Xilinx/Vivado/*/” directory - the “*” representing the Vivado version number. From within this directory, run the “./install_drivers” command as a super-user. Once this command completes successfully, the required drivers will be installed.
NOTE: Some older versions of Vivado may require that the install_drivers command be extracted from a TAR file before use.
In order to use the USB drivers with a serial terminal, each user that will be using serial terminals must be added to the dialout group. Serial terminals can be very useful for debugging FPGA designs that implement a USB-UART controller. A user can be added to the dialout group with the “sudo adduser $USER dialout” command. Note that this only adds the user that is currently active. In order to add a non-super-user while authenticated as root, use the command “adduser <username> dialout” instead, with “<username>” replaced with the name of the user to be added.
3. Installing Digilent Board Files
Digilent provides board files for each FPGA development board. These files make it easy to select the correct part when creating a new project and allow for automated configuration of several complicated components used in many designs.
Download the archive of the vivado-boards Github repository and extract it.
Open the folder extracted from the archive and navigate to its 'new/board_files' directory. Select all folders within this directory and copy them.
Note: When installing Vivado versions 2014.4 or older, use the files found in 'old/board_files' instead.