2023-07-06 12:08:22 +00:00
|
|
|
###############################################################################
|
|
|
|
## Copyright (C) 2015-2023 Analog Devices, Inc. All rights reserved.
|
|
|
|
### SPDX short identifier: ADIBSD
|
|
|
|
###############################################################################
|
|
|
|
|
2018-08-10 07:34:45 +00:00
|
|
|
## FIFO depth is 4Mb - 250k samples
|
2017-02-27 21:05:21 +00:00
|
|
|
set adc_fifo_address_width 16
|
|
|
|
|
2018-08-10 07:34:45 +00:00
|
|
|
## FIFO depth is 4Mb - 250k samples
|
|
|
|
set dac_fifo_address_width 15
|
2017-02-27 21:05:21 +00:00
|
|
|
|
2018-08-10 07:34:45 +00:00
|
|
|
## NOTE: With this configuration the #36Kb BRAM utilization is at ~70%
|
|
|
|
|
2015-12-10 14:41:47 +00:00
|
|
|
source $ad_hdl_dir/projects/common/kcu105/kcu105_system_bd.tcl
|
2017-02-22 20:56:37 +00:00
|
|
|
source $ad_hdl_dir/projects/common/xilinx/adcfifo_bd.tcl
|
|
|
|
source $ad_hdl_dir/projects/common/xilinx/dacfifo_bd.tcl
|
2015-12-14 14:29:48 +00:00
|
|
|
source ../common/daq3_bd.tcl
|
2020-10-09 14:28:10 +00:00
|
|
|
source $ad_hdl_dir/projects/scripts/adi_pd.tcl
|
2015-12-10 14:41:47 +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
|
|
|
|
2017-04-21 12:07:41 +00:00
|
|
|
ad_ip_parameter util_daq3_xcvr CONFIG.QPLL_FBDIV 20
|
|
|
|
ad_ip_parameter util_daq3_xcvr CONFIG.QPLL_REFCLK_DIV 1
|
2019-02-01 08:38:00 +00:00
|
|
|
ad_ip_parameter util_daq3_xcvr CONFIG.CPLL_CFG0 0x67f8
|
|
|
|
ad_ip_parameter util_daq3_xcvr CONFIG.CPLL_CFG1 0xa4ac
|
|
|
|
ad_ip_parameter util_daq3_xcvr CONFIG.CPLL_CFG2 0x0007
|