2021-09-23 11:30:37 +00:00
|
|
|
## Offload attributes
|
|
|
|
set adc_offload_type 0
|
|
|
|
set adc_offload_size [expr 512 * 1024]
|
2015-06-26 09:04:19 +00:00
|
|
|
|
2021-09-23 11:30:37 +00:00
|
|
|
set dac_offload_type 0
|
|
|
|
set dac_offload_size [expr 1 * 1024 * 1024]
|
2017-02-27 21:05:21 +00:00
|
|
|
|
2021-09-23 11:30:37 +00:00
|
|
|
set plddr_offload_axi_data_width 0
|
|
|
|
set plddr_offload_axi_addr_width 0
|
2017-02-27 21:05:21 +00:00
|
|
|
|
2021-09-23 11:30:37 +00:00
|
|
|
## NOTE: With this configuration the #36Kb BRAM utilization is at ~78%
|
2018-08-10 07:34:45 +00:00
|
|
|
|
2015-06-26 09:04:19 +00:00
|
|
|
source $ad_hdl_dir/projects/common/kcu105/kcu105_system_bd.tcl
|
|
|
|
source ../common/daq2_bd.tcl
|
2020-10-09 14:28:10 +00:00
|
|
|
source $ad_hdl_dir/projects/scripts/adi_pd.tcl
|
2015-06-26 09:04:19 +00:00
|
|
|
|
2019-06-28 08:41:21 +00:00
|
|
|
#system ID
|
|
|
|
ad_ip_parameter axi_sysid_0 CONFIG.ROM_ADDR_BITS 9
|
|
|
|
ad_ip_parameter rom_sys_0 CONFIG.PATH_TO_FILE "[pwd]/mem_init_sys.txt"
|
|
|
|
ad_ip_parameter rom_sys_0 CONFIG.ROM_ADDR_BITS 9
|
2020-09-28 21:10:35 +00:00
|
|
|
|
2021-09-23 11:30:37 +00:00
|
|
|
set sys_cstring "ADC_OFFLOAD_TYPE=$adc_offload_type\nDAC_OFFLOAD_TYPE=$dac_offload_type"
|
|
|
|
sysid_gen_sys_init_file $sys_cstring
|
2019-06-28 08:41:21 +00:00
|
|
|
|
2017-04-24 12:44:45 +00:00
|
|
|
ad_ip_parameter util_daq2_xcvr CONFIG.QPLL_FBDIV 20
|
|
|
|
ad_ip_parameter util_daq2_xcvr CONFIG.QPLL_REFCLK_DIV 1
|
2019-02-01 08:38:00 +00:00
|
|
|
ad_ip_parameter util_daq2_xcvr CONFIG.CPLL_CFG0 0x67f8
|
|
|
|
ad_ip_parameter util_daq2_xcvr CONFIG.CPLL_CFG1 0xa4ac
|
|
|
|
ad_ip_parameter util_daq2_xcvr CONFIG.CPLL_CFG2 0x0007
|