pluto_hdl_adi/library/util_clkdiv/util_clkdiv_ip.tcl

13 lines
312 B
Tcl
Raw Normal View History

2016-09-30 14:13:51 +00:00
source ../scripts/adi_env.tcl
source $ad_hdl_dir/library/scripts/adi_ip.tcl
2016-09-30 14:13:51 +00:00
adi_ip_create util_clkdiv
adi_ip_files util_clkdiv [list \
"util_clkdiv.v" ]
2016-09-30 14:13:51 +00:00
adi_ip_properties_lite util_clkdiv
set_property driver_value 0 [ipx::get_ports clk_sel -of_objects [ipx::current_core]]
2016-09-30 14:13:51 +00:00
ipx::save_core [ipx::current_core]