2023-07-06 12:08:22 +00:00
|
|
|
###############################################################################
|
|
|
|
## Copyright (C) 2022-2023 Analog Devices, Inc. All rights reserved.
|
|
|
|
### SPDX short identifier: ADIBSD
|
|
|
|
###############################################################################
|
2022-08-10 08:29:05 +00:00
|
|
|
|
2023-07-06 12:08:22 +00:00
|
|
|
# ip
|
2022-08-10 08:29:05 +00:00
|
|
|
source ../../scripts/adi_env.tcl
|
|
|
|
source $ad_hdl_dir/library/scripts/adi_ip_xilinx.tcl
|
|
|
|
|
|
|
|
adi_ip_create axi_ad777x
|
|
|
|
|
|
|
|
adi_ip_files axi_ad777x [list \
|
|
|
|
"$ad_hdl_dir/library/xilinx/common/ad_rst_constr.xdc" \
|
|
|
|
"$ad_hdl_dir/library/common/ad_rst.v" \
|
|
|
|
"$ad_hdl_dir/library/common/up_axi.v" \
|
|
|
|
"$ad_hdl_dir/library/xilinx/common/ad_dcfilter.v" \
|
|
|
|
"$ad_hdl_dir/library/common/ad_datafmt.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_delay_cntrl.v" \
|
|
|
|
"$ad_hdl_dir/library/common/up_adc_channel.v" \
|
|
|
|
"$ad_hdl_dir/library/common/up_adc_common.v" \
|
|
|
|
"$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" \
|
|
|
|
"axi_ad777x_if.v" \
|
|
|
|
"axi_ad777x.v" ]
|
|
|
|
|
|
|
|
adi_ip_properties axi_ad777x
|
|
|
|
|
|
|
|
adi_init_bd_tcl
|
|
|
|
adi_ip_bd axi_ad777x "bd/bd.tcl"
|
|
|
|
|
|
|
|
set_property company_url {https://wiki.analog.com/resources/fpga/docs/ad777x} [ipx::current_core]
|
|
|
|
|
|
|
|
set_property driver_value 0 [ipx::get_ports *dovf* -of_objects [ipx::current_core]]
|
|
|
|
|
|
|
|
ipx::infer_bus_interface clk_in xilinx.com:signal:clock_rtl:1.0 [ipx::current_core]
|
|
|
|
ipx::infer_bus_interface adc_clk xilinx.com:signal:clock_rtl:1.0 [ipx::current_core]
|
|
|
|
set reset_intf [ipx::infer_bus_interface adc_reset xilinx.com:signal:reset_rtl:1.0 [ipx::current_core]]
|
|
|
|
set reset_polarity [ipx::add_bus_parameter "POLARITY" $reset_intf]
|
|
|
|
set_property value "ACTIVE_HIGH" $reset_polarity
|
|
|
|
|
|
|
|
adi_add_auto_fpga_spec_params
|
|
|
|
ipx::create_xgui_files [ipx::current_core]
|
|
|
|
|
|
|
|
ipx::save_core [ipx::current_core]
|