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

2014.1 Vivado - Write_project_tcl - bad index "4294967296": must be integer?​[+-]integer?​ or end?​[+-]integer?​


I run write_project_tcl  for my project in Vivado 2014.1.  After appearing to hang for a long time, it generates the following error message:

    "Running get_files..."


    write_project_tcl -force wpt_not_imports.tcl
    ::write_project_tcl: Time (s): cpu = 02:41:50 ; elapsed = 02:41:44 . Memory (MB): peak = 2137.953 ; gain = 0.000
    bad index "4294967296": must be integer?[+-]integer? or end?[+-]integer?


This issue is fixed in the Vivado 2014.2 release.

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.

The issue in Vivado 2014.1 is that the path needs to be two levels above the .xpr project in the directory structure when you run write_project_tcl:

Example: A 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
Solution 1

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

Solution 2

As an alternative you can use the -absolute_path switch when calling write_project_tcl

AR# 60400
Date 06/10/2014
Status Active
Type Known Issues
  • Vivado Design Suite - 2014.1