2015-06-26 09:04:19 +00:00
|
|
|
# ip
|
|
|
|
|
|
|
|
source ../scripts/adi_env.tcl
|
|
|
|
source $ad_hdl_dir/library/scripts/adi_ip.tcl
|
|
|
|
|
2019-03-14 15:25:36 +00:00
|
|
|
adi_init_bd_tcl
|
|
|
|
|
2015-06-26 09:04:19 +00:00
|
|
|
adi_ip_create axi_ad9144
|
|
|
|
adi_ip_files axi_ad9144 [list \
|
2019-01-11 08:54:16 +00:00
|
|
|
"axi_ad9144.v" \
|
|
|
|
"bd/bd.tcl" ]
|
2015-06-26 09:04:19 +00:00
|
|
|
|
|
|
|
adi_ip_properties axi_ad9144
|
|
|
|
|
2019-03-14 15:25:36 +00:00
|
|
|
adi_auto_fill_bd_tcl
|
|
|
|
adi_ip_bd axi_ad9144 "bd/bd.tcl"
|
2019-01-11 08:54:16 +00:00
|
|
|
|
2017-05-05 16:55:22 +00:00
|
|
|
adi_ip_add_core_dependencies { \
|
|
|
|
analog.com:user:ad_ip_jesd204_tpl_dac:1.0 \
|
|
|
|
}
|
|
|
|
|
2017-05-07 18:41:43 +00:00
|
|
|
adi_set_ports_dependency "dac_valid_2" "QUAD_OR_DUAL_N == 1"
|
|
|
|
adi_set_ports_dependency "dac_valid_3" "QUAD_OR_DUAL_N == 1"
|
|
|
|
adi_set_ports_dependency "dac_enable_2" "QUAD_OR_DUAL_N == 1"
|
|
|
|
adi_set_ports_dependency "dac_enable_3" "QUAD_OR_DUAL_N == 1"
|
|
|
|
adi_set_ports_dependency "dac_ddata_2" "QUAD_OR_DUAL_N == 1" "0"
|
|
|
|
adi_set_ports_dependency "dac_ddata_3" "QUAD_OR_DUAL_N == 1" "0"
|
|
|
|
|
2015-06-26 09:04:19 +00:00
|
|
|
set_property driver_value 0 [ipx::get_ports *dunf* -of_objects [ipx::current_core]]
|
2016-09-12 18:55:02 +00:00
|
|
|
set_property driver_value 0 [ipx::get_ports *tx_ready* -of_objects [ipx::current_core]]
|
2015-06-26 09:04:19 +00:00
|
|
|
|
2018-04-05 12:47:58 +00:00
|
|
|
ipx::infer_bus_interface tx_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]
|
|
|
|
|