2021-09-23 11:31:40 +00:00
|
|
|
## Offload attributes
|
|
|
|
set adc_offload_type 0
|
|
|
|
set adc_offload_size [expr 1 * 1024 * 1024]
|
2016-09-30 14:50:10 +00:00
|
|
|
|
2021-09-23 11:31:40 +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:31:40 +00:00
|
|
|
set plddr_offload_axi_data_width 0
|
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 ~57%
|
|
|
|
|
2016-09-30 15:54:15 +00:00
|
|
|
source $ad_hdl_dir/projects/common/zcu102/zcu102_system_bd.tcl
|
2016-09-30 14:50:10 +00:00
|
|
|
source ../common/daq2_bd.tcl
|
2020-10-09 14:28:10 +00:00
|
|
|
source $ad_hdl_dir/projects/scripts/adi_pd.tcl
|
2016-09-30 14:50:10 +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
|
|
|
|
2021-09-23 11:31:40 +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
|