cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Visitor
Visitor
602 Views
Registered: ‎08-25-2019

ERROR: [Vivado 12-5602] compile_simlib failed to compile for xcelium with error in 210 libraries (cxl_error.log)

 Hi,

am using 3rd party (cadence) simulator.

vivado 2019.2

simulator version 19.03.013

getting error 

ERROR: [Vivado 12-5602] compile_simlib failed to compile for xcelium with error in 210 libraries (cxl_error.log)

Can anyone help me?

 

Thanks

compilor_error1.png
0 Kudos
9 Replies
Highlighted
Visitor
Visitor
581 Views
Registered: ‎03-30-2020

Re: ERROR: [Vivado 12-5602] compile_simlib failed to compile for xcelium with error in 210 libraries (cxl_error.log)

Hi @deepthi.p ,

Can you once try to compile the simulation libraries after setting the environment variables of Xcelium ?

If you have already set the environment variables but still facing the errors then please share the compile_simlib.log file which would have complete information of the errors.

0 Kudos
Highlighted
Xilinx Employee
Xilinx Employee
539 Views
Registered: ‎07-16-2008

回复: ERROR: [Vivado 12-5602] compile_simlib failed to compile for xcelium with error in 210 libraries (cxl_error.log)

It could be the same issue as in below post:

https://forums.xilinx.com/t5/Simulation-and-Verification/Vivado-2019-2-compile-simlib-issues-with-systemc-modules/td-p/1050784

Please try it out in 2019.2.2.

-------------------------------------------------------------------------
Don't forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------
0 Kudos
Highlighted
Visitor
Visitor
489 Views
Registered: ‎08-25-2019

回复: ERROR: [Vivado 12-5602] compile_simlib failed to compile for xcelium with error in 210 libraries (cxl_error.log)

Hi 

I tried couple of work around process suggested in forum, including cmd file modifications still am getting errors of Systemc in compile Libraries. please have a look on log and suggest me what to do...

Thanks

0 Kudos
Highlighted
Xilinx Employee
Xilinx Employee
455 Views
Registered: ‎07-16-2008

回复: ERROR: [Vivado 12-5602] compile_simlib failed to compile for xcelium with error in 210 libraries (cxl_error.log)

If these IPs are not utilized in your design, you can ignore the errors. Otherwise a possbile workaround is to modify the auto-generated compile script and manually re-run it.

Take XTLM IP for example,

go to <pre-compiled lib location>/xtlm/.cxl.systemc.xtlm.xtlm.lin64.cmd, modify the path for 'xmsc' and 'g++' compilers.

e.g. g++ path should point to Cadence bundled GCC at (Xcelium install dir)/tools.lnx86/cdsgcc/gcc/bin/

 

-------------------------------------------------------------------------
Don't forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------
Tags (1)
0 Kudos
Highlighted
Visitor
Visitor
418 Views
Registered: ‎08-25-2019

回复: ERROR: [Vivado 12-5602] compile_simlib failed to compile for xcelium with error in 210 libraries (cxl_error.log)

Hi @graces 

How to run manually to get 0 errors in compiler simlib?... After running that batch file in terminal then opened vivado 2019.2 and then after checked for errors(getting errors).

Thanks

 

0 Kudos
Highlighted
Xilinx Employee
Xilinx Employee
407 Views
Registered: ‎07-16-2008

回复: ERROR: [Vivado 12-5602] compile_simlib failed to compile for xcelium with error in 210 libraries (cxl_error.log)

How did you specifically modify and run the batch file?

-------------------------------------------------------------------------
Don't forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------
0 Kudos
Highlighted
Visitor
Visitor
400 Views
Registered: ‎08-25-2019

回复: ERROR: [Vivado 12-5602] compile_simlib failed to compile for xcelium with error in 210 libraries (cxl_error.log)

go to <pre-compiled lib location>/xtlm/.cxl.systemc.xtlm.xtlm.lin64.cmd
file is batch file which i modified and running through terminal.
0 Kudos
Highlighted
Xilinx Employee
Xilinx Employee
390 Views
Registered: ‎07-16-2008

回复: ERROR: [Vivado 12-5602] compile_simlib failed to compile for xcelium with error in 210 libraries (cxl_error.log)

I mean, what did you modify? What error did you receive if you executed the modified command alone?

-------------------------------------------------------------------------
Don't forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------
0 Kudos
Highlighted
Visitor
Visitor
238 Views
Registered: ‎08-25-2019

回复: ERROR: [Vivado 12-5602] compile_simlib failed to compile for xcelium with error in 210 libraries (cxl_error.log)

Hi @graces 

cmd in generated file was like below:

/usr/bin/g++ -m64 /p/WorkSpace/project1/sim2/emu_perf_common_v1_0/perf_utils.o /tools/dist/xlm/19.03.005/tools/systemc/lib/64bit/gnu/libscBootstrap_sh.so /tools/dist/xlm/19.03.005/tools/systemc/lib/64bit/gnu/libxmscCoroutines_sh.so /tools/dist/xlm/19.03.005/tools/systemc/lib/64bit/gnu/libsystemc_sh.so -Wl,-G -L/p/WorkSpace/project1/sim2/xtlm -lxtlm -L/p/WorkSpace/project1/sim2/common_cpp_v1_0 -lcommon_cpp_v1_0 -shared -o /p/WorkSpace/project1/sim2/emu_perf_common_v1_0/libemu_perf_common_v1_0.so

and modified that cmd as :

/tools/XCELIUM_19.03.013/tools.lnx86/cdsgcc/gcc/6.3/bin/g++ -m64 /p/WorkSpace/project1/sim2/emu_perf_common_v1_0/perf_utils.o /tools/XCELIUM_19.03.013/tools.lnx86/systemc/lib/gnu/libscBootstrap_sh.so /tools/XCELIUM_19.03.013/tools.lnx86/systemc/lib/gnu/libxmscCoroutines_sh.so /tools/XCELIUM_19.03.013/tools.lnx86/systemc/lib/gnu/libsystemc_sh.so -Wl,-G -L/p/WorkSpace/project1/sim2/xtlm -lxtlm -L/p/WorkSpace/project1/sim2/common_cpp_v1_0 -lcommon_cpp_v1_0 -shared -o /p/WorkSpace/project1/sim2/emu_perf_common_v1_0/libemu_perf_common_v1_0.so

getting error

/p/WorkSpace/project1/sim2/emu_perf_common_v1_0/perf_utils.o:(.data.rel.ro._ZTVN7sc_core8sc_inoutIN5sc_dt8sc_logicEEE[_ZTVN7sc_core8sc_inoutIN5sc_dt8sc_logicEEE]+0x220): undefined reference to `sc_core::sc_port_base::end_of_simulation()'
/p/WorkSpace/project1/sim2/emu_perf_common_v1_0/perf_utils.o:(.data.rel.ro._ZTVN7sc_core8sc_inoutIN5sc_dt8sc_logicEEE[_ZTVN7sc_core8sc_inoutIN5sc_dt8sc_logicEEE]+0x238): undefined reference to `sc_core::sc_port_base::get_original_connectivity(std::vector<sc_core::sc_object*, std::allocator<sc_core::sc_object*> >*, std::vector<sc_core::sc_interface*, std::allocator<sc_core::sc_interface*> >*) const'
collect2: error: ld returned 1 exit status

 

0 Kudos