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

2014.1 Vivado - write_project_tcl does not work in 2014.1 resulting in ERROR: [Common 17-58] '' is not a valid first class Tcl object.


While attempting to run write_project_tcl, Vivado either appears to hang or produces an error:

write_project_tcl -all_properties -absolute_path -verbose lab1.tcl

WARNING: [Vivado 12-818] No files matched 'class HDDASrcFile * __ptr64'
ERROR: [Common 17-58] '' is not a valid first class Tcl object.

If the process is left running for several hours, it eventually fails with the following message:

::write_project_tcl: Time (s): cpu = 03:18:52 ; elapsed = 03:18:09 . Memory (MB): peak = 4946.773 ; gain = 0.000
bad index "4294967296": must be integer?[+-]integer? or end?[+-]integer?


This issue has been fixed in Vivado release 2014.2.

We have also released an update to the Tclstore which can be retrieved in the Vivado 2014.1 installed version.

To update Vivado 2014.1 with this fix:

  1. Open the Tcl Store (Tools->Xilinx TclStore)
  2. (Accept 3rd party agreement if there's a popup)
  3. Click the Refresh button in the lower left of the window to retrieve the latest catalog. The update button appears next to the Project Utilities app as in the screenshot below:
  4. tclstore.png

  5. Click the Update button.
    a. This should update the app.
    b. Close the TclStore GUI and run with the latest changes.

If you do not see an Update button after clicking refresh and you are running on Windows over a proxy, see (Xilinx Answer 60283) for a workaround.

For 2014.1, another work around is to be two levels above the .xpr file in the directory structure when running write_project_tcl.


The project is located at: /a/b/Level_1/project_dir/project.xpr

The below example will not work:

cd /a/b/Level_1
vivado project_dir/project.xpr
write_project_tcl file.tcl

The below example will work:
cd /a/b
vivado Level_1/project_dir/project.xpr
write_project_tcl file.tcl

Another workaround is to use the -absolute_path switch when calling write_project_tcl, but the above may be simpler in most cases.


AR# 60401
Date 06/10/2014
Status Archive
Type Known Issues
  • Zynq-7000
  • Artix-7
  • Kintex UltraScale
  • More
  • Kintex-7
  • Virtex UltraScale
  • Virtex-7
  • Less
  • Vivado Design Suite - 2014.1
Page Bookmarked