cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Highlighted
Visitor
Visitor
746 Views
Registered: ‎07-28-2019

vivado simulator dont work on OpenSuse

I installled vivado 2019.1.1 on openSuse tumbleweed. Everyhing is up to date and restarted after last update.

I can use synthesis. However, I cannot use simulation. I tried to fix this problem . Firstly log file doesn't help.

 

Running: /home/jack/Xilinx/ivado/2019.1/bin/unwrapped/lnx64.o/xelab -wto 2f8cc67584194707bb3dc42cc9589ac2 --incr --debug typical --relax --mt 8 -L xil_defaultlib -L unisims_ver -L unimacro_ver -L secureip --snapshot asd_behav xil_defaultlib.asd xil_defaultlib.glbl -log elaborate.log 
Using 8 slave threads.
Starting static elaboration
Completed static elaboration
Starting simulation data flow analysis
Completed simulation data flow analysis
Time Resolution for simulation is 1ps
Compiling module xil_defaultlib.asd
Compiling module xil_defaultlib.glbl
ERROR: [XSIM 43-3409] Failed to compile generated C file xsim.dir/asd_behav/obj/xsim_1.c.
ERROR: [XSIM 43-3915] Encountered a fatal error. Cannot continue. Exiting... 

 

 

To find the problem i used "perl ldd-recursive.pl ~/Xilinx/Vivado/2019.1/bin/unwrapped/lnx64.o/vivado -uniq". The output is:

/usr/lib64/libunwind.so.8
/usr/lib64/liblzma.so.5
/lib64/ld-linux-x86-64.so.2
linux-vdso.so.1
/lib64/libgcc_s.so.1
libboost_signals.so => not found
librdi_common.so => not found
/usr/lib64/libtcmalloc.so.4
/lib64/libpthread.so.0
/lib64/libc.so.6
/lib64/libm.so.6
/usr/lib64/libstdc++.so.6
librdi_commonmain.so => not found

Actually there was more libraries can not be found but, i can solve them with installing from Zypper.

After I used : " LD_LIBRARY_PATH=~/Xilinx/Vivado/2019.1/lib/lnx64.o perl ldd-recursive.pl ~/Xilinx/Vivado/2019.1/bin/unwrapped/lnx64.o/vivado -uniq"

/home/jack/Xilinx/Vivado/2019.1/lib/lnx64.o/librdiconfig.so
/home/jack/Xilinx/Vivado/2019.1/lib/lnx64.o/libtcl8.5.so
/home/jack/Xilinx/Vivado/2019.1/lib/lnx64.o/libCOIN-all.so
/home/jack/Xilinx/Vivado/2019.1/lib/lnx64.o/libXil_lmgr11.so
/lib64/librt.so.1
/home/jack/Xilinx/Vivado/2019.1/lib/lnx64.o/libprotobuf.so.13
/home/jack/Xilinx/Vivado/2019.1/lib/lnx64.o/libboost_system.so
/usr/lib64/libstdc++.so.6
linux-vdso.so.1
/home/jack/Xilinx/Vivado/2019.1/lib/lnx64.o/librdi_commonxillic.so
/home/jack/Xilinx/Vivado/2019.1/lib/lnx64.o/libhdxml.so
/home/jack/Xilinx/Vivado/2019.1/lib/lnx64.o/libgurobi65.so
/home/jack/Xilinx/Vivado/2019.1/lib/lnx64.o/librdi_commonversion.so
/lib64/libgcc_s.so.1
/home/jack/Xilinx/Vivado/2019.1/lib/lnx64.o/libboost_date_time.so
/home/jack/Xilinx/Vivado/2019.1/lib/lnx64.o/librdi_commonmain.so
/home/jack/Xilinx/Vivado/2019.1/lib/lnx64.o/libxerces-c-3.1.so
/home/jack/Xilinx/Vivado/2019.1/lib/lnx64.o/librdizlib.so
/home/jack/Xilinx/Vivado/2019.1/lib/lnx64.o/libboost_thread.so
/home/jack/Xilinx/Vivado/2019.1/lib/lnx64.o/libboost_filesystem.so
/home/jack/Xilinx/Vivado/2019.1/lib/lnx64.o/libboost_xilinx.so
/lib64/ld-linux-x86-64.so.2
/usr/lib64/libgomp.so.1
/home/jack/Xilinx/Vivado/2019.1/lib/lnx64.o/libisl_iostreams.so
/lib64/libc.so.6
/home/jack/Xilinx/Vivado/2019.1/lib/lnx64.o/libboost_program_options.so
/home/jack/Xilinx/Vivado/2019.1/lib/lnx64.o/libtcmalloc.so.4
/lib64/libm.so.6
/home/jack/Xilinx/Vivado/2019.1/lib/lnx64.o/libboost_regex.so
/home/jack/Xilinx/Vivado/2019.1/lib/lnx64.o/liblmx6.0.so
/home/jack/Xilinx/Vivado/2019.1/lib/lnx64.o/libhdlpsolve.so
/lib64/libdl.so.2
/home/jack/Xilinx/Vivado/2019.1/lib/lnx64.o/libboost_signals.so
/home/jack/Xilinx/Vivado/2019.1/lib/lnx64.o/librdi_common.so
/home/jack/Xilinx/Vivado/2019.1/lib/lnx64.o/libisl_iosutils.so
/home/jack/Xilinx/Vivado/2019.1/lib/lnx64.o/libboost_iostreams.so
/lib64/libpthread.so.0
/home/jack/Xilinx/Vivado/2019.1/lib/lnx64.o/libisl_sysinfo.so

