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 综合文章
Tools