cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Visitor
Visitor
474 Views
Registered: ‎11-26-2015

compile_simlib error Failed to find the simulator executable

Jump to solution

Hi,
   I've an issue compiling lib for Questa (same result with Modelsim) in Vivado 2017.4, the error is:

ERROR: [Vivado 12-3754] Failed to find the 'questasim' simulator executable. Make sure to set the 'questasim' installation environment and retry this command to compile the libraries for this simulator. For more information on tool setup refer 'questasim' user guide.
Library compilation for 'questasim' ignored.

I've already set
Tools-Options-3rd Party Simulators - exe location
c:/programs/questasim64_10.6c/win64

Tools-Compile Simulation Library
C:/programs/questasim64_10.6c/xilinx_test  as lib destination
c:/programs/questasim64_10.6c/win64        as sim exe path

The command line is
compile_simlib -simulator questa -simulator_exec_path {c:/programs/questasim64_10.6g/win64} -family kintexuplus -language all -library all -dir {C:/programs/questasim64_10.6c/xilinx_test} -force -verbose

The output is

compile_simlib -simulator questa -simulator_exec_path {c:/programs/questasim64_10.6g/win64} -family kintexuplus -language all -library all -dir {C:/programs/questasim64_10.6g/xilinx_test} -force -verbose
INFO: [Vivado 12-4753] Extracting data from the IP repository...(this may take a while, please wait)...

INFO: [setup_ip_static_library-Tcl-23] Data extracted from repository. Inspected 400 IP libraries.

setup_ip_static_library: Time (s): cpu = 00:01:31 ; elapsed = 00:01:52 . Memory (MB): peak = 1127.676 ; gain = 330.406
> Current directory :- 'C:/Users/scandrog/AppData/Roaming/Xilinx/Vivado'
> Library data paths:- 'C:\programs\Xilinx\Vivado\2017.4\data'
> Device family(s) :- 'kintexuplus'
> Library(s) :- 'simprim, unisim'
> Language(s) :- 'vhdl, verilog'
> Compilation mode :- '64-bit'
INFO: [Vivado 12-5496] Finding simulator executables and checking version...

> executing 'c:\programs\questasim64_10.6g\win64/vcom.exe -version -64'...
output file: '.cxl.questasim.version'
return code: '0'
ERROR: [Vivado 12-3754] Failed to find the 'questasim' simulator executable. Make sure to set the 'questasim' installation environment and retry this command to compile the libraries for this simulator. For more information on tool setup refer 'questasim' user guide.
Library compilation for 'questasim' ignored.
compile_simlib: Time (s): cpu = 00:01:31 ; elapsed = 00:01:54 . Memory (MB): peak = 1127.676 ; gain = 330.406
ERROR: [Common 17-39] 'compile_simlib' failed due to earlier errors.

1) C:\Users\scandrog\AppData\Roaming\Xilinx\Vivado\.cxl.questasim.version
remains empty
On machine where it works, file is filled with "QuestaSim-64 vcom 10.6c ..."

2) If I manually type in Vivado tcl console
exec c:/programs/questasim64_10.6c/win64/vcom -version

A DOS windows pops up and then closes, so it looks vivado cannot catch the commans ouput.

 

Any clue?

Thanks.

 

0 Kudos
1 Solution

Accepted Solutions
Highlighted
Newbie
Newbie
189 Views
Registered: ‎05-23-2018

回复: compile_simlib error Failed to find the simulator executable

Jump to solution

ok IT installed a monitoring software that blocks the tool.
A magic "Run elevated" button fixed.

Another user had the same problem as depicted here:
https://forums.xilinx.com/t5/Simulation-and-Verification/ERROR-Vivado-12-3754-Failed-to-find-the-questasim-simulator/m-p/1071721

View solution in original post

7 Replies
Highlighted
Xilinx Employee
Xilinx Employee
442 Views
Registered: ‎07-16-2008

回复: compile_simlib error Failed to find the simulator executable

Jump to solution

From your command,

compile_simlib -simulator questa -simulator_exec_path {c:/programs/questasim64_10.6g/win64} -family kintexuplus -language all -library all -dir {C:/programs/questasim64_10.6c/xilinx_test} -force -verbose

exec c:/programs/questasim64_10.6c/win64/vcom -version

 

Is it a typo? If you're using 10.6c, what is returned if you run this from command line?

c:/programs/questasim64_10.6c/win64/vcom -version

