Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
21611 Discussions

Problem RTL Simulation with ModelSim in Quartus II 9.0

Altera_Forum
Honored Contributor II
2,134 Views

Hello, 

 

I've recently installed Quartus II 9.0 and Modelsim-Altera (using the new installation package of 9.0), but when I tried to run Tools/Run RTL Simulation I get the following error message box: 

 

"Can't launch the $tool software -- the path to the location of the executables for the $tool software were not specified or the executables were not found at specified path." 

 

I check the modelsim executable path in Tools/Options/EDA Tool Options, and I found that the Modelsim executable path is set correctly to point at <Modelsim path>/win32aloem/modelsim.exe, so I can't figureout where the problem is!! 

 

I've very little knowledge of Tcl scripts, but I opened the script modelsim.tcl, and I found that it enters in the above error condition according to the following code: 

 

if {$vsim_cmd == ""} { 

nl_postmsg error "Error: Can't launch the $tool software -- the path to the location of the executables for the $tool software were not specified or the executables were not found at specified path." 

nl_postmsg error "Error: You can specify the path in the EDA Tool Options page of the Options dialog box or using the Tcl command set_user_option." 

error "" "" 

}  

 

$vsim_cmd was set somewhere else in the script to: 

# This function launches the modelsim executable 

proc ::quartus::nativelinkflow::sim::launch_sim {args} { 

set err_cnt 0 

set script_args "" 

set msim_do_file_name "" 

namespace import ::quartus::nativelinkflow::resolve_tool_path 

set vsim_cmd [resolve_tool_path "sim" "vsim"] 

set msim_cmd [resolve_tool_path "sim" "modelsim"] 

 

But I can't trace how "resolve_tool_path" is imported and where it's set??!! 

 

Has anyone faced this problem before with Quartus II 9.0?? 

Note: I'm using the 30-day evaluation version 

 

Thanks for ur help 

Regards
0 Kudos
1 Reply
Altera_Forum
Honored Contributor II
1,265 Views

Hi, 

I had this problem, 

you have to set the path of ModelSim in SOPC Builder and in Nios IDE.  

In SOPC BUIlder select Option and then HDL Simulator. Then put the path of ModelSIm which should be in Altera\90\modelsim_ase\win32aloem. 

Unfortunately I do not remembered where to indicate the path in Nios IDE but you can try to run your project as Nios II ModelSim and an error should occur telling you to set the path in a specific setting of Nios IDE. 

Hope it will help 

éléa
0 Kudos
Reply