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

Vivado Constraints - "ERROR: [Common 17-161] Invalid option value '6.5' specified for 'multiply_​by'." received on create_generated_clock constraint


I am trying to create a generated clock whose frequency is a fractional multiplier to its source:

create_generated_clock -name clk_fraction -source [get_pins ex_fpgaex_clock/ex_mmcm_clk_wizard/mmcm_adv_inst/CLKIN1] -multiply_by 6.5 -divide_by 6 [get_pin sex_fpga/ex_mmcm_clk_wizard/mmcm_adv_inst/CLKOUT0]

 This constraint causes the following error:

ERROR: [Common 17-161] Invalid option value '6.5' specified for 'multiply_by'.


How can I resolve this error?



Allowable values for the -mutiply_by and -divide_by parameters are integers.  

To obtain a fractional output you would need to find the ratio of whole numbers which provide the desired fractional output.

In the case above, you would need to use a -mutiply_by value of 13 and -divide_by value of 12 to obtain the desired output. 

For more information, please refer to the help information of the create_generated_clock command or UG835.

AR# 54090
Date 09/22/2014
Status Active
Type General Article
  • Vivado Design Suite