pluto_hdl_adi/library/axi_clkgen/axi_clkgen_ip.tcl

28 lines
755 B
Tcl

# 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" \
"$ad_hdl_dir/library/common/ad_mmcm_drp.v" \
"$ad_hdl_dir/library/common/up_axi.v" \
"$ad_hdl_dir/library/common/up_clkgen.v" \
"$ad_hdl_dir/library/common/ad_axi_ip_constr.xdc" \
"axi_clkgen_constr.xdc" \
"axi_clkgen.v" ]
adi_ip_properties axi_clkgen
ipx::remove_bus_interface {clk} [ipx::current_core]
ipx::associate_bus_interfaces -busif s_axi -clock s_axi_aclk [ipx::current_core]
#set_property physical_name {s_axi_aclk} [ipx::get_port_map CLK \
# [ipx::get_bus_interface s_axi_signal_clock [ipx::current_core]]]
ipx::save_core [ipx::current_core]