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# 55507

Vivado 2013.1 - "ERROR: [Vivado 12-563] The file type 'TCL' is not user settable."

描述

我的设计使用一个 "TCL" 约束文件。我使用以下命令生成 recreate project.tcl 脚本:

write_project_tcl -force -all_properties ./recreate_project.tcl

然后,我试图从 Vivado 中的 Tcl Console重新创建工程:

source recreate_project.tcl

但出现以下错误:

# set_property "file_type" "TCL" $file_obj
ERROR: [Vivado 12-563] The file type 'TCL' is not user settable.
    while executing
"rdi::set_property file_type TCL F:/ambrosef/CASE_963731/case963731/case963731/case963731/case963731.srcs/constrs_1/imports/case963731/constraints2.tcl"
    invoked from within
"set_property "file_type" "TCL" $file_obj"
    (file "recreate_project.tcl" line 142)

为什么会出现此问题?如何解决?

解决方案

出现这个问题是因为"write_project_tcl" 命令在 "recreate_project.tcl" 脚本里添加了下面这一行:

set_property "file_type" "TCL" $file_obj

把此行注释掉或从 Tcl 脚本去除,此脚本即可运行成功。

此问题已在 Vivado 2013.2 工具中得以解决。

AR# 55507
日期 11/12/2013
状态 Archive
Type 已知问题
Tools
  • Vivado Design Suite - 2013.1
的页面