2017-11-14 12:57:24 +00:00
|
|
|
|
|
|
|
source $ad_hdl_dir/projects/common/zed/zed_system_bd.tcl
|
|
|
|
|
|
|
|
# specify the spi reference clock frequency in MHz
|
2019-05-29 08:18:52 +00:00
|
|
|
set spi_clk_ref_frequency 166
|
2017-11-14 12:57:24 +00:00
|
|
|
|
|
|
|
# specify ADC resolution -- supported resolutions 16/18/20 bits
|
|
|
|
set adc_resolution 20
|
|
|
|
|
|
|
|
# specify ADC sampling rate in samples/seconds
|
|
|
|
|
|
|
|
# NOTE: This rate can be set just in turbo mode -- if turbo mode is not used
|
|
|
|
# the max rate should be 1.6 MSPS
|
|
|
|
set adc_sampling_rate 1800000
|
|
|
|
|
|
|
|
source ../common/ad40xx_bd.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
|
|
|
|
set sys_cstring "sys rom custom string placeholder"
|
|
|
|
sysid_gen_sys_init_file $sys_cstring
|
|
|
|
|