Intel: Questa* - When I try to launch Intel® FPGA Edition with NativeLink simulation, "missing". Check the NativeLink log file occurs.

Quartus PrimeSimulation

Category: Tools
Tools: Questa* - Intel® FPGA Edition / Questa* - Intel® FPGA Starter Edition
device:-

When running Questa* - Intel® FPGA Edition or Questa* - Intel® FPGA Starter Edition from Quartus Prime Standard Edition (or Lite Edition) with NativeLink simulation, the following popup may appear and the GUI may not launch.

missing".
Check the NativeLink log file
<project folder path>/<revision name>_nativelink_simulation.rpt for detailed errormessages

If you check the contents of <revision name>_nativelink_simulation.rpt displayed in the popup, you will find the following logs:

(excerpt below)

=======================================================
Info: Starting NativeLink simulation with Questa Intel FPGA software
Sourced NativeLink script c:/intelfpga_lite/22.1std/quartus/common/tcl/internal/nativelink/modelsim.tcl
missing "
Error: NativeLink simulation flow was NOT successful

================The following additional information is provided to help identify the cause of error while running nativelink scripts=================
Nativelink TCL script failed with errorCode:  NONE
Nativelink TCL script failed with errorInfo:  missing "
    while executing
"set questa_installation ""
    invoked from within
"if {[file isdirectory $questa_fse_directory]} {
         set questa_installation "$questa_fse_directory
         set found_a_questa_installation 1
   ..."
    (procedure "find_a_questa_oem_installation" line 21)
    invoked from within
"find_a_questa_oem_installation questa_installation"
    invoked from within
"if [ catch { set install_path_from_registry [registry get "HKEY_LOCAL_MACHINE\\SOFTWARE\\Wow6432Node\\Intel Corporation\\Quartus Prime\\$quartus_versi..."
    invoked from within
"if [ catch { set install_path_from_registry [registry get "HKEY_LOCAL_MACHINE\\SOFTWARE\\Intel Corporation\\Quartus Prime\\$quartus_version" "Questa I..."
    (procedure "resolve_tool_path" line 102)
    invoked from within
"resolve_tool_path "sim" "vsim" $args_hash(qsf_sim_tool)"
    (procedure "launch_sim" line 29)
    invoked from within
"launch_sim launch_args_hash"
    ("eval" body line 1)
    invoked from within
"eval launch_sim launch_args_hash"
    invoked from within
"if [ info exists ::errorCode ] {
                set savedCode $::errorCode
                set savedInfo $::errorInfo
                error $result $..."
    invoked from within
"if [catch {eval launch_sim launch_args_hash} result ] {
            set status 1
            if [ info exists ::errorCode ] {
                set save..."
    (procedure "run_sim" line 74)
    invoked from within
"run_sim run_sim_args_hash"
    invoked from within
"if [ info exists ::errorCode ] {
            set savedCode $::errorCode
            set savedInfo $::errorInfo
            error "$result" $savedInfo ..."
    (procedure "run_eda_simulation_tool" line 334)
    invoked from within
"run_eda_simulation_tool eda_opts_hash"

 

There are two workarounds for this phenomenon:
Please try method (1) first. If that doesn't work, try (2).

Workaround 1

1. Click EDA Tool Options under Tools menu ➤ Options ➤ General in Quartus Prime.
2. From the EDA Tool column, click the […] button at the right end of the simulator line you want to use, and
Specify the absolute path of the folder where the executable program of the simulator is saved,
Add a backslash to the end of the path.  
 Example) C:\intelfpga_lite\22.1std\questa_fse\win64\

If the above path is specified with a slash, add a / (slash) at the end.
Example) C:/intelFPGA_lite/22.1std/questa_fse/win64/

Workaround 2

Open the qnativelinkflow.tcl file in <Quartus Prime installation folder>\quartus\common\tcl\internal\nativelink and remove the " (double quotes) on line 122.

line 122
Before modification) set questa_installation "$questa_fse_directory
After modification) set questa_installation $questa_fse_directory

[reference]
https://community.intel.com/t5/Intel-Quartus-Prime-Software/Error-while-trying-to-run-Questa-simulator/mp/1434213

Experienced FAE
Free consultation is available.

From specific product specifications to parts selection, the Company FAE will answer your technical concerns free of charge. Please feel free to contact us.