- If you haven't already, create a free Xilinx account.
- On your local machine, download the Vivado HLx 2018.3 Linux Self Extracting Web Installer.
- Make the Vivado installer executable and run it:
> chmod +x Xilinx_*.bin
> sudo ./Xilinx_*.bin
- Once the installer loads, click "Next".
- Then enter your Xilinx username and password and leave "Download and Install Now" selected. Click "Next".
- Click "I Agree" to all three statements if you agree :-). Click "Next".
- Select "Vivado HL WebPACK" and click "Next".
- Under "Design Tools", make sure that "Vivado Design Suite" and "Software Developer Kit (SDK)" are selected.
- In the "Devices" menu, de-select all parts except "SoCs" -> "Zynq-7000". Click "Next".
- Note: If you want to use a different board, then pick the appropriate part family. For example, if you are using the Nexys4 DDR board, pick "7 Series" -> "Artix-7".
- For the installation directory, create a directory called "/tools/Xilinx" select it. Then de-select "Create program group entries" and "Create desktop shortcuts". Click "Next".
- Click "Install" and wait for the installer to finish. It will take about an hour.
- Install the Xilinx cable drivers:
> cd /tools/Xilinx/Vivado/2018.3/data/xicom/cable_drivers/lin64/install_script/install_drivers
> sudo ./install_drivers
- Do some permissions cleanup:
> sudo chown -R $USER ~/.Xilinx/Vivado
> sudo chmod -R 777 ~/.Xilinx/Vivado
> sudo chgrp -R $USER ~/.Xilinx/Vivado
- Add the Vivado binary directory to your path:
> echo 'export PATH="/tools/Xilinx/Vivado/2018.3/bin:/tools/Xilinx/SDK/2018.3/bin:$PATH"' >> ~/.bashrc
> source ~/.bashrc
- Test Vivado
> vivado -version
Vivado v2018.3 (64-bit)
SW Build 2405991 on Thu Dec 6 23:36:41 MST 2018
IP Build 2404404 on Fri Dec 7 01:43:56 MST 2018
Copyright 1986-2018 Xilinx, Inc. All Rights Reserved.
Run the following commands to make the PYNQ UART accessible to non-root users. Note that this is a fairly broad rule; it makes all devices matching the pattern "/dev/ttyUSB*" available to all users.
> echo 'KERNEL=="ttyUSB[0-9]*",MODE="0666"' | sudo tee -a /etc/udev/rules.d/99-ftdi.rules > /dev/null
> sudo udevadm control --reload-rules
Download Pynq-Z1 board files and copy them over to the appropriate location in the Vivado directory structure:
> wget https://github.com/cathalmccabe/pynq-z1_board_files/raw/master/pynq-z1.zip
> unzip pynq-z1.zip
> sudo cp -r pynq-z1 /tools/Xilinx/Vivado/2018.3/data/boards/board_files/.
Note: if you are using a different board, you'll want to install the corresponding board files. For example, if you are using the Nexys4 DDR board, then you would download https://github.com/Digilent/vivado-boards/archive/master.zip and move the contained nexys4_ddr
folder into the board_files
directory. More details are here.
how to install nexys4_ddr in vivado??