Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
11 years ago

Gate Level Simulation - Can't launch ModelSim-Altera

Hi all

I'm having some difficulty using Modelsim from within Quartus II 14.0 on my linux 64 bit system. Whenever I attempt perform gate level simulation I get the following error from the console:

Error: Error: Can't launch ModelSim-Altera Simulation software -- make sure the software is properly installed and the environment variable LM_LICENSE_FILE or MGLS_LICENSE_FILE points to the correct license file.

Error: Error: NativeLink simulation flow was NOT successful

Info: Info: For messages from NativeLink scripts, check the file /home/jeremy/altera/14.0/mem_test_nativelink_simulation.rpt

Please note that the EDA tools path is configured correctly. The native link script details the following:

Info: Start Nativelink Simulation process
========= EDA Simulation Settings =====================
Sim Mode              :  Gate
Family                :  cycloneive
Quartus root          :  /home/jeremy/altera/14.0/quartus/linux64/
Quartus sim root      :  /home/jeremy/altera/14.0/quartus/eda/sim_lib
Simulation Tool       :  modelsim-altera
Simulation Language   :  vhdl
Version               :  93
Simulation Mode       :  GUI
Sim Output File       :  mem_test.vho
Sim SDF file          :  mem_test__vhdl.sdo
Sim dir               :  simulation/modelsim
=======================================================
Info: Starting NativeLink simulation with ModelSim-Altera software
Sourced NativeLink script /home/jeremy/altera/14.0/quartus/common/tcl/internal/nativelink/modelsim.tcl
Warning: File mem_test_run_msim_gate_vhdl.do already exists - backing up current file as mem_test_run_msim_gate_vhdl.do.bak7
Error: Can't launch ModelSim-Altera Simulation software -- make sure the software is properly installed and the environment variable LM_LICENSE_FILE or MGLS_LICENSE_FILE points to the correct license file.
Error: 
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:  Can't open transcript file msim_transcript
    invoked from within
"if  {
            nl_postmsg error "Error: Can't launch $tool Simulation software -- make sure the software is pro..."
    invoked from within
"if  {
    error "$::errorCode" "$::errorInfo"
    } elseif {$script_mode == 0} {
    post_message..."
    (procedure "launch_sim" line 109)
    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  {
                set savedCode $::errorCode
                set savedInfo $::errorInfo
                error $result $savedInfo $savedCode
            } else {
            ..."
    invoked from within
"if  {
            set status 1
            if  {
                set savedCode $::errorCode
                set sav..."
    (procedure "run_sim" line 78)
    invoked from within
"run_sim run_sim_args_hash"
    invoked from within
"if  {
            set savedCode $::errorCode
            set savedInfo $::errorInfo
            error "$result" $savedInfo $savedCode
        } else {
            er..."
    (procedure "run_eda_simulation_tool" line 330)
    invoked from within
"run_eda_simulation_tool eda_opts_hash"

I'm assuming this may be a permissions issue but I can't seem to resolve it. I think the msim_transcript is dynamically generated. Can anyone help me with this issue?
No RepliesBe the first to reply