Zynq design from scratch. Part 8.
For more information about using the latest version (2014.2) of Vivado see part 50 of this blog.
Before starting Vivado we must setup the Xilinx design environment using one of the following commands:
source /opt/Xilinx/Vivado/2013.4/settings64.sh (64bit Ubuntu)
source /opt/Xilinx/Vivado/2013.4/settings32.sh (32bit Ubuntu)
Add one of these lines to your .bashrc file to setup the environment in every terminal window you open. We are now ready to start Vivado. Here is what happens.
Not the best start we could have hoped for. Looking for a solution I found this in the Xilinx forum. Let's see if it solves our problem. First we have to install openJDK if not aldready done. (This problem has been fixed in Vivado 2015.1)
sudo apt-get install openjdk-7-jre
We will use the openJDK Java installation instead of the one that came with the Vivado installation.
sudo mv /opt/Xilinx/Vivado/2013.4/tps/lnx64/jre/lib/amd64/server/libjvm.so
sudo ln -s /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/server/libjvm.so
Let's try again.
Congratulations! We have Vivado running. Now it is time to do some real work.
Top Previous Next
Posted at 22:42 by
October 5, 2014 07:22 AM PDT
When you install Vivado as root the directory .Xilinx/Vivado/2014.2 will be owned by root. You can fix the problem by changing the permissions like this: sudo chmod 777 ..../Vivado/2014.2 or change the owner to your userid. This a bug that should be fixed by Xilinx
October 5, 2014 05:54 AM PDT
Thanks a lot for this tutorial. I was able to launch Vivado however I see this error everytime-
sameer@Inspiron-3421:~$ vivado &
****** 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.
Error: Failed to save the Vivado user preferences file. Reason: '/home/sameer/.Xilinx/Vivado/2014.2/vivado.ini (Permission denied)'
Failed to create the shortcut directory: '/home/sameer/.Xilinx/Vivado/2014.2/shortcuts'
Failed to create the layout directory: '/home/sameer/.Xilinx/Vivado/2014.2/layouts/application'
Failed to create the commands directory: '/home/sameer/.Xilinx/Vivado/2014.2/commands'
Failed to create the layout directory: '/home/sameer/.Xilinx/Vivado/2014.2/layouts/'
August 11, 2014 02:36 PM PDT
You shouldn't run the program as 'root'
April 21, 2014 03:24 PM PDT
Here is what I did.
For all of us using non-english keyboards add the following lines to .bashrc
April 21, 2014 02:03 PM PDT
I tried to install vivado 14.1 based on your tutorial (I know it is for 13.4), I think I did everything correctly, but when I try to create block design I keep getting the message:
ERROR: [Vivado 12-106] *** Exception: java.lang.NumberFormatException: For input string: "0,01" (See /root/vivado_pid15030.debug)
The problem should be with java, but I don't know what is it, or how to solve it.
Can you point out what did I do wrong?