File tree Expand file tree Collapse file tree 1 file changed +5
-14
lines changed Expand file tree Collapse file tree 1 file changed +5
-14
lines changed Original file line number Diff line number Diff line change 66source $ad_hdl_dir /projects/common/zed/zed_system_bd.tcl
77source $ad_hdl_dir /projects/scripts/adi_pd.tcl
88
9- # specify ADC resolution -- the design supports 16/14/12 bit resolutions
10- set adc_resolution 16
11-
12- # specify the number of active channel -- 1 or 2 or 4
13- set adc_num_of_channels 2
14-
15- # specify ADC sampling rate in sample/seconds -- default is 3 MSPS
16- set adc_sampling_rate 3000000
9+ # block design
10+ source ../common/ad738x_bd.tcl
1711
18- # system ID
12+ # system ID
1913ad_ip_parameter axi_sysid_0 CONFIG.ROM_ADDR_BITS 9
2014ad_ip_parameter rom_sys_0 CONFIG.PATH_TO_FILE " $mem_init_sys_file_path /mem_init_sys.txt"
2115ad_ip_parameter rom_sys_0 CONFIG.ROM_ADDR_BITS 9
2216
23- set sys_cstring " ADC_RESOLUTION=$adc_resolution \
24- ADC_NUM_OF_CHANNELS=$adc_num_of_channels \
25- ADC_SAMPLING_RATE=$adc_sampling_rate "
17+ set sys_cstring " ALERT_SPI_N=$ad_project_params(ALERT_SPI_N) \
18+ NUM_OF_SDI=$ad_project_params(NUM_OF_SDI) "
2619
2720sysid_gen_sys_init_file $sys_cstring
28-
29- source ../common/ad738x_bd.tcl
You can’t perform that action at this time.
0 commit comments