pluto_hdl_adi/projects/daq2/kcu105/system_bd.tcl

29 lines
984 B
Tcl
Raw Normal View History

## Offload attributes
set adc_offload_type 0
set adc_offload_size [expr 512 * 1024]
set dac_offload_type 0
set dac_offload_size [expr 1 * 1024 * 1024]
set plddr_offload_axi_data_width 0
## NOTE: With this configuration the #36Kb BRAM utilization is at ~78%
source $ad_hdl_dir/projects/common/kcu105/kcu105_system_bd.tcl
source ../common/daq2_bd.tcl
source $ad_hdl_dir/projects/scripts/adi_pd.tcl
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
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
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