There is no "not found" library. Therefore I tried to open vivado with : "LD_LIBRARY_PATH=/home/jack/Xilinx/Vivado/2019.1/lib/lnx64.o /home/jack/Xilinx/Vivado/2019.1/bin/vivado "

But still simulator doesn't work with the same error message. I know Tumbleweed is not directly supported by xilinx. Is there anything I can try or where should I search the source of the error?

 

0 Kudos
4 Replies
Highlighted
Moderator
Moderator
680 Views
Registered: ‎01-16-2013

Hi,

The Operating system openSuse tumbleweed looks like latest version i.e. 15.x and beyond. As per Vivado release notes SUSE 12.4 is supported with 2019.x release.

Please refer documentation for supported OS.
https://www.xilinx.com/support/documentation/sw_manuals/xilinx2019_1/ug973-vivado-release-notes-install-license.pdf

Please try to use supported OS.

Thanks,
Yash
0 Kudos
Highlighted
Visitor
Visitor
660 Views
Registered: ‎07-28-2019

Yes, I know it is not supported. However, I believe somebody has done that or face the same issue in another distro.

0 Kudos
Highlighted
Visitor
Visitor
520 Views
Registered: ‎12-09-2018

Hello @jackjj!

 

Normally I use GHDL for simulation, but the simultaion with Xilinx Tools works now on my system (openSUSE Leap 15.1).

My fix I currently really dirty, becasue I don't have managed to get LD_LIBRARY_PATH work.

Seems to me, that there is a new security feature in openSUSE to prevent LD_LIBRARY_PATH and LD_PRELOAD to work.

 

What I have done:

Step  1:

Create a new ld.so configuration file in directory /etc/ld.so.conf and add the library path from Vivado.

 

Step 2:

Copy libtinfo.so.5 from /path/from/Vivado/lib/lnx64.so/SuSE to dirctory /usr/lib64

 

These step is necessary because ldconfig doesn't load libtinfo.so.5 in the previous ld.so configuartion. Currently I don't know the reason.

 

Step 3:

Execut commad ldconfig

 

Step 4:

Have fun with the Xilinx simulator!

vivado_sim.png

 

I'll keep you up to date, if I have a clean solution for this issue.

Highlighted
Visitor
Visitor
498 Views
Registered: ‎12-09-2018

Hello,

 

Okay, the issue was a wrong usage from the enviroment varibale LD_LIBRARY_PATH (It was a missing colon).

 

I have added a script to start Vivado (wtih working simulator):

#!/bin/bash

# Xilinx Vivado install path
XLNX_VIVADO_DIR=/share/Xilinx/Vivado/2019.1

# Xilinx Vivado library path
XLNX_VIVADO_LIB=$XLNX_VIVADO_DIR/lib/lnx64.o

# Xilinx Vivado library path for openSUSE
XLNX_VIVADO_LIB_SUSE=$XLNX_VIVADO_LIB/SuSE

# Working directory
XLNX_VIVADO_WORKDIR=~/projects/xilinx

LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$XLNX_VIVADO_LIB:$XLNX_VIVADO_LIB_SUSE
export LD_LIBRARY_PATH

# Jump to working directory
cd $XLNX_VIVADO_WORKDIR

# Start Vivado
source $XLNX_VIVADO_DIR/settings64.sh && vivado

The script is self explanatory. Set the paths as you need.

0 Kudos