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
xxxxxxxxxx
Vivado Design Suite 2018.1 Release Notes
28
UG973 (v2018.1) April 12, 2018
www.xilinx.com
Chapter 3:
Download and Installation
Installing Cable Drivers
On Windows,
Install Cable Drivers
is an optional selection in the installer.
For Linux, because root or sudo access is requir
ed to install drivers, this option has been
removed from the Linux installer beginning in
Vivado 2015.4. The general Vivado installer
can now be run on Linux without root or sudo
privileges. To install cable drivers on Linux,
there is now a script that must be r
un as root or sudo post installation.
Script Location
:
<Vivado Install
Dir>/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
xxxxxxxxxx
robucci@PC:~$ cd /tank/opt/Xilinx/Vivado/2018.2/data/xicom/cable_drivers/lin64/install_script/install_drivers
robucci@PC:/tank/opt/Xilinx/Vivado/2018.2/data/xicom/cable_drivers/lin64/install_script/install_drivers$ sudo ./install_drivers
here is the result:
x[sudo] password for robucci:
INFO: Installing cable drivers.
INFO: Script name = ./install_drivers
INFO: HostName = robuccipc
INFO: Current working dir = /tank/opt/Xilinx/Vivado/2018.2/data/xicom/cable_drivers/lin64/install_script/install_drivers
INFO: 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 = 0
INFO: Xilinx Return code = 0
INFO: Xilinx FTDI Return code = 0
INFO: Return code = 0
INFO: 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
xxxxxxxxxx
sudo dmesg --clear
On any computer (e.g. a lab computer), you can run dmesg to see the latest entries:
xxxxxxxxxx
dmesg
You'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 ttyUSB1
robucci@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:
xxxxxxxxxx
git 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-boards
source /tank/opt/Xilinx/Vivado/2018.2/settings64.sh
vivado