-------------------------------------------------------------------------
Don't forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------
0 Kudos
Highlighted
Visitor
Visitor
307 Views
Registered: ‎11-26-2015

回复: compile_simlib error Failed to find the simulator executable

Jump to solution

Hi Graces,
   it's not a matter of Questa version, I have the same failure with Questa 10.6c.
I haven't solved yet.
When Vivado fails compiling the lib, it produces an empy ".cxl.questasim.version".
On "working" machines instead, Vivado populate ".cxl.questasim.version" with string
QuestaSim-64 vcom 10.6c Compiler 2017.07 Jul 26 2017

So Vivado is able to locate the Questa executable but I cannot identify the Questa version since the .cxl.questasim.version is empy.

Any clue on why?

Machines with this issue becomes unusable.

Please help.
Thanks.

0 Kudos
Highlighted
Newbie
Newbie
303 Views
Registered: ‎05-23-2018

回复: compile_simlib error Failed to find the simulator executable

Jump to solution

Hi,
same error here with vivado 2019.2 + questa 2019.2 on a win10 machine.

The .cxl.questasim.version is empty.

Logs attached
------------------------

compile_simlib -simulator questa -simulator_exec_path {D:/programs/questasim64_2019.2/win64} -family kintexu -family kintexuplus -language all -library all -dir {D:/programs/questasim64_2019.2/xilinx/2019.2} -force -verbose
INFO: [Vivado 12-4753] Extracting data from the IP repository...(this may take a while, please wait)...

INFO: [setup_ip_static_library-Tcl-23] Data extracted from repository. Inspected 556 IP libraries.

setup_ip_static_library: Time (s): cpu = 00:01:20 ; elapsed = 00:09:02 . Memory (MB): peak = 1073.137 ; gain = 55.027
> Current directory :- 'C:/Users/maggione/AppData/Roaming/Xilinx/Vivado/pippo1'
> Library data paths:- 'D:\programs\Xilinx\Vivado\2019.2\data'
'D:\programs\Xilinx\Vivado\2019.2\ids_lite\ISE'
> Device family(s) :- 'kintexu, kintexuplus'
> Library(s) :- 'simprim, unisim'
> Language(s) :- 'vhdl, verilog'
> Compilation mode :- '64-bit'
INFO: [Vivado 12-5496] Finding simulator executables and checking version...

> executing 'D:\programs\questasim64_2019.2\win64/vcom.exe -version -64'...
output file: '.cxl.questasim.version'
> forking 'D:\programs\questasim64_2019.2\win64/vcom.exe -version -64'
return code: '0'
Time taken: 0 mins (3 secs)
ERROR: [Vivado 12-3754] Failed to find the 'questasim' simulator executable. Make sure to set the 'questasim' installation environment and retry this command to compile the libraries for this simulator. For more information on tool setup refer 'questasim' user guide.
Library compilation for 'questasim' ignored.
compile_simlib: Time (s): cpu = 00:01:20 ; elapsed = 00:09:07 . Memory (MB): peak = 1073.137 ; gain = 55.027
ERROR: [Common 17-39] 'compile_simlib' failed due to earlier errors.

------------------------

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

回复: compile_simlib error Failed to find the simulator executable

Jump to solution

As mentioned, then what does it return if you run "<full path>\vcom -version" from command line prompt?

-------------------------------------------------------------------------
Don't forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------
0 Kudos
Visitor
Visitor
250 Views
Registered: ‎11-26-2015

回复: compile_simlib error Failed to find the simulator executable

Jump to solution

@graces wrote:

As mentioned, then what does it return if you run "<full path>\vcom -version" from command line prompt?



QuestaSim-64 vcom 10.6c Compiler 2017.07 Jul 26 2017

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

回复: compile_simlib error Failed to find the simulator executable

Jump to solution

That is supposed to work. Can you attach the compile_simlib.log for a look?

-------------------------------------------------------------------------
Don't forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------
0 Kudos
Highlighted
Newbie
Newbie
190 Views
Registered: ‎05-23-2018

回复: compile_simlib error Failed to find the simulator executable

Jump to solution

ok IT installed a monitoring software that blocks the tool.
A magic "Run elevated" button fixed.

Another user had the same problem as depicted here:
https://forums.xilinx.com/t5/Simulation-and-Verification/ERROR-Vivado-12-3754-Failed-to-find-the-questasim-simulator/m-p/1071721

View solution in original post