这是文档的旧修订!


安装Vivado,Xilinx SDK和Digilent板文件

Introduction

本指南将显示安装和配置Vivado开发环境的过程,该环境用于开发项目以在Digilent FPGA上运行。除了安装外,Vivado还将指向Digilent的董事会支持文件,该文件用于使创建新项目的过程更快。此外,董事会文件使在项目中添加各种外围设备(例如DDR内存)变得更加容易。Xilinx SDK用于开发针对您在Vivado创建的硬件设计的C/C ++项目,将作为此过程的一部分安装。

Important:With the release of Vivado 2019.2, Xilinx introduced the Vitis Unified Software Platform. The installers differ slightly between versions after and before this point. Take a look at the安装Vivado,Vitis和Digilent板文件指南,如果您想安装2019.2版本或更新版本。


Prerequisites

  • 20+GBof free hard-drive space.

指导

1.安装Vivado

笔记:While the screenshots for this guide were taken for Vivado 2017.4, the installation process has not substantially changed in newer versions (through to 2019.1, at time of writing).

1.1

打开Xilinx's Downloads page在新标签中。打开“ Vivado Archive”,并导航到要安装的版本。查找标题为“ Vivado Design Suite -HLX版本 - (版本编号)完整产品安装”的页面部分。为适当的操作系统选择“自提取Web安装程序”下载。请按照提示登录或创建Xilinx网站的帐户。登录后,Internet浏览器将下载所选的安装程序。

Important:数字-provided example projects target specific versions of Vivado and it may be difficult or impossible to port them to other versions. Take care when choosing a version.


1.2

要启动安装程序,请选择适当操作系统的下拉列表,然后按照说明:

Windows

使用Windows Explorer在下载目录中查找“安装程序”可执行文件。双击可执行文件以运行它。

Linux

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 .bin && sudo ./.bin

笔记:在Linux中,所有使用Vivado的使用都应作为超级用户进行。

第1节中的其余步骤对于Windows和Linux都是相同的。


1.3

At the Welcome screen, make sure that the operating system of the computer being used is listed in the compatibility list, then clickNext


1.4

Use the same credentials as on the Xilinx website for user authentication. Select theDownload and Install Now选项并单击Next


1.5

阅读和接受所有三个许可协议,然后单击Next


1.6

在“选择要安装”屏幕上,提供了几个选项。Vivado Webpack版是完全免费的,但是在使用Kintex-7或VirTex-7零件的Digilent FPGA开发时,将无效。Vivado Design Edition可以无许可使用,也是Digilent推荐的版本。使用Vivado System Edition需要许可证。本指南不涵盖许可的获取和管理。选择最合适的版本,然后单击Next


1.7

此屏幕为定制安装提供了更详细的选项。这些选项中的大多数不需要更改以进行基本安装,但是可以删除不必要的功能以减少在文件系统上的安装足迹 - 例如,大多数用户不需要他们的Vivado安装来支持Ultrascale,Kintex,Kintex,Kintex,Kintex,或Virtex设备。下面的列表中描述了初学者注意的重要选择。查看选择,然后单击Next

  • Design Tools:
    • Vivado Design Suite:
      • 安装主要的Vivado开发环境。
    • 软件开发工具包:
      • 安装基于Eclipse的开发环境,用于微型布丁和Zynq设计。
    • DOCNAV:
      • 安装s a navigation tool to quickly find appropriate Xilinx documentation of IP and examples.
  • Devices:
    • Allows customization of the set of Xilinx FPGA parts that can be designed for after installation.
  • 安装ation Options:
    • 安装Cable Drivers:
      • 安装s the appropriate drivers so that a connected FPGA can be programmed.If Vivado has not been installed before, make sure to check this!
    • 获取或管理许可密钥:
      • 安装完成后,启动Xilinx许可证管理器。大多数用户不需要管理许可证。

笔记:Changes can be made to the installation after it is complete by selecting Add Design Tools or Devices under the Help menu in the Vivado toolbar.


1.8

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. ClickNextand then是的如果提示确认安装程序将创建一个新目录。


1.9

查看“安装摘要”,然后单击安装


1.10

安装过程将需要一段时间,可能超过一个小时。找到其他工作,直到完成为止。


1.11

Vivado现在成功安装!如果“Acquire or Manage a License Key” box was checked in Step 1.7, the Vivado License Manager will launch. The majority of users will not need a license to use Vivado, so the License Manager can just be关闭


2. Installing Cable Drivers on Linux

Windows用户可以跳过本节并继续进行Step 3

2.1

Vivado安装程序不安装在Linux系统上识别FPGA所需的USB驱动程序,无论是否检查了该选项。为了安装这些驱动程序,请导航到Vivado安装data/xicom/cable_drivers/lin64/install_script/install_drivers/directory in a console window. The Vivado installation directory is typically the/opt/Xilinx/Vivado/*/目录 - 代表Vivado版本号的“*”(例如,2018.2)。从此目录中,运行。/install_driverscommand 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.


2.2

为了使用USB驱动程序与一个串行项inal, 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 thesudo adduser $USER dialoutcommand. 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 commandadduser dialoutinstead, with “” replaced with the name of the user to be added.


3. Installing Digilent Board Files

3.1

Download theZIP archiveof the Digilent's “vivado-boards” Github repository and extract it into a memorable location where it can stay.


3.2

在Vivado-Boards Repo的“实用程序”子目录中找到“ vivado_init.tcl”文件。Copyandpaste它进入%appdata%/xilinx/vivado/Windows或Windows的目录$HOME/.Xilinx/Vivado/(after authenticating as superuser) in Linux. This file is a script that will be run whenever Vivado is launched. It will load Digilent's board files for use in Vivado from the directory they were extracted into.

笔记:脚本init.tcl应用于Vivado版本2016.4及以上的Vivado_init.tcl。如果安装了2016.4之前和之后的多个版本的Vivado,则应使用两个脚本。


3.3

打开the copied init script in a text editor. Change the text在脚本中,通往提取的Vivado-baars文件夹的路径。Saveand文件。


综上所述

With Vivado and Digilent's board files installed, you are ready to start developing FPGA projects! To start learning how to use Vivado, check out one of the tutorials below:


,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,