cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
patelvrajn
Visitor
Visitor
213 Views
Registered: ‎10-18-2020

XSI does not work in Ubuntu 20.04

I have basically ran around in circles trying to get XSI to work however, I keep getting this error from the TCL script which is part of the C++ code however, it doesn't tell me anything about what is going on. The C++ is a very simple testbench just to get the simulation to launch and is built and linked with CMake. When the executable that is generated is run via gdb it comes up with no error. There is no information I can go on to debug this issue. Any ideas?

TCL Error

ERROR: An unknown exception occurred.
while executing
"exec "$CPP_Testbenches_Directory/$Testbench_Entity_Name" "$Simulation_Run_Directory/xsim.dir/$Simulation_Snapshot_Name/xsimk.so" "/tools/Xilinx/Viva..."

GDB

[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Inferior 1 (process 41917) exited normally]

C++ Testbench

int main(int argc, char** argv)
{
int status = 0;

try
{
Xsi::Loader Xsi_Instance(argv[1], argv[2]);

s_xsi_setup_info info;
memset(&info, 0, sizeof(info));

info.logFileName = NULL;
char wdbName[] = "test.wdb";
info.wdbFileName = wdbName;

Xsi_Instance.open(&info);

}
catch (std::exception& e) {
std::cerr << "ERROR: An exception occurred: " << e.what() << std::endl;
status = 2;
}
catch (...) {
std::cerr << "ERROR: An unknown exception occurred." << std::endl;
status = 3;
}

}

 

Tags (2)
0 Kudos
1 Reply
bandi
Moderator
Moderator
112 Views
Registered: ‎09-15-2016

Hi @patelvrajn ,

Can you please share the complete test case along with the steps you have followed to reproduce and check this issue at our end?

Thanks & Regards,
Sravanthi B
----------------------------------------------------------------------------------------------
Kindly note- Please mark the Answer as "Accept as solution" if information provided is helpful.

Give Kudos to a post which you think is helpful and reply oriented.
----------------------------------------------------------------------------------------------
0 Kudos