cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
ming_huang
Visitor
Visitor
170 Views
Registered: ‎03-08-2021

Vivado HLS ERROR: [XSIM 43-3316] co-simulation fail

I've been having troubles to run co-simulation on vivado HLS, i tried re-installing it and change ubuntu distro but nothing seems to help.

I could not find anything about this error in particular so i am trying to ask here.

Im trying to synthetise a function that does a bunch of calculations, synthesis and c-simulation are fine and the results match but when it gets to the co-simulation it just will not run and gets me this error:

ERROR: [COSIM 212-4] *** C/RTL co-simulation finished: FAIL ***
ERROR: Please check the snapshot name which is created during 'xelab',the current snapshot name "xsim.dir/linearize_fpga/xsimk"
does not exist
ERROR: [XSIM 43-3316] Signal SIGSEGV received.
Printing stacktrace...

[0] /home/ming/programs/Xilinx/Vivado/2019.2/bin/unwrapped/lnx64.o/xelab() [0x77388f]
[1] /home/ming/programs/Xilinx/Vivado/2019.2/bin/unwrapped/lnx64.o/xelab() [0x773b07]
[2] /home/ming/programs/Xilinx/Vivado/2019.2/bin/unwrapped/lnx64.o/xelab() [0x734aa2]
[3] /home/ming/programs/Xilinx/Vivado/2019.2/bin/unwrapped/lnx64.o/xelab() [0x73502e]
[4] /home/ming/programs/Xilinx/Vivado/2019.2/bin/unwrapped/lnx64.o/xelab() [0x7353f1]
[5] /home/ming/programs/Xilinx/Vivado/2019.2/bin/unwrapped/lnx64.o/xelab() [0x7351e0]
[6] /home/ming/programs/Xilinx/Vivado/2019.2/bin/unwrapped/lnx64.o/xelab() [0x7351e0]
[7] /home/ming/programs/Xilinx/Vivado/2019.2/bin/unwrapped/lnx64.o/xelab() [0x7351e0]
[8] /home/ming/programs/Xilinx/Vivado/2019.2/bin/unwrapped/lnx64.o/xelab() [0x7351e0]
[9] /home/ming/programs/Xilinx/Vivado/2019.2/bin/unwrapped/lnx64.o/xelab() [0x7345e6]
[10] /home/ming/programs/Xilinx/Vivado/2019.2/bin/unwrapped/lnx64.o/xelab() [0x73502e]
[11] /home/ming/programs/Xilinx/Vivado/2019.2/bin/unwrapped/lnx64.o/xelab() [0x63b938]
[12] /home/ming/programs/Xilinx/Vivado/2019.2/lib/lnx64.o/libxsimverific.so(Verific::VeriVisitor::TraverseArray(Verific::Array
const*)+0x86) [0x7ff52a61ed56]
[13] /home/ming/programs/Xilinx/Vivado/2019.2/lib/lnx64.o/libxsimverific.so(Verific::VeriVisitor::Visit(Verific::VeriModule&)+0x98)
[0x7ff52a625698]
[14] /home/ming/programs/Xilinx/Vivado/2019.2/bin/unwrapped/lnx64.o/xelab() [0x63d102]
[15] /home/ming/programs/Xilinx/Vivado/2019.2/bin/unwrapped/lnx64.o/xelab() [0x605ccb]
[16] /home/ming/programs/Xilinx/Vivado/2019.2/bin/unwrapped/lnx64.o/xelab() [0x63b542]
[17] /home/ming/programs/Xilinx/Vivado/2019.2/lib/lnx64.o/libxsimverific.so(Verific::VeriVisitor::TraverseArray(Verific::Array
const*)+0x86) [0x7ff52a61ed56]
[18] /home/ming/programs/Xilinx/Vivado/2019.2/lib/lnx64.o/libxsimverific.so(Verific::VeriVisitor::Visit(Verific::VeriModule&)+0x98)
[0x7ff52a625698]
[19] /home/ming/programs/Xilinx/Vivado/2019.2/bin/unwrapped/lnx64.o/xelab() [0x63d102]
[20] /home/ming/programs/Xilinx/Vivado/2019.2/bin/unwrapped/lnx64.o/xelab() [0x605ccb]
[21] /home/ming/programs/Xilinx/Vivado/2019.2/bin/unwrapped/lnx64.o/xelab() [0x63b542]
[22] /home/ming/programs/Xilinx/Vivado/2019.2/lib/lnx64.o/libxsimverific.so(Verific::VeriVisitor::TraverseArray(Verific::Array
const*)+0x86) [0x7ff52a61ed56]
[23] /home/ming/programs/Xilinx/Vivado/2019.2/lib/lnx64.o/libxsimverific.so(Verific::VeriVisitor::Visit(Verific::VeriModule&)+0x98)
[0x7ff52a625698]
[24] /home/ming/programs/Xilinx/Vivado/2019.2/bin/unwrapped/lnx64.o/xelab() [0x63d102]
[25] /home/ming/programs/Xilinx/Vivado/2019.2/bin/unwrapped/lnx64.o/xelab() [0x605ccb]
[26] /home/ming/programs/Xilinx/Vivado/2019.2/bin/unwrapped/lnx64.o/xelab() [0x63b542]
[27] /home/ming/programs/Xilinx/Vivado/2019.2/lib/lnx64.o/libxsimverific.so(Verific::VeriVisitor::TraverseArray(Verific::Array
const*)+0x86) [0x7ff52a61ed56]
[28] /home/ming/programs/Xilinx/Vivado/2019.2/lib/lnx64.o/libxsimverific.so(Verific::VeriVisitor::Visit(Verific::VeriModule&)+0x98)
[0x7ff52a625698]
[29] /home/ming/programs/Xilinx/Vivado/2019.2/bin/unwrapped/lnx64.o/xelab() [0x63d102]
[30] /home/ming/programs/Xilinx/Vivado/2019.2/bin/unwrapped/lnx64.o/xelab() [0x605ccb]
[31] /home/ming/programs/Xilinx/Vivado/2019.2/bin/unwrapped/lnx64.o/xelab() [0x491cb4]
[32] /home/ming/programs/Xilinx/Vivado/2019.2/bin/unwrapped/lnx64.o/xelab() [0x4764b2]
[33] /home/ming/programs/Xilinx/Vivado/2019.2/bin/unwrapped/lnx64.o/xelab() [0x480253]
[34] /home/ming/programs/Xilinx/Vivado/2019.2/bin/unwrapped/lnx64.o/xelab() [0x45241d]
[35] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xe7) [0x7ff52892ebf7]
[36] /home/ming/programs/Xilinx/Vivado/2019.2/bin/unwrapped/lnx64.o/xelab() [0x46a3d0]


