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."


My design uses a constraints file of type "TCL". I write out a recreate project.tcl script using the following command:

write_project_tcl -force -all_properties ./recreate_project.tcl

Then, I try to recreate the project from the Tcl console in Vivado:

source recreate_project.tcl

However, the following error occurs:

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

Why is this happening and is there a work-around?


This issue occurs because the "write_project_tcl" command adds the following line into the "recreate_project.tcl" script:

set_property "file_type" "TCL" $file_obj

Commenting out or removing this line from the Tcl script will allow the script to complete.

This issue is resolved in the Vivado 2013.2 tool.

AR# 55507
Date Created 04/11/2013
Last Updated 11/12/2013
Status Active
Type Known Issues
  • Vivado Design Suite - 2013.1