UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

AR# 36679

Project Navigator - Canceling the "Add Source" command for IP core results in "ERROR:ProjectMgmt:387 - TOE: ITclInterp..."

Description

A user selects Project -> Add Source and then selects an existing IP core. However, before adding the core to the project, the userchooses to cancel the operation and receives the following error:

"ERROR:ProjectMgmt:387 - TOE: ITclInterp::ExecuteCmd gave Tcl result 'invalid command name "::IP_core_name_xmdf::xmdfInit"'.
Tcl_ErrnoId: unknown error
Tcl_ErrnoMsg: No error
_cmd: ::xilinx::Dpm::dpm_chFileRemoveHelper $piThisInterface
errorInfo: invalid command name "::Copy of samp_ram_xmdf::xmdfInit"
while executing
"::${moduleName}_xmdf::xmdfInit aInstance"
(procedure "::utilities_xmdf::xmdfGetOutputList" line 18)
invoked from within
"::utilities_xmdf::xmdfGetOutputList $sModule $sFilesDir _XmdfOutputList"
(procedure "dpm_coregenGetOutputList" line 31)
invoked from within
"dpm_coregenGetOutputList $sModuleName $iProject $sPath lCoreFiles"
(".xco" arm line 4)
invoked from within
"switch -- [string tolower $sExtent] {
.xmp {
set bResult [dpm_xpsUnlinkXpsFromProjnav $iProject $sFilepath]
}
..."
(procedure "::xilinx::Dpm::dpm_chFileRemoveHelper" line 27)
invoked from within
"::xilinx::Dpm::dpm_chFileRemoveHelper $piThisInterface""

Solution

The error occurs on a canceled operation and does not affect the project or the contents of the project.

This errorcan occur in the following situations:

  • The base name of the XCO file is changed; this typically occurs when usersattempt to hand edit orreplicate a core with minor changes, or if they have made a backup copy of the core with an altered name.
  • The base name of the xmdf file is also changed to match that of the ".xco" file.
  • The user cancels the Add Source command.
The cancel of theAdd Source commandis attempting to clean up after itself. The problemoccurs because the xmdf.tcl file has 'name dependent' content. If the renamed xmdf.tcl file is deleted, Project Navigator uses a different algorithm to determine the files associated with the ".xco" file.
AR# 36679
Date Created 07/09/2010
Last Updated 12/15/2012
Status Active
Type General Article
Tools
  • ISE Design Suite - 12.1
  • ISE Design Suite - 13.1