2016-09-30 14:13:51 +00:00
|
|
|
source ../scripts/adi_env.tcl
|
|
|
|
source $ad_hdl_dir/library/scripts/adi_ip.tcl
|
2016-11-24 14:01:37 +00:00
|
|
|
|
2016-09-30 14:13:51 +00:00
|
|
|
adi_ip_create util_clkdiv
|
|
|
|
adi_ip_files util_clkdiv [list \
|
2017-01-11 16:11:53 +00:00
|
|
|
"util_clkdiv_constr.xdc" \
|
|
|
|
"util_clkdiv.v" ]
|
2016-11-24 14:01:37 +00:00
|
|
|
|
2016-09-30 14:13:51 +00:00
|
|
|
adi_ip_properties_lite util_clkdiv
|
2016-11-24 14:01:37 +00:00
|
|
|
|
2017-01-11 16:11:53 +00:00
|
|
|
adi_ip_constraints util_clkdiv [list \
|
|
|
|
"util_clkdiv_constr.xdc" ]
|
|
|
|
|
2016-11-24 14:01:37 +00:00
|
|
|
set_property driver_value 0 [ipx::get_ports clk_sel -of_objects [ipx::current_core]]
|
|
|
|
|
2017-01-13 11:54:07 +00:00
|
|
|
set_property value_validation_type list [ipx::get_user_parameters C_SIM_DEVICE -of_objects [ipx::current_core]]
|
|
|
|
set_property value_validation_list {7SERIES ULTRASCALE} [ipx::get_user_parameters C_SIM_DEVICE -of_objects [ipx::current_core]]
|
|
|
|
|
2016-09-30 14:13:51 +00:00
|
|
|
ipx::save_core [ipx::current_core]
|