2023-07-06 12:08:22 +00:00
|
|
|
###############################################################################
|
|
|
|
## Copyright (C) 2017-2023 Analog Devices, Inc. All rights reserved.
|
|
|
|
### SPDX short identifier: ADIBSD
|
|
|
|
###############################################################################
|
|
|
|
|
2018-08-10 07:34:45 +00:00
|
|
|
## FIFO depth is 16Mb - 1M samples
|
|
|
|
set dac_fifo_address_width 17
|
2017-08-22 12:48:03 +00:00
|
|
|
|
2018-08-10 07:34:45 +00:00
|
|
|
## NOTE: With this configuration the #36Kb BRAM utilization is at ~51%
|
|
|
|
|
2017-08-22 12:48:03 +00:00
|
|
|
source $ad_hdl_dir/projects/common/zcu102/zcu102_system_bd.tcl
|
|
|
|
source $ad_hdl_dir/projects/common/xilinx/dacfifo_bd.tcl
|
2020-10-09 14:28:10 +00:00
|
|
|
source $ad_hdl_dir/projects/scripts/adi_pd.tcl
|
2017-08-22 12:48:03 +00:00
|
|
|
|
2022-09-23 09:28:22 +00:00
|
|
|
set mem_init_sys_path [get_env_param ADI_PROJECT_DIR ""]mem_init_sys.txt;
|
|
|
|
|
2019-06-28 08:41:21 +00:00
|
|
|
#system ID
|
|
|
|
ad_ip_parameter axi_sysid_0 CONFIG.ROM_ADDR_BITS 9
|
2022-09-23 09:28:22 +00:00
|
|
|
ad_ip_parameter rom_sys_0 CONFIG.PATH_TO_FILE "[pwd]/$mem_init_sys_path"
|
2019-06-28 08:41:21 +00:00
|
|
|
ad_ip_parameter rom_sys_0 CONFIG.ROM_ADDR_BITS 9
|
2020-09-28 21:10:35 +00:00
|
|
|
|
|
|
|
sysid_gen_sys_init_file
|
2019-06-28 08:41:21 +00:00
|
|
|
|
|
|
|
ad_ip_parameter sys_ps8 CONFIG.PSU__FPGA_PL2_ENABLE 1
|
|
|
|
ad_ip_parameter sys_ps8 CONFIG.PSU__CRL_APB__PL2_REF_CTRL__SRCSEL {IOPLL}
|
|
|
|
ad_ip_parameter sys_ps8 CONFIG.PSU__CRL_APB__PL2_REF_CTRL__FREQMHZ 200
|
|
|
|
|
2017-08-22 12:48:03 +00:00
|
|
|
source ../common/adrv9371x_bd.tcl
|
|
|
|
|
2018-10-03 15:43:30 +00:00
|
|
|
ad_ip_parameter axi_ad9371_tx_xcvr CONFIG.TX_DIFFCTRL 6
|
2017-11-10 16:11:46 +00:00
|
|
|
|
2017-11-10 16:03:29 +00:00
|
|
|
ad_ip_parameter util_ad9371_xcvr CONFIG.QPLL_FBDIV 80
|
2017-08-22 12:48:03 +00:00
|
|
|
ad_ip_parameter util_ad9371_xcvr CONFIG.QPLL_REFCLK_DIV 1
|