2023-07-06 12:08:22 +00:00
|
|
|
###############################################################################
|
|
|
|
## Copyright (C) 2019-2023 Analog Devices, Inc. All rights reserved.
|
|
|
|
### SPDX short identifier: ADIBSD
|
|
|
|
###############################################################################
|
|
|
|
|
2019-03-21 06:24:45 +00:00
|
|
|
source $ad_hdl_dir/projects/common/zed/zed_system_bd.tcl
|
2020-10-09 14:28:10 +00:00
|
|
|
source $ad_hdl_dir/projects/scripts/adi_pd.tcl
|
2019-03-21 06:24:45 +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
|
|
|
|
2019-03-21 06:24:45 +00:00
|
|
|
# specify ADC resolution -- the design supports 16/14/12 bit resolutions
|
|
|
|
|
|
|
|
set adc_resolution 16
|
|
|
|
|
|
|
|
# specify the number of active channel -- 1 or 2 or 4
|
|
|
|
|
|
|
|
set adc_num_of_channels 2
|
|
|
|
|
|
|
|
# specify ADC sampling rate in sample/seconds -- default is 3 MSPS
|
|
|
|
|
|
|
|
set adc_sampling_rate 3000000
|
|
|
|
|
|
|
|
source ../common/ad738x_bd.tcl
|
|
|
|
|