Forum Discussion

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

modelsim error

Hi, I'm new in hdl programming, I just installed Modelsim Altera Starter Edition 6.6d, and I can't create any library.

When I started modelsim it created file with name transcript. It has following content:

# Reading C:/altera/11.0/modelsim_ase/tcl/vsim/pref.tcl # error: Load_NoDesignLayout can't read "map( )": no such element in array# can't read "map( )": no such element in array# while executing# "subst -nocommands $string"# (procedure "encode" line 11)# invoked from within# "encode $ukey"# (procedure "getMTIProperty" line 11)# invoked from within# "getMTIProperty $geomKey main_size "" "# (procedure "LoadLayout" line 35)# invoked from within# "LoadLayout NoDesign quitsim"# ("eval" body line 1)# invoked from within# "eval "LoadLayout $new_layout_name quitsim""# (procedure "Layout::Load_NoDesignLayout" line 3)# invoked from within# "Layout::Load_NoDesignLayout"

When I tried to shut modelsim window, I had an error in tcl script: can't read "map(P)": no such element in array. And window didn't shut. After killing vish process I had tcl_stacktrace.txt with:

Thu Sep 15 11:19:03 ?????????? ????? (????) 2011

Trace back: can't read "map(?)": no such element in array

while executing

"quit"

(command for "WM_DELETE_WINDOW" window manager protocol)

<2: ::tkerror {can't read "map(?)": no such element in array}

<1: ::bgerror {can't read "map(?)": no such element in array}

Thu Sep 15 11:20:21 ?????????? ????? (????) 2011

Trace back: can't read "map(?)": no such element in array

while executing

"quit"

(command for "WM_DELETE_WINDOW" window manager protocol)

<2: ::tkerror {can't read "map(?)": no such element in array}

<1: ::bgerror {can't read "map(?)": no such element in array}

I tried to ask google, but it had nothing interesting. May be somebody had this problem.

Windows XP SP2 (32-bit); Modelsim Altera Starter Edition 6.6d

1 Reply

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Hi biv,

    Where do you launch ModelSim? I had similar error when I launched ModelSim from the shortcut on my Windows Desktop, but ModelSim can successfully be launched when I launch it from Start Menu.

    Regards,