cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Highlighted
3,200 Views
Registered: ‎03-01-2016

ERROR: [XSIM 43-3225] find design unit xil_defaultlib.AUTOTB_TOP in library work located at xsim.dir/work.

When trying to run cosim using Vivado simulator I am receiving the following:

 

ERROR: [XSIM 43-3225] Cannot find design unit xil_defaultlib.AUTOTB_TOP in library work located at xsim.dir/work.
ERROR: Please check the snapshot name which is created during 'xelab',the current snapshot name "xsim.dir/ModEngLvl/xsimk" does not exist 
ERROR: [COSIM 212-4] *** C/RTL co-simulation finished: FAIL ***
command 'ap_source' returned error code

There is no folder labeled xsim.dir/ModEngLvl/*. The only folder under xsim.dir is xsim.defaultlib.

Here is the code from run_xsim.sh

/opt/Xilinx/Vivado/2016.4/bin/xelab xil_defaultlib.AUTOTB_TOP -prj ModEngLvl.prj --initfile "/opt/Xilinx/Vivado/2016.4/data/xsim/ip/xsim_ip.ini" --lib "ieee_proposed=./ieee_proposed" -s ModEngLvl -d ebug wave
/opt/Xilinx/Vivado/2016.4/bin/xsim --noieeewarnings ModEngLvl -tclbatch ModEngLvl.tcl

Is there a better way to debug this error or is there a known cause for this error?

 

Tags (3)
0 Kudos
1 Reply
Highlighted
Xilinx Employee
Xilinx Employee
3,104 Views
Registered: ‎07-16-2008

Can you attach the complete compile & elaborate log? Is there any error when compiling the simulation sources?

-------------------------------------------------------------------------
Don't forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------
0 Kudos