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

Vivado Constraints - "Critical Warning:[Common 17-161] Invalid option value '#' specified for 'objects' " is given for constraints followed by comments


Vivado displays the following Critical Warning on constraints followed by comments.

 Critical Warning: [Common 17-161] Invalid option value '#' specified for 'objects'. ["F:/test_proj/test.xdc":2]

Example constraint that produces this Critical Warning:

 set_property PACKAGE_PIN E19 [get_ports CLKIN_P] # test comment

This results in the constraint "set_property PACKAGE_PIN E19 [get_ports CLKIN_P]" not being applied.



This syntax is not correct. The issue is that there needs to be a semi-colon after the constraint and before the comment to indicate the end of the Tcl command. 

So the constraint and comment should be as follows:

set_property PACKAGE_PIN E19 [get_ports CLKIN_P] ; # test comment



AR# 51613
日期 09/22/2014
状态 Active
Type 综合文章
  • Vivado Design Suite