这是文档的旧修订!
安装Vivado和Digilent板文件
Introduction
本指南将显示安装和配置Vivado开发环境的过程,该环境用于开发项目以在Digilent FPGA上运行。除了安装外,Vivado还将指向Digilent的董事会支持文件,该文件用于使创建新项目的过程更快。此外,董事会文件使在项目中添加各种外围设备(例如DDR内存)变得更加容易。
先决条件
-
20+GBof free hard-drive space.
指导
1.安装Vivado
1.1
打开Xilinx's Downloads pagein a new tab. Find the section of the page entitled “Vivado Design Suite - HLx Editions - 2018.2 Full Product Installation”. 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 internet browser will download the selected installer.
1.2
要启动安装程序,请选择适当操作系统的下拉列表,然后按照说明:
- Windows
- Linux
第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 click下一个。
1.6
在“选择要安装”屏幕上,提供了几个选项。Vivado Webpack版是完全免费的,但是在使用Kintex-7或VirTex-7零件的Digilent FPGA开发时,将无效。Vivado Design Edition可以无许可使用,也是Digilent推荐的版本。使用Vivado System Edition需要许可证。本指南不涵盖许可的获取和管理。选择最合适的版本,然后单击下一个。
1.7
此屏幕为定制安装提供了更详细的选项。这些选项中的大多数不需要更改以进行基本安装,但是可以删除不必要的功能以减少在文件系统上的安装足迹 - 例如,大多数用户不需要他们的Vivado安装来支持Ultrascale,Kintex,Kintex,Kintex,Kintex,或Virtex设备。下面的列表中描述了初学者注意的重要选择。查看选择,然后单击下一个。
-
设计工具:
-
Vivado Design Suite:
-
安装主要的Vivado开发环境。
-
-
软件开发工具包:
-
安装基于Eclipse的开发环境,用于微型布丁和Zynq设计。
-
-
DOCNAV:
-
安装s a navigation tool to quickly find appropriate Xilinx documentation of IP and examples.
-
-
-
设备:
-
允许自定义安装后可以设计的Xilinx FPGA零件集。
-
-
安装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 going to
帮助→添加设计工具或设备in the Vivado toolbar.
1.8
屏幕显示“选择目标目录”w and where the installation will be placed in the computer's file system. Leaving all of these settings as default is typically fine. Click下一个接着是的如果提示确认安装程序将创建一个新目录。
2.在Linux上安装电缆驱动程序
Windows用户可以跳过本节并继续进行Step 3。
2.1
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“
NOTE: Some older versions of Vivado may require that the install_drivers command be extracted from a TAR file before use.
2.2
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 $用户拨号”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
3. Installing Digilent Board Files
3.1
下载archiveVivado板GitHub存储库的位置,并在需要的任何地方提取。
3.2
在Vivado-Boards Repo的“实用程序”子目录中打开“ vivado_init.tcl”文件。该文件是一个脚本,每当启动Vivado时都会运行。它将加载Digilent的木板文件,供其从其提取到的目录中在Vivado中使用。更改文字“
笔记:The file init.tcl should be used instead of Vivado_init.tcl when installing Vivado versions 2016.4 and older.
3.3
复制vivado_init.tcl并将其粘贴到“%appdata%/xilinx/vivado/”Windows或Windows的目录“ $ home/.xilinx/vivado/”(after authenticating as superuser) in Linux.
综上所述
Vivado has now been installed and it has access to Digilent's board files! To begin using Vivado to develop a project, check out one of the tutorials below: