UPGRADE YOUR BROWSER

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

2016.4 Vivado - Saving constraints gives "ERROR: [Common 17-53] User Exception: A file was added to constraint set constrs_1 after the implementation design was open"

Description

In Vivado 2016.3, I see the following ERROR messages when I try to save the constraints after making some changes in open implemented design. I am saving by selecting File --> Save Constraints or using <Ctrl+S> and then selecting to update current constraint set with no existing XDC file in project.

save_constraints -force
ERROR: [Common 17-53] User Exception: A file was added to constraint set constrs_1 after the implementation design was open. Doing "Save Constraints" will overwrite these files. Use "Save Constraints As" to avoid losing any data on disk.

I see the following commands in the log file:

file mkdir /test/test.srcs/constrs_1/new
close [ open /test/test.srcs/constrs_1/new/top_1.xdc w ]
add_files -fileset constrs_1 /test/test.srcs/constrs_1/new/top_1.xdc
set_property target_constrs_file /test/test.srcs/constrs_1/new/top_1.xdc [current_fileset -constrset]
save_constraints -force
ERROR: [Common 17-53] User Exception: A file was added to constraint set constrs_1 after the implementation design was open. Doing "Save Constraints" will overwrite these files. Use "Save Constraints As" to avoid losing any data on disk.

Also, after running these commands, the generated XDC is empty, which then makes the project out-of-date.

Using the same flow in Vivado 2016.2 works fine and the new XDC is created with updated user constraints.

Solution

This issue should only occur if there is not a constraint file in the constraint set before the implemented design is opened.

In order to save changes that have been made, a user will need to create a new constraint set (Save Constraints as) and save constraints to the new constraint set.

This issue is scheduled to be fixed in Vivado 2017.1.

AR# 68295
Date 12/19/2016
Status Active
Type Known Issues
Tools
  • Vivado Design Suite - 2016.3
  • Vivado Design Suite - 2016.4
Page Bookmarked