Skip to main content

How to install and run Vivado 2014.x

Now I am going to share some experience in the FPGA area. It appears, the now-supported tool by Xilinx, Vivado, may be ridiculously tricky to install on Ubuntu.

The main gotcha is actually to run the installer. So if you use the web-installer (approx 73MB), you may run into a "no file found" problem while installer self extracting. Looking around the official Xilinx support site, you will find a "fix". For the sake of installation, you need to temporarily replace /bin/sh -> /bin/dash with /bin/bash.

$ sudo rm /bin/sh
$ sudo ln -s /bin/bash /bin/sh

Then you may wonder how to run the Vivado machinery. To simplify things, I have created a simple shell script vivado.sh in my home:

source /[installation path]/Xilinx/Vivado/2014.[x]/settings64.sh
/[installation path]/Xilinx/Vivado/2014.[x]/bin/vivado

Do not forget to

$ chmod +x vivado.sh
.
And voila

./vivado.sh

****** Vivado v2014.2 (64-bit)
  **** SW Build 932637 on Wed Jun 11 13:08:52 MDT 2014
  **** IP Build 924643 on Fri May 30 09:20:16 MDT 2014
    ** Copyright 1986-2014 Xilinx, Inc. All Rights Reserved.

start_gui

Comments

Popular posts from this blog

How to program SPI flash memory on Digilent Nexys4 and other 7th generation devices using Vivado 2014.x

Update: The methods described below work also on Vivado 2015! Please let me know if you had any issues with other Vivado versions. The information in the official user guides and tutorials seems to be fragmentary and sometimes out-of-date, that's why I decided to fill in this gap, not waiting for the official Xilinx updates. Our goal is to show how to program the SPI flash memory of the 7th generation Xilinx devices with Vivado 2014 on example of  Nexys4  board. Note:  before we start, we assume you already have a working project, that means the generated bitstream file works on your device. If not, you may want to go directly to the  Program the SPI flash  section to test your Nexys4 board with prepared .mcs file. Plan Configure the hardware to work with SPI flash memory Regenerate the bitstream file Convert the bitstream file into the "Prom" format Program the SPI flash Boot the device Configure the hardware to work with SPI flash memory ...

How to fix 'ImportError: cannot import name QtCore' on Debian Linux

What to do if such import error occurs? >>> import PySide >>> from PySide import QtCore Traceback (most recent call last):   File "<stdin>", line 1, in <module> ImportError: cannot import name QtCore 1. Try to locate where your pyside is installed: $ locate PySide ... /usr/lib/python2.7/dist-packages/PySide /usr/lib/python2.7/dist-packages/PySide/__init__.py /usr/lib/python2.7/dist-packages/PySide/__init__.pyc /usr/lib/python2.7/dist-packages/PySide/phonon.so /usr/lib/python2.7/dist-packages/PySide/QtCore.so /usr/lib/python2.7/dist-packages/PySide/QtDeclarative.so /usr/lib/python2.7/dist-packages/PySide/QtGui.so /usr/lib/python2.7/dist-packages/PySide/QtHelp.so ... Hint: use this to update your file index: $ sudo updatedb 2. The solution is easy: add this to your ~/.bashrc (or ~/.<shell>rc you actually have). export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib/python2.7/dist-packages/PySide

Inkscape extension example

Recently, when preparing figures for publications using Inkscape, I decided to simplify my life. Some of the figures can be described as 2x2, 2x3, or even 2x6 grids. Sometimes it is very awkward to rearrange them if you decide to switch from 2x6 to 3x4 or vice versa. It would be nice to have an Inkscape extension, which will minimize the efforts. For the sake of simplicity we assume that all the elements are equal in width and should be rearranged symmetrically with respect to the vertical axis. Also, the element should be ordered according to its relative to the other elements location. The top left element is the first and the bottom right is the last one. So for example, you can visually prepare the elements and then tidy them up with a single click of our magic button. Hint : before developing a similar extension, you may want to check the standard Align and Distribute tool (Ctrl+Shift+A). Before writing any actual code let's take a look at some official Inkscape extensio...