cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
jnddd
Newbie
Newbie
668 Views
Registered: ‎04-01-2019

[XSIM 43-3409] Failed to compile generated C file xsim.dir/led_sim_behav/obj/xsim_1.c. on win10 Vivado 2018.3

My classmates tried my project on his computer an he succeed but I can't.

And the following is the error message.

Vivado Simulator 2018.3
Copyright 1986-1999, 2001-2018 Xilinx, Inc. All Rights Reserved.
Running: E:/Vivado/Vivado/2018.3/bin/unwrapped/win64.o/xelab.exe -wto 643e7591ab2044ea85a3a87c3963cb3f --incr --debug typical --relax --mt 2 -L xil_defaultlib -L unisims_ver -L unimacro_ver -L secureip -L xpm --snapshot led_sim_behav xil_defaultlib.led_sim xil_defaultlib.glbl -log elaborate.log
Using 2 slave threads.
WARNING: [XSIM 43-3431] One or more environment variables have been detected which affect the operation of the C compiler. These are typically not set in standard installations and are not tested by Xilinx, however they may be appropriate for your system, so the flow will attempt to continue. If errors occur, try running xelab with the "-mt off -v 1" switches to see more information from the C compiler. The following environment variables have been detected:
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.clock_div
Compiling module xil_defaultlib.s_38
Compiling module xil_defaultlib.ctc8
Compiling module xil_defaultlib.ctc8_0
Compiling module xil_defaultlib.led_lights
Compiling module xil_defaultlib.led_sim
Compiling module xil_defaultlib.glbl
ERROR: [XSIM 43-3409] Failed to compile generated C file xsim.dir/led_sim_behav/obj/xsim_1.c.
ERROR: [XSIM 43-3915] Encountered a fatal error. Cannot continue. Exiting...

I also want to know how to run the xelab,,,,,

0 Kudos
1 Reply
graces
Moderator
Moderator
636 Views
Registered: ‎07-16-2008

Does the working machine have the same Win10 OS version with yours?

I noticed the warning, which doesn't print out variables.

WARNING: [XSIM 43-3431] One or more environment variables have been detected which affect the operation of the C compiler. These are typically not set in standard installations and are not tested by Xilinx, however they may be appropriate for your system, so the flow will attempt to continue. If errors occur, try running xelab with the "-mt off -v 1" switches to see more information from the C compiler. The following environment variables have been detected:

You may want to compare the environment variables with the ones in working machine and see if you can narrow down any ones that may affect C compiler.

You can also try to add "-mt off -v 1" in xelab more options in Simulation Settings and see if more information is given in the log file.

-----------------------------------------------------------------------------------------------------------------------
Don’t forget to reply, kudo, and accept as solution.
If starting with Versal take a look at our Versal Design Process Hub and our Versal Blogs.
-----------------------------------------------------------------------------------------------------------------------
0 Kudos