Done

I have tried cosimulating an example project and it worked fine also a friend of mine tried it on his Vivado and everything worked fine so I am really confused here, I attached the project to this post but i doubt you can recreate the problem.

Thanks in advance for all the help!

edit: im using ubuntu 18.04.2

0 Kudos
1 Reply
aoifem
Moderator
Moderator
117 Views
Registered: ‎11-21-2018

Hi @ming_huang 

If this is working for your friend, this might indicate that you are using an unsupported OS version. The supported OS versions are listed in the Release Notes (please use the correct version of the notes to reflect the version of HLS that you are using): 

https://www.xilinx.com/support/documentation/sw_manuals/xilinx2020_1/ug973-vivado-release-notes-install-license.pdf

 

However, a SIGSEGV error usually indicates you are accessing memory incorrectly. Some things to check: 

- The program could be running out of stack space. In this case you can dynamically allocate memory for large data structures in the testbench. 
- Using a pointer to somewhere that is not mapped into the memory space i.e. Are you incrementing a pointer so that it points to a non-existent or restricted memory space? 

- Overrunning the bounds of an array

- Using an invalid/null pointer

 

Aoife
Product Application Engineer - Xilinx Technical Support EMEA


**~ Got a minute? Answer our Vitis HLS survey here! ~**

**~ Don't forget to reply, give kudos, and accept as solution.~**
0 Kudos