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_ad9122
|
|
|
|
adi_ip_files axi_ad9122 [list \
|
|
|
|
"$ad_hdl_dir/library/common/ad_mul.v" \
|
|
|
|
"$ad_hdl_dir/library/common/ad_dds_sine.v" \
|
|
|
|
"$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" \
|
|
|
|
"$ad_hdl_dir/library/common/ad_mmcm_drp.v" \
|
|
|
|
"$ad_hdl_dir/library/common/ad_serdes_out.v" \
|
|
|
|
"$ad_hdl_dir/library/common/ad_serdes_clk.v" \
|
|
|
|
"$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" \
|
2015-09-16 12:48:33 +00:00
|
|
|
"$ad_hdl_dir/library/common/ad_axi_ip_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" \
|
|
|
|
"axi_ad9122.v" ]
|
|
|
|
|
|
|
|
adi_ip_properties axi_ad9122
|
|
|
|
|
2015-08-25 13:49:10 +00:00
|
|
|
adi_ip_constraints axi_ad9122 [list \
|
2015-09-16 12:48:33 +00:00
|
|
|
"$ad_hdl_dir/library/common/ad_axi_ip_constr.xdc" \
|
2015-08-25 13:49:10 +00:00
|
|
|
"axi_ad9122_constr.xdc" ]
|
|
|
|
|
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]]
|
|
|
|
set_property driver_value 0 [ipx::get_ports *dovf* -of_objects [ipx::current_core]]
|
|
|
|
|
|
|
|
ipx::save_core [ipx::current_core]
|
|
|
|
|