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:
Open the Tcl Store (Tools->Xilinx TclStore)
(Accept 3rd party agreement if there's a popup)
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:
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.
Was this Answer Record helpful?