CMPE 415 UMBC
Prof. Ryan Robucci
https://www.xilinx.com/support/documentation-navigation/design-hubs.html
You'll need to install Xilix Vivado, the version that uses a "Webpack" (free) license.
Here are some useful links:
During the process, you'll need to register for a free Xilinx account: You may want to make your username something like "you_umbc" and use your umbc email For "Company Name," you can use "University of Maryland Baltimore County" or "UMBC" For "Job Function" you can use "Student"
I'll assume use of Ubuntu 18.04 and bash shell going forward (Important: If you are not using a bash shell, just type "bash" at the command prompt) Once you download the installer, you need to add execute permissions to it: chmod +x Xilinx_Vivado_SDK_Web_2018.2_0614_1954_Lin64.bin
If you want to install to a "system" directory (this is what I will do) you'll need to run the installer as sudo.
sudo Xilinx_Vivado_SDK_Web_2018.2_0614_1954_Lin64.bin
Note: This installation program will not install cable drivers on Linux. This item will need to be installed separately, with administrative privileges. In Windows, you can install the drivers as part of the installation.
 
 
 
 
 
 

When finished installation, Information Center Open appears with an update. During update processes it says to close Xilinx apps, but I left the Xilinx Information Center Open though. When finished, View->Refresh in the Xilinx Information Center
Now we need to install drivers for Linux. The install scripts and files are embedded in the installation directory.
The process is described here: https://www.xilinx.com/support/documentation/sw_manuals/xilinx2018_1/ug973-vivado-release-notes-install-license.pdf PAGE 28
xxxxxxxxxxVivado Design Suite 2018.1 Release Notes28UG973 (v2018.1) April 12, 2018www.xilinx.comChapter 3:Download and InstallationInstalling Cable DriversOn Windows,Install Cable Driversis an optional selection in the installer.For Linux, because root or sudo access is required to install drivers, this option has beenremoved from the Linux installer beginning inVivado 2015.4. The general Vivado installercan now be run on Linux without root or sudoprivileges. To install cable drivers on Linux,there is now a script that must be run as root or sudo post installation.Script Location:<Vivado InstallDir>/data/xicom/cable_drivers/lin64/install_script/install_drivers/Script Name:install_drivers
I installed Vivado under /tank/opt/Xilinx, so I cd to the appropriate directory and run the installer using sudo
xxxxxxxxxxrobucci@PC:~$ cd /tank/opt/Xilinx/Vivado/2018.2/data/xicom/cable_drivers/lin64/install_script/install_driversrobucci@PC:/tank/opt/Xilinx/Vivado/2018.2/data/xicom/cable_drivers/lin64/install_script/install_drivers$ sudo ./install_drivershere is the result:
x[sudo] password for robucci:INFO: Installing cable drivers.INFO: Script name = ./install_driversINFO: HostName = robuccipcINFO: Current working dir = /tank/opt/Xilinx/Vivado/2018.2/data/xicom/cable_drivers/lin64/install_script/install_driversINFO: Kernel version = 4.15.0-32-generic.INFO: Arch = x86_64.Successfully installed Digilent Cable Drivers--File /etc/udev/rules.d/52-xilinx-ftdi-usb.rules does not exist.--File version of /etc/udev/rules.d/52-xilinx-ftdi-usb.rules = 0000.--Updating rules file.--File /etc/udev/rules.d/52-xilinx-pcusb.rules does not exist.--File version of /etc/udev/rules.d/52-xilinx-pcusb.rules = 0000.--Updating rules file.INFO: Digilent Return code = 0INFO: Xilinx Return code = 0INFO: Xilinx FTDI Return code = 0INFO: Return code = 0INFO: Driver installation successful.CRITICAL WARNING: Cable(s) on the system must be unplugged then plugged back in order for the driver scripts to update the cables.Now you should be able to plug in the board. Before you do, if you are admin you can clear the dmesg log
xxxxxxxxxxsudo dmesg --clearOn any computer (e.g. a lab computer), you can run dmesg to see the latest entries:
xxxxxxxxxxdmesgYou'll see something at the end like this:
xxxxxxxxxx[1276454.772315] usb 5-2: new high-speed USB device number 6 using xhci_hcd[1276454.925309] usb 5-2: New USB device found, idVendor=0403, idProduct=6010[1276454.925311] usb 5-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3[1276454.925312] usb 5-2: Product: Digilent USB Device[1276454.925313] usb 5-2: Manufacturer: Digilent[1276454.925314] usb 5-2: SerialNumber: 210292A6E473[1276454.928982] ftdi_sio 5-2:1.0: FTDI USB Serial Device converter detected[1276454.929007] usb 5-2: Detected FT2232H[1276454.929124] usb 5-2: FTDI USB Serial Device converter now attached to ttyUSB0[1276454.931229] ftdi_sio 5-2:1.1: FTDI USB Serial Device converter detected[1276454.931282] usb 5-2: Detected FT2232H[1276454.931460] usb 5-2: FTDI USB Serial Device converter now attached to ttyUSB1robucci@PC:~/Xilinx_Projects/HW1$
For the curious: Some vendor and product ids are listed here http://www.linux-usb.org/usb.ids
Some board vendors provide support files for creating a new project easier. This is not required, but is worth the effort The process is described here: https://reference.digilentinc.com/reference/software/vivado/board-files#installation
Here is what I had to do:
xxxxxxxxxxgit clone https://github.com/Digilent/vivado-boards/cp -R ./vivado-boards/new/board_files/nexys4_ddr /tank/opt/Xilinx/Vivado/2018.2/data/boards/board_files/Cleanup (Always pause for a moment after you type an rm command before hitting Enter)
xxxxxxxxxx/bin/rm -Rf vivado-boardssource /tank/opt/Xilinx/Vivado/2018.2/settings64.shvivado