2023-07-06 12:08:22 +00:00
|
|
|
###############################################################################
|
|
|
|
## Copyright (C) 2014-2023 Analog Devices, Inc. All rights reserved.
|
|
|
|
### SPDX short identifier: ADIBSD
|
|
|
|
###############################################################################
|
2015-06-26 09:04:19 +00:00
|
|
|
|
2023-07-06 12:08:22 +00:00
|
|
|
# ip
|
2022-07-12 11:06:15 +00:00
|
|
|
source ../../scripts/adi_env.tcl
|
2018-08-14 09:59:39 +00:00
|
|
|
source $ad_hdl_dir/library/scripts/adi_ip_xilinx.tcl
|
2015-06-26 09:04:19 +00:00
|
|
|
|
|
|
|
adi_ip_create axi_ad9122
|
|
|
|
adi_ip_files axi_ad9122 [list \
|
2016-08-05 15:00:34 +00:00
|
|
|
"$ad_hdl_dir/library/xilinx/common/ad_mul.v" \
|
2018-02-07 12:10:27 +00:00
|
|
|
"$ad_hdl_dir/library/common/ad_dds_cordic_pipe.v" \
|
|
|
|
"$ad_hdl_dir/library/common/ad_dds_sine_cordic.v" \
|
2015-06-26 09:04:19 +00:00
|
|
|
"$ad_hdl_dir/library/common/ad_dds_sine.v" \
|
2018-06-04 13:42:30 +00:00
|
|
|
"$ad_hdl_dir/library/common/ad_dds_2.v" \
|
2015-06-26 09:04:19 +00:00
|
|
|
"$ad_hdl_dir/library/common/ad_dds_1.v" \
|
|
|
|
"$ad_hdl_dir/library/common/ad_dds.v" \
|
|
|
|
"$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" \
|
|
|
|
"$ad_hdl_dir/library/xilinx/common/ad_serdes_out.v" \
|
|
|
|
"$ad_hdl_dir/library/xilinx/common/ad_serdes_clk.v" \
|
2015-06-26 09:04:19 +00:00
|
|
|
"$ad_hdl_dir/library/common/up_axi.v" \
|
|
|
|
"$ad_hdl_dir/library/common/up_xfer_cntrl.v" \
|
|
|
|
"$ad_hdl_dir/library/common/up_xfer_status.v" \
|
|
|
|
"$ad_hdl_dir/library/common/up_clock_mon.v" \
|
|
|
|
"$ad_hdl_dir/library/common/up_dac_common.v" \
|
|
|
|
"$ad_hdl_dir/library/common/up_dac_channel.v" \
|
2017-03-31 07:13:42 +00:00
|
|
|
"$ad_hdl_dir/library/xilinx/common/up_xfer_cntrl_constr.xdc" \
|
|
|
|
"$ad_hdl_dir/library/xilinx/common/ad_rst_constr.xdc" \
|
|
|
|
"$ad_hdl_dir/library/xilinx/common/up_xfer_status_constr.xdc" \
|
|
|
|
"$ad_hdl_dir/library/xilinx/common/up_clock_mon_constr.xdc" \
|
2015-06-26 09:04:19 +00:00
|
|
|
"axi_ad9122_channel.v" \
|
|
|
|
"axi_ad9122_core.v" \
|
|
|
|
"axi_ad9122_if.v" \
|
|
|
|
"axi_ad9122_constr.xdc" \
|
2019-04-02 08:18:25 +00:00
|
|
|
"axi_ad9122.v" ]
|
2015-06-26 09:04:19 +00:00
|
|
|
|
|
|
|
adi_ip_properties axi_ad9122
|
|
|
|
|
2019-04-02 08:18:25 +00:00
|
|
|
adi_init_bd_tcl
|
2019-03-14 15:25:36 +00:00
|
|
|
adi_ip_bd axi_ad9122 "bd/bd.tcl"
|
2019-01-11 08:54:16 +00:00
|
|
|
|
2015-06-26 09:04:19 +00:00
|
|
|
set_property driver_value 0 [ipx::get_ports *dac_sync_in* -of_objects [ipx::current_core]]
|
|
|
|
set_property driver_value 0 [ipx::get_ports *dunf* -of_objects [ipx::current_core]]
|
|
|
|
|
2018-02-15 08:41:14 +00:00
|
|
|
ipx::infer_bus_interface dac_clk_in_p xilinx.com:signal:clock_rtl:1.0 [ipx::current_core]
|
|
|
|
ipx::infer_bus_interface dac_clk_in_n xilinx.com:signal:clock_rtl:1.0 [ipx::current_core]
|
|
|
|
ipx::infer_bus_interface dac_clk_out_p xilinx.com:signal:clock_rtl:1.0 [ipx::current_core]
|
|
|
|
ipx::infer_bus_interface dac_clk_out_n xilinx.com:signal:clock_rtl:1.0 [ipx::current_core]
|
|
|
|
ipx::infer_bus_interface dac_div_clk xilinx.com:signal:clock_rtl:1.0 [ipx::current_core]
|
|
|
|
|
2019-01-11 08:54:16 +00:00
|
|
|
adi_add_auto_fpga_spec_params
|
|
|
|
|
|
|
|
ipx::create_xgui_files [ipx::current_core]
|
|
|
|
|
2015-06-26 09:04:19 +00:00
|
|
|
ipx::save_core [ipx::current_core]
|
|
|
|
|