2020-10-08 13:10:28 +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
|
2020-10-08 13:10:28 +00:00
|
|
|
|
|
|
|
# specify the spi reference clock frequency in MHz
|
|
|
|
set spi_clk_ref_frequency 160
|
|
|
|
|
|
|
|
# specify ADC resolution -- supported resolutions 16 bits
|
|
|
|
set adc_resolution 16
|
|
|
|
|
|
|
|
# specify ADC sampling rate in samples/seconds
|
|
|
|
set adc_sampling_rate 1000000
|
|
|
|
|
|
|
|
adi_project_files ad469x_fmc_zed [list \
|
|
|
|
"../../../library/common/ad_edge_detect.v" \
|
|
|
|
"../../../library/util_cdc/sync_bits.v" \
|
|
|
|
]
|
2020-10-09 14:28:10 +00:00
|
|
|
|
2020-10-08 13:10:28 +00:00
|
|
|
source ../common/ad469x_bd.tcl
|
|
|
|
|
2022-09-23 09:28:22 +00:00
|
|
|
set mem_init_sys_path [get_env_param ADI_PROJECT_DIR ""]mem_init_sys.txt;
|
|
|
|
|
2020-10-08 13:10:28 +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"
|
2020-10-08 13:10:28 +00:00
|
|
|
ad_ip_parameter rom_sys_0 CONFIG.ROM_ADDR_BITS 9
|
2020-10-26 15:15:40 +00:00
|
|
|
|
|
|
|
sysid_gen_sys_init_file
|