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:
However, the following error occurs:
# set_property "file_type" "TCL" $file_obj
ERROR: [Vivado 12-563] The file type 'TCL' is not user settable.
"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.