Skip to content

Commit

Permalink
ad469x/zed: Fix sysid build params
Browse files Browse the repository at this point in the history
  • Loading branch information
sarpadi committed Nov 1, 2024
1 parent 2b12547 commit 08dd9f9
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions projects/ad469x_evb/zed/system_bd.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,6 @@
source $ad_hdl_dir/projects/common/zed/zed_system_bd.tcl
source $ad_hdl_dir/projects/scripts/adi_pd.tcl

# 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_evb_zed [list \
"../../../library/common/ad_edge_detect.v" \
"../../../library/util_cdc/sync_bits.v" \
Expand All @@ -27,8 +18,6 @@ ad_ip_parameter axi_sysid_0 CONFIG.ROM_ADDR_BITS 9
ad_ip_parameter rom_sys_0 CONFIG.PATH_TO_FILE "$mem_init_sys_file_path/mem_init_sys.txt"
ad_ip_parameter rom_sys_0 CONFIG.ROM_ADDR_BITS 9

set sys_cstring "SPI_CLK_FREQ=$spi_clk_ref_frequency\
ADC_RESOLUTION=$adc_resolution\
SAMPLING_RATE=$adc_sampling_rate"
set sys_cstring "SPI_4WIRE=$ad_project_params(SPI_4WIRE)"

sysid_gen_sys_init_file $sys_cstring

0 comments on commit 08dd9f9

Please sign in to comment.