cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Visitor
Visitor
499 Views
Registered: ‎04-29-2020

ERROR: [Vivado 12-3754] Failed to find the 'modelsim' simulator executable. Make sure to set the 'modelsim' installation environment and retry this command to compile the libraries for this simulator.

I'm getting the following error message when running compile_simlib on vivado 2019.1

ERROR: [Vivado 12-3754] Failed to find the 'modelsim' simulator executable. Make sure to set the 'modelsim' installation environment and retry this command to compile the libraries for this simulator. For more information on tool setup refer 'modelsim' user guide.
Library compilation for 'modelsim' ignored.
compile_simlib: Time (s): cpu = 00:00:40 ; elapsed = 00:01:06 . Memory (MB): peak = 0.000 ; gain = 0.000 ; free physical = 8277 ; free virtual = 69375
ERROR: [Common 17-39] 'compile_simlib' failed due to earlier errors.

$ which vsim
/usr/local/modelsim/modeltech/linux_x86_64/vsim

# this is ubuntu 16 running on Windows 10 WSL
$ uname -a
Linux A6176414 4.4.0-17763-Microsoft #864-Microsoft Thu Nov 07 15:22:00 PST 2019 x86_64 x86_64 x86_64 GNU/Linux

# Here's my vivado tcl session where i type compile_simlib
$ vivado -mode tcl

****** Vivado v2019.1 (64-bit)
**** SW Build 2552052 on Fri May 24 14:47:09 MDT 2019
**** IP Build 2548770 on Fri May 24 18:01:18 MDT 2019
** Copyright 1986-2019 Xilinx, Inc. All Rights Reserved.

Vivado% set BIN_MODELSIM /usr/local/modelsim/modeltech/linux_x86_64
/usr/local/modelsim/modeltech/linux_x86_64

Vivado% set SCRIPT_DIR [file normalize [file dirname [info script]]]
/home/myuser1/tmp

Vivado% compile_simlib \

Vivado- -simulator modelsim \
Vivado- -32bit -family all \
Vivado- -simulator_exec_path $BIN_MODELSIM \
Vivado- -directory $SCRIPT_DIR/libraries
INFO: [Vivado 12-4753] Extracting data from the IP repository...(this may take a while, please wait)...
..
WARNING: [setup_ip_static_library-Tcl-22] Associated library not defined for 'hdl/accelerator_monitor_v1_0_vl_rfs.v' (accelerator_monitor,xilinx.com:ip:accelerator_monitor:1.0)
.................................................
WARNING: [setup_ip_static_library-Tcl-22] Associated library not defined for 'hdl/axi_interface_monitor_v1_0_vl_rfs.v' (axi_interface_monitor,xilinx.com:ip:axi_interface_monitor:1.0)
.............................................................
.......................................................................................................
.......................................................................................................
.......................................................................................................
.............................................................................
INFO: [setup_ip_static_library-Tcl-23] Data extracted from repository. Inspected 553 IP libraries.

INFO: [Vivado 12-5496] Finding simulator executables and checking version...
Failed to open executable /usr/local/modelsim/modeltech/linux_x86_64/../linux/vcom in execute mode needed for the option -32.
Failed to open executable /usr/local/modelsim/modeltech/linux_x86_64/../linux/vcom in execute mode needed for the option -32.
ERROR: [Vivado 12-3754] Failed to find the 'modelsim' simulator executable. Make sure to set the 'modelsim' installation environment and retry this command to compile the libraries for this simulator. For more information on tool setup refer 'modelsim' user guide.
Library compilation for 'modelsim' ignored.
compile_simlib: Time (s): cpu = 00:00:40 ; elapsed = 00:01:06 . Memory (MB): peak = 0.000 ; gain = 0.000 ; free physical = 8277 ; free virtual = 69375
ERROR: [Common 17-39] 'compile_simlib' failed due to earlier errors.

 

$ ls /usr/local/modelsim/modeltech/linux_x86_64

aid* libpng.so@ libucis.a mitcl/ tk8.6/ Visualizer/
drill@ libpng.so.3@ libucis.so* mti_copy* tkdnd/ vlib*
drill.bat* libpng.so.3.50.0* libuinfo.so* mtilibcom* Tktable2.10/ vlm*
dumplog64* libscms_gcc45.a libundolr_x64.so* mti_rmtree* treectrl2.2.9/ vlog*
echkpnt.modelsim* libscms_gcc47.a libvsimnotcl.so* mtiRPC/ triage@ vmake*
erestart.modelsim* libscms_gcc53.a libvsim.so* nlviewST.so* trofs0.4.8/ vmap*
external/ libscms_sc22_gcc45.a libwlf.a options tssi2mti* vmpiexec@
fsmST.so* libscv_gcc45.a libwlf.so* profile_system.so* v1735* vopt*
hdlclient@ libscv_gcc47.a lmborrow@ qobjcopy* vcd2wlf* vopt2*
hdlserver@ libscv_gcc53.a lmcksum@ QuestaCppOverride.so* vcom* voptk*
hdlstudio64.esf libscv_sc22_gcc45.a lmdiag@ qverilog* vcover* voptk2*
hydra_pmi_proxy@ libsm.sl* lmdown@ readdwarf* vcovkill* vovl@
Img1.4.2/ libsystemc_gcc45.a lmgrd* rmdb/ vdbg@ vrun@
itcl3.4/ libsystemc_gcc47.a lmhostid@ sccom* vdbgpa@ vsim*
itk3.4/ libsystemc_gcc53.a lmremove@ scgenmod* vdel* vsimk*
jobspy@ libsystemc_sc22_gcc45.a lmreread@ ScintillaTk/ vdir* vsimk64.esf
libgd.so@ libtcl8.6.a* lmstat@ scparse-gcc* vencrypt* vsimka.mdb
libgd.so.2@ libtclstub8.6.a* lmswitchr@ sdfcom* verror* wlf2log*
libgd.so.2.0.0* libtk8.6.a lmutil* sm_entity* vfs1.4/ wlf2vcd*
libmtipli.so* libtk8.6.so* lmver@ START_SERVER* vgencomp* wlfcmp*
libpng12.so@ libtkstub8.6.a* memory_interposer.so* Tclexpat2.6/ vhencrypt* wlfman*
libpng12.so.0@ libucdb.a mgcld@ Tclxml2.6/ viscom2@ wlfrecover*
libpng12.so.0.50.0* libucdb.so* mgls/ thread2.7.3/ vish* xml2ucdb*

$ vsim -c -v
Reading pref.tcl

# 2019.1

ModelSim> exit

 

Tags (1)
0 Kudos
Reply
1 Reply
Voyager
Voyager
461 Views
Registered: ‎06-20-2012

Launch compile_simlib from Vivado GUI and select the simulator path.

== If this was helpful, please feel free to give Kudos, and close if it answers your question ==
0 Kudos
Reply