2015-06-26 09:04:19 +00:00
|
|
|
# ip
|
|
|
|
|
|
|
|
source ../scripts/adi_env.tcl
|
|
|
|
source $ad_hdl_dir/library/scripts/adi_ip.tcl
|
|
|
|
|
|
|
|
adi_ip_create axi_clkgen
|
|
|
|
adi_ip_files axi_clkgen [list \
|
|
|
|
"$ad_hdl_dir/library/common/ad_rst.v" \
|
2016-08-05 15:00:34 +00:00
|
|
|
"$ad_hdl_dir/library/xilinx/common/ad_mmcm_drp.v" \
|
2015-06-26 09:04:19 +00:00
|
|
|
"$ad_hdl_dir/library/common/up_axi.v" \
|
|
|
|
"$ad_hdl_dir/library/common/up_clkgen.v" \
|
|
|
|
"axi_clkgen_constr.xdc" \
|
|
|
|
"axi_clkgen.v" ]
|
|
|
|
|
|
|
|
adi_ip_properties axi_clkgen
|
|
|
|
|
2015-08-25 06:13:24 +00:00
|
|
|
ipx::remove_bus_interface {clk} [ipx::current_core]
|
2015-08-20 15:17:38 +00:00
|
|
|
ipx::associate_bus_interfaces -busif s_axi -clock s_axi_aclk [ipx::current_core]
|
2015-06-26 09:04:19 +00:00
|
|
|
|
2015-11-06 15:55:29 +00:00
|
|
|
set_property driver_value 0 [ipx::get_ports *clk2* -of_objects [ipx::current_core]]
|
|
|
|
|
2015-06-26 09:04:19 +00:00
|
|
|
ipx::save_core [ipx::current_core]
|
|
|
|
|
|
|
|
|