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

Vivado Constraint - Critical Warning:[Common 17-163] Missing value for option 'xxx'

Description

How can I resolve the following Critical Warning?

Critical Warning:[Common 17-163] Missing value for option 'xxx', please type '<command> -help' for usage info. [<xdc_file_name>.xdc:8]


Solution

This Critical Warning indicates that the constraint in question is missing a required option and that the constraint will not work due to this syntax error.

Below are some examples:

1. Missing space between options.

Critical Warning:[Common 17-163] Missing value for option 'objects', please type 'set_property -help' for usage info.


In this case, the critical warning is caused by a missing space between the property value and "get_cells".
set_property LOC GTXE2_CHANNEL_X0Y10[get_cells u_tx_quad_gt2_gtwizard/gtxe2_i]

Correct constraint:
set_property LOC GTXE2_CHANNEL_X0Y10 [get_cells u_tx_quad_gt2_gtwizard/gtxe2_i]


2. Missing braces for blank value of the option.

Critical Warning:[Common 17-163] Missing value for option 'objects', please type 'set_property -help' for usage info.


In this case, the constraint is to set a blank value for a property:
set_property BITSTREAM.ENCRYPTION.HKEY [current_design]

Braces are required to indicate a blank value, so the correct constraint should be similar to the following:
set_property BITSTREAM.ENCRYPTION.HKEY {} [current_design]

AR# 60518
Date Created 05/04/2014
Last Updated 01/12/2015
Status Active
Type General Article
Tools
  • Vivado Design Suite