- 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-rulesDownload 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.
Hmm, the first thing I would try is restarting Vivado, since that is required whenever you add board files.
If that doesn't work, then please check that the
nexys4_ddrfolder is placed at this exact path:For example, if the folder was placed one level up in the
boardsfolder, it won't work.Another thing to check is that you have installed support for the FPGA that is used on the Nexys4 DDR board, which is
XC7A100T-1CSG324C. If you try to create a new project with that exact FPGA part, does it work?Finally, you can try debugging with the TCL console. When you launch Vivado, click Window -> Tcl Console. Then see what boards are supported by typing
get_boardsin the TCL console at the bottom of the window. Since there are potentially a lot of boards, you might find it convenient to search the list like this: