AR# 22570

8.1i ISE - When I launch ModelSim with a custom ".do" file, the following message appears: "# invalid command name"

描述

Keywords: spaces, do, command, incomplete, MTI, MXE, MSE, MPE

When I run a simulation process with ModelSim as the simulator, the ModelSim application opens but a message similar to the following appears in the transcript window:

"# Reading C:/Modeltech/tcl/vsim/pref.tcl
# C:/my_design/command file/functional.do
# invalid command name "C:/my_design/command""

解决方案

If you specify a custom command file (.do) that resides in a directory with spaces in the directory path, Project Navigator does not send the correct command line to ModelSim.

The problem is in the %XILINX%\data\projnav\scripts\dpm_flowUtils.tcl script, and can be fixed by changing the following line:

puts $_DoFile "$_VLog $_OtherVLOGOptions \"$_File"

to:

puts $_DoFile "$_VLog $_OtherVLOGOptions \"$_File\""


Additionally, the ".do" file will be located correctly if it can be specified using a relative path.

This problem has been fixed in the latest 8.2i Service Pack available at:
http://www.xilinx.com/xlnx/xil_sw_updates_home.jsp
The first service pack containing the fix is 8.2i Service Pack 1.
AR# 22570
日期 03/26/2008
状态 Archive
Type 综合文章