From 1f2449bac21046efafeed660dec663425b220300 Mon Sep 17 00:00:00 2001 From: Pop Ioan Daniel Date: Mon, 5 May 2025 14:30:43 +0300 Subject: [PATCH 1/2] projects/ad7616: Add NUM_OF_SDI build parameter Signed-off-by: Pop Ioan Daniel --- projects/ad7616_sdz/common/ad7616_bd.tcl | 9 +- projects/ad7616_sdz/zed/Makefile | 5 +- projects/ad7616_sdz/zed/README.md | 9 +- projects/ad7616_sdz/zed/serial_if_constr.xdc | 33 ---- .../ad7616_sdz/zed/serial_if_constr_spi_1.xdc | 31 ++++ .../ad7616_sdz/zed/serial_if_constr_spi_2.xdc | 32 ++++ projects/ad7616_sdz/zed/system_bd.tcl | 5 +- projects/ad7616_sdz/zed/system_project.tcl | 31 ++-- projects/ad7616_sdz/zed/system_top_si.v | 150 +++++++++--------- 9 files changed, 174 insertions(+), 131 deletions(-) delete mode 100644 projects/ad7616_sdz/zed/serial_if_constr.xdc create mode 100644 projects/ad7616_sdz/zed/serial_if_constr_spi_1.xdc create mode 100644 projects/ad7616_sdz/zed/serial_if_constr_spi_2.xdc diff --git a/projects/ad7616_sdz/common/ad7616_bd.tcl b/projects/ad7616_sdz/common/ad7616_bd.tcl index 5902ae64a03..d628377c6ef 100644 --- a/projects/ad7616_sdz/common/ad7616_bd.tcl +++ b/projects/ad7616_sdz/common/ad7616_bd.tcl @@ -1,5 +1,5 @@ ############################################################################### -## Copyright (C) 2019-2024 Analog Devices, Inc. All rights reserved. +## Copyright (C) 2019-2025 Analog Devices, Inc. All rights reserved. ### SPDX short identifier: ADIBSD ############################################################################### ##-------------------------------------------------------------- @@ -7,7 +7,10 @@ # system level parameter set INTF $ad_project_params(INTF) +set NUM_OF_SDI $ad_project_params(NUM_OF_SDI) + puts "build parameters: INTF: $INTF" +puts "build parameters: NUM_OF_SDI: $NUM_OF_SDI" # control lines @@ -51,13 +54,13 @@ if {$INTF == 1} { set data_width 16 set async_spi_clk 1 set num_cs 1 - set num_sdi 2 + set num_sdi $NUM_OF_SDI set sdi_delay 1 set hier_spi_engine spi_ad7616 spi_engine_create $hier_spi_engine $data_width $async_spi_clk $num_cs $num_sdi $sdi_delay - ad_ip_parameter axi_ad7616_dma CONFIG.DMA_DATA_WIDTH_SRC 32 + ad_ip_parameter axi_ad7616_dma CONFIG.DMA_DATA_WIDTH_SRC [expr $data_width * $num_sdi] ad_ip_parameter axi_ad7616_dma CONFIG.DMA_TYPE_SRC 1 ad_ip_parameter axi_ad7616_dma CONFIG.SYNC_TRANSFER_START 0 ad_ip_parameter axi_ad7616_dma CONFIG.AXI_SLICE_SRC 0 diff --git a/projects/ad7616_sdz/zed/Makefile b/projects/ad7616_sdz/zed/Makefile index d140fee8270..e12f420453e 100644 --- a/projects/ad7616_sdz/zed/Makefile +++ b/projects/ad7616_sdz/zed/Makefile @@ -1,12 +1,13 @@ #################################################################################### -## Copyright (c) 2018 - 2024 Analog Devices, Inc. +## Copyright (c) 2018 - 2025 Analog Devices, Inc. ### SPDX short identifier: BSD-1-Clause ## Auto-generated, do not modify! #################################################################################### PROJECT_NAME := ad7616_sdz_zed -M_DEPS += serial_if_constr.xdc +M_DEPS += serial_if_constr_spi_1.xdc +M_DEPS += serial_if_constr_spi_2.xdc M_DEPS += parallel_if_constr.xdc M_DEPS += ../common/ad7616_bd.tcl M_DEPS += ../../scripts/adi_pd.tcl diff --git a/projects/ad7616_sdz/zed/README.md b/projects/ad7616_sdz/zed/README.md index 23f8ce4bbf9..22f72fe2c11 100644 --- a/projects/ad7616_sdz/zed/README.md +++ b/projects/ad7616_sdz/zed/README.md @@ -1,4 +1,4 @@ -# Ed7616-SDZ/Zed HDL Project +# AD7616-SDZ/Zed HDL Project ## Building the project @@ -15,6 +15,10 @@ The overwritable parameter from the environment: - 0 - Parallel interface - 1 - Serial interface +- NUM_OF_SDI - specifies the number of SDI lines used when serial interface is set + - 1 - One SDI line + - 2 - Two SDI lines + Depending on the required interface mode, some hardware modifications need to be done. - SL5 - unmounted - Parallel interface - SL5 - mounted - Serial interface @@ -33,7 +37,8 @@ make INTF=0 #### Serial interface ``` -make INTF=1 +make INTF=1 NUM_OF_SDI=1 +make INTF=1 NUM_OF_SDI=2 ``` Corresponding No-OS project for both configurations: [ad7616-sdz](https://github.com/analogdevicesinc/no-OS/tree/main/projects/ad7616-sdz) diff --git a/projects/ad7616_sdz/zed/serial_if_constr.xdc b/projects/ad7616_sdz/zed/serial_if_constr.xdc deleted file mode 100644 index d420049c34b..00000000000 --- a/projects/ad7616_sdz/zed/serial_if_constr.xdc +++ /dev/null @@ -1,33 +0,0 @@ -############################################################################### -## Copyright (C) 2016-2023 Analog Devices, Inc. All rights reserved. -### SPDX short identifier: ADIBSD -############################################################################### - -# ad7616 - -# data interface - -set_property -dict {PACKAGE_PIN P22 IOSTANDARD LVCMOS25} [get_ports ad7616_spi_sclk] ; ## FMC_LPC_LA03_N -set_property -dict {PACKAGE_PIN L21 IOSTANDARD LVCMOS25} [get_ports ad7616_spi_sdo] ; ## FMC_LPC_LA06_P -set_property -dict {PACKAGE_PIN M19 IOSTANDARD LVCMOS25} [get_ports ad7616_spi_sdi[0]] ; ## FMC_LPC_LA00_CC_P -set_property -dict {PACKAGE_PIN N20 IOSTANDARD LVCMOS25} [get_ports ad7616_spi_sdi[1]] ; ## FMC_LPC_LA01_CC_N -set_property -dict {PACKAGE_PIN M22 IOSTANDARD LVCMOS25} [get_ports ad7616_spi_cs] ; ## FMC_LPC_LA04_N - -# control lines - -set_property -dict {PACKAGE_PIN A18 IOSTANDARD LVCMOS25} [get_ports adc_cnvst] ; ## FMC_LPC_LA24_P -set_property -dict {PACKAGE_PIN E20 IOSTANDARD LVCMOS25} [get_ports adc_chsel[0]] ; ## FMC_LPC_LA21_N -set_property -dict {PACKAGE_PIN E18 IOSTANDARD LVCMOS25} [get_ports adc_chsel[1]] ; ## FMC_LPC_LA26_N -set_property -dict {PACKAGE_PIN D22 IOSTANDARD LVCMOS25} [get_ports adc_chsel[2]] ; ## FMC_LPC_LA25_P -set_property -dict {PACKAGE_PIN E19 IOSTANDARD LVCMOS25} [get_ports adc_hw_rngsel[0]] ; ## FMC_LPC_LA21_P -set_property -dict {PACKAGE_PIN F18 IOSTANDARD LVCMOS25} [get_ports adc_hw_rngsel[1]] ; ## FMC_LPC_LA26_P -set_property -dict {PACKAGE_PIN T19 IOSTANDARD LVCMOS25} [get_ports adc_busy] ; ## FMC_LPC_LA10_N -set_property -dict {PACKAGE_PIN E21 IOSTANDARD LVCMOS25} [get_ports adc_seq_en] ; ## FMC_LPC_LA27_P -set_property -dict {PACKAGE_PIN F19 IOSTANDARD LVCMOS25} [get_ports adc_reset_n] ; ## FMC_LPC_LA22_N - -set_property -dict {PACKAGE_PIN L19 IOSTANDARD LVCMOS25} [get_ports adc_os[0]] ; ## FMC_LPC_CLK0_M2C_N -set_property -dict {PACKAGE_PIN L18 IOSTANDARD LVCMOS25} [get_ports adc_os[1]] ; ## FMC_LPC_CLK0_M2C_P -set_property -dict {PACKAGE_PIN N19 IOSTANDARD LVCMOS25} [get_ports adc_os[2]] ; ## FMC_LPC_LA01_CC_P -set_property -dict {PACKAGE_PIN R21 IOSTANDARD LVCMOS25} [get_ports adc_burst] ; ## FMC_LPC_LA09_N -set_property -dict {PACKAGE_PIN P18 IOSTANDARD LVCMOS25} [get_ports adc_crcen] ; ## FMC_LPC_LA02_N - diff --git a/projects/ad7616_sdz/zed/serial_if_constr_spi_1.xdc b/projects/ad7616_sdz/zed/serial_if_constr_spi_1.xdc new file mode 100644 index 00000000000..da511c52c13 --- /dev/null +++ b/projects/ad7616_sdz/zed/serial_if_constr_spi_1.xdc @@ -0,0 +1,31 @@ +############################################################################### +## Copyright (C) 2016-2025 Analog Devices, Inc. All rights reserved. +### SPDX short identifier: ADIBSD +############################################################################### + +# ad7616 + +# data interface + +set_property -dict {PACKAGE_PIN P22 IOSTANDARD LVCMOS25} [get_ports ad7616_spi_sclk]; ## FMC_LPC_LA03_N +set_property -dict {PACKAGE_PIN L21 IOSTANDARD LVCMOS25} [get_ports ad7616_spi_sdo]; ## FMC_LPC_LA06_P +set_property -dict {PACKAGE_PIN M19 IOSTANDARD LVCMOS25} [get_ports ad7616_spi_sdi[0]]; ## FMC_LPC_LA00_CC_P +set_property -dict {PACKAGE_PIN M22 IOSTANDARD LVCMOS25} [get_ports ad7616_spi_cs]; ## FMC_LPC_LA04_N + +# control lines + +set_property -dict {PACKAGE_PIN A18 IOSTANDARD LVCMOS25} [get_ports adc_cnvst]; ## FMC_LPC_LA24_P +set_property -dict {PACKAGE_PIN E20 IOSTANDARD LVCMOS25} [get_ports adc_chsel[0]]; ## FMC_LPC_LA21_N +set_property -dict {PACKAGE_PIN E18 IOSTANDARD LVCMOS25} [get_ports adc_chsel[1]]; ## FMC_LPC_LA26_N +set_property -dict {PACKAGE_PIN D22 IOSTANDARD LVCMOS25} [get_ports adc_chsel[2]]; ## FMC_LPC_LA25_P +set_property -dict {PACKAGE_PIN E19 IOSTANDARD LVCMOS25} [get_ports adc_hw_rngsel[0]]; ## FMC_LPC_LA21_P +set_property -dict {PACKAGE_PIN F18 IOSTANDARD LVCMOS25} [get_ports adc_hw_rngsel[1]]; ## FMC_LPC_LA26_P +set_property -dict {PACKAGE_PIN T19 IOSTANDARD LVCMOS25} [get_ports adc_busy]; ## FMC_LPC_LA10_N +set_property -dict {PACKAGE_PIN E21 IOSTANDARD LVCMOS25} [get_ports adc_seq_en]; ## FMC_LPC_LA27_P +set_property -dict {PACKAGE_PIN F19 IOSTANDARD LVCMOS25} [get_ports adc_reset_n]; ## FMC_LPC_LA22_N + +set_property -dict {PACKAGE_PIN L19 IOSTANDARD LVCMOS25} [get_ports adc_os[0]]; ## FMC_LPC_CLK0_M2C_N +set_property -dict {PACKAGE_PIN L18 IOSTANDARD LVCMOS25} [get_ports adc_os[1]]; ## FMC_LPC_CLK0_M2C_P +set_property -dict {PACKAGE_PIN N19 IOSTANDARD LVCMOS25} [get_ports adc_os[2]]; ## FMC_LPC_LA01_CC_P +set_property -dict {PACKAGE_PIN R21 IOSTANDARD LVCMOS25} [get_ports adc_burst]; ## FMC_LPC_LA09_N +set_property -dict {PACKAGE_PIN P18 IOSTANDARD LVCMOS25} [get_ports adc_crcen]; ## FMC_LPC_LA02_N diff --git a/projects/ad7616_sdz/zed/serial_if_constr_spi_2.xdc b/projects/ad7616_sdz/zed/serial_if_constr_spi_2.xdc new file mode 100644 index 00000000000..3cb104b86f0 --- /dev/null +++ b/projects/ad7616_sdz/zed/serial_if_constr_spi_2.xdc @@ -0,0 +1,32 @@ +############################################################################### +## Copyright (C) 2016-2025 Analog Devices, Inc. All rights reserved. +### SPDX short identifier: ADIBSD +############################################################################### + +# ad7616 + +# data interface + +set_property -dict {PACKAGE_PIN P22 IOSTANDARD LVCMOS25} [get_ports ad7616_spi_sclk]; ## FMC_LPC_LA03_N +set_property -dict {PACKAGE_PIN L21 IOSTANDARD LVCMOS25} [get_ports ad7616_spi_sdo]; ## FMC_LPC_LA06_P +set_property -dict {PACKAGE_PIN M19 IOSTANDARD LVCMOS25} [get_ports ad7616_spi_sdi[0]]; ## FMC_LPC_LA00_CC_P +set_property -dict {PACKAGE_PIN N20 IOSTANDARD LVCMOS25} [get_ports ad7616_spi_sdi[1]]; ## FMC_LPC_LA01_CC_N +set_property -dict {PACKAGE_PIN M22 IOSTANDARD LVCMOS25} [get_ports ad7616_spi_cs]; ## FMC_LPC_LA04_N + +# control lines + +set_property -dict {PACKAGE_PIN A18 IOSTANDARD LVCMOS25} [get_ports adc_cnvst]; ## FMC_LPC_LA24_P +set_property -dict {PACKAGE_PIN E20 IOSTANDARD LVCMOS25} [get_ports adc_chsel[0]]; ## FMC_LPC_LA21_N +set_property -dict {PACKAGE_PIN E18 IOSTANDARD LVCMOS25} [get_ports adc_chsel[1]]; ## FMC_LPC_LA26_N +set_property -dict {PACKAGE_PIN D22 IOSTANDARD LVCMOS25} [get_ports adc_chsel[2]]; ## FMC_LPC_LA25_P +set_property -dict {PACKAGE_PIN E19 IOSTANDARD LVCMOS25} [get_ports adc_hw_rngsel[0]]; ## FMC_LPC_LA21_P +set_property -dict {PACKAGE_PIN F18 IOSTANDARD LVCMOS25} [get_ports adc_hw_rngsel[1]]; ## FMC_LPC_LA26_P +set_property -dict {PACKAGE_PIN T19 IOSTANDARD LVCMOS25} [get_ports adc_busy]; ## FMC_LPC_LA10_N +set_property -dict {PACKAGE_PIN E21 IOSTANDARD LVCMOS25} [get_ports adc_seq_en]; ## FMC_LPC_LA27_P +set_property -dict {PACKAGE_PIN F19 IOSTANDARD LVCMOS25} [get_ports adc_reset_n]; ## FMC_LPC_LA22_N + +set_property -dict {PACKAGE_PIN L19 IOSTANDARD LVCMOS25} [get_ports adc_os[0]]; ## FMC_LPC_CLK0_M2C_N +set_property -dict {PACKAGE_PIN L18 IOSTANDARD LVCMOS25} [get_ports adc_os[1]]; ## FMC_LPC_CLK0_M2C_P +set_property -dict {PACKAGE_PIN N19 IOSTANDARD LVCMOS25} [get_ports adc_os[2]]; ## FMC_LPC_LA01_CC_P +set_property -dict {PACKAGE_PIN R21 IOSTANDARD LVCMOS25} [get_ports adc_burst]; ## FMC_LPC_LA09_N +set_property -dict {PACKAGE_PIN P18 IOSTANDARD LVCMOS25} [get_ports adc_crcen]; ## FMC_LPC_LA02_N diff --git a/projects/ad7616_sdz/zed/system_bd.tcl b/projects/ad7616_sdz/zed/system_bd.tcl index 0f719166318..c01e8ba4791 100644 --- a/projects/ad7616_sdz/zed/system_bd.tcl +++ b/projects/ad7616_sdz/zed/system_bd.tcl @@ -1,5 +1,5 @@ ############################################################################### -## Copyright (C) 2019-2024 Analog Devices, Inc. All rights reserved. +## Copyright (C) 2019-2025 Analog Devices, Inc. All rights reserved. ### SPDX short identifier: ADIBSD ############################################################################### @@ -19,6 +19,7 @@ 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 "INTF=$ad_project_params(INTF)" +set sys_cstring "INTF=$ad_project_params(INTF)\ +NUM_OF_SDI=$ad_project_params(NUM_OF_SDI)" sysid_gen_sys_init_file $sys_cstring diff --git a/projects/ad7616_sdz/zed/system_project.tcl b/projects/ad7616_sdz/zed/system_project.tcl index ca683a4fa70..180a9940209 100644 --- a/projects/ad7616_sdz/zed/system_project.tcl +++ b/projects/ad7616_sdz/zed/system_project.tcl @@ -1,5 +1,5 @@ ############################################################################### -## Copyright (C) 2019-2024 Analog Devices, Inc. All rights reserved. +## Copyright (C) 2019-2025 Analog Devices, Inc. All rights reserved. ### SPDX short identifier: ADIBSD ############################################################################### @@ -18,11 +18,12 @@ source $ad_hdl_dir/projects/scripts/adi_board.tcl # e.g. # make INTF=0 # -# INTF - Defines the interface type (serial OR parallel) -# - Default value is 0 -# -# LEGEND: Serial - 1 -# Parallel - 0 +# INTF - Defines the interface type (serial OR parallel) +# - Default value is 0 +# - Options: Serial - 1 +# Parallel - 0 +# NUM_OF_SDI - Number of SDI lines used +# - Options: 1, 2 # # NOTE : This switch is a 'hardware' switch. Please rebuild the design if the # variable has been changed. @@ -32,9 +33,11 @@ source $ad_hdl_dir/projects/scripts/adi_board.tcl ##-------------------------------------------------------------- set INTF [get_env_param INTF 0] +set NUM_OF_SDI [get_env_param NUM_OF_SDI 2] adi_project ad7616_sdz_zed 0 [list \ INTF $INTF \ + NUM_OF_SDI $NUM_OF_SDI \ ] adi_project_files ad7616_sdz_zed [list \ @@ -43,10 +46,18 @@ adi_project_files ad7616_sdz_zed [list \ switch $INTF { 1 { - adi_project_files ad7616_sdz_zed [list \ - "system_top_si.v" \ - "serial_if_constr.xdc" - ] + switch $NUM_OF_SDI { + 1 { + adi_project_files ad7616_sdz_zed [list \ + "system_top_si.v" \ + "serial_if_constr_spi_1.xdc"] + } + 2 { + adi_project_files ad7616_sdz_zed [list \ + "system_top_si.v" \ + "serial_if_constr_spi_2.xdc"] + } + } } 0 { adi_project_files ad7616_sdz_zed [list \ diff --git a/projects/ad7616_sdz/zed/system_top_si.v b/projects/ad7616_sdz/zed/system_top_si.v index 6198084d33c..52b33524fba 100644 --- a/projects/ad7616_sdz/zed/system_top_si.v +++ b/projects/ad7616_sdz/zed/system_top_si.v @@ -1,6 +1,6 @@ // *************************************************************************** // *************************************************************************** -// Copyright (C) 2014-2023 Analog Devices, Inc. All rights reserved. +// Copyright (C) 2014-2025 Analog Devices, Inc. All rights reserved. // // In this HDL repository, there are many different and unique modules, consisting // of various HDL (Verilog or VHDL) components. The individual modules are @@ -35,81 +35,73 @@ `timescale 1ns/100ps -module system_top ( - - inout [14:0] ddr_addr, - inout [ 2:0] ddr_ba, - inout ddr_cas_n, - inout ddr_ck_n, - inout ddr_ck_p, - inout ddr_cke, - inout ddr_cs_n, - inout [ 3:0] ddr_dm, - inout [31:0] ddr_dq, - inout [ 3:0] ddr_dqs_n, - inout [ 3:0] ddr_dqs_p, - inout ddr_odt, - inout ddr_ras_n, - inout ddr_reset_n, - inout ddr_we_n, - - inout fixed_io_ddr_vrn, - inout fixed_io_ddr_vrp, - inout [53:0] fixed_io_mio, - inout fixed_io_ps_clk, - inout fixed_io_ps_porb, - inout fixed_io_ps_srstb, - - inout [31:0] gpio_bd, - - output hdmi_out_clk, - output hdmi_vsync, - output hdmi_hsync, - output hdmi_data_e, - output [15:0] hdmi_data, - - output i2s_mclk, - output i2s_bclk, - output i2s_lrclk, - output i2s_sdata_out, - input i2s_sdata_in, - - output spdif, - - inout iic_scl, - inout iic_sda, - inout [ 1:0] iic_mux_scl, - inout [ 1:0] iic_mux_sda, - - input otg_vbusoc, - - output ad7616_spi_sclk, - output ad7616_spi_sdo, - input [ 1:0] ad7616_spi_sdi, - output ad7616_spi_cs, - - output adc_reset_n, - output adc_cnvst, - input adc_busy, - output adc_seq_en, - output [ 1:0] adc_hw_rngsel, - output [ 2:0] adc_chsel, - output adc_crcen, - output adc_burst, - output [ 2:0] adc_os +module system_top #( + parameter NUM_OF_SDI = 2 +) ( + inout [14:0] ddr_addr, + inout [ 2:0] ddr_ba, + inout ddr_cas_n, + inout ddr_ck_n, + inout ddr_ck_p, + inout ddr_cke, + inout ddr_cs_n, + inout [ 3:0] ddr_dm, + inout [31:0] ddr_dq, + inout [ 3:0] ddr_dqs_n, + inout [ 3:0] ddr_dqs_p, + inout ddr_odt, + inout ddr_ras_n, + inout ddr_reset_n, + inout ddr_we_n, + inout fixed_io_ddr_vrn, + inout fixed_io_ddr_vrp, + inout [53:0] fixed_io_mio, + inout fixed_io_ps_clk, + inout fixed_io_ps_porb, + inout fixed_io_ps_srstb, + inout [31:0] gpio_bd, + output hdmi_out_clk, + output hdmi_vsync, + output hdmi_hsync, + output hdmi_data_e, + output [15:0] hdmi_data, + output i2s_mclk, + output i2s_bclk, + output i2s_lrclk, + output i2s_sdata_out, + input i2s_sdata_in, + output spdif, + inout iic_scl, + inout iic_sda, + inout [ 1:0] iic_mux_scl, + inout [ 1:0] iic_mux_sda, + input otg_vbusoc, + output ad7616_spi_sclk, + output ad7616_spi_sdo, + input [NUM_OF_SDI-1:0] ad7616_spi_sdi, + output ad7616_spi_cs, + output adc_reset_n, + output adc_cnvst, + input adc_busy, + output adc_seq_en, + output [ 1:0] adc_hw_rngsel, + output [ 2:0] adc_chsel, + output adc_crcen, + output adc_burst, + output [ 2:0] adc_os ); // internal signals - wire [63:0] gpio_i; - wire [63:0] gpio_o; - wire [63:0] gpio_t; - wire [ 1:0] iic_mux_scl_i_s; - wire [ 1:0] iic_mux_scl_o_s; - wire iic_mux_scl_t_s; - wire [ 1:0] iic_mux_sda_i_s; - wire [ 1:0] iic_mux_sda_o_s; - wire iic_mux_sda_t_s; + wire [63:0] gpio_i; + wire [63:0] gpio_o; + wire [63:0] gpio_t; + wire [ 1:0] iic_mux_scl_i_s; + wire [ 1:0] iic_mux_scl_o_s; + wire iic_mux_scl_t_s; + wire [ 1:0] iic_mux_sda_i_s; + wire [ 1:0] iic_mux_sda_o_s; + wire iic_mux_sda_t_s; // instantiations @@ -119,13 +111,13 @@ module system_top ( .dio_t (gpio_t[43:32]), .dio_i (gpio_o[43:32]), .dio_o (gpio_i[43:32]), - .dio_p ({adc_reset_n, // 43 - adc_hw_rngsel, // 42:41 - adc_os, // 40:38 - adc_seq_en, // 37 - adc_burst, // 36 - adc_chsel, // 35:33 - adc_crcen})); // 32 + .dio_p ({adc_reset_n, // 43 + adc_hw_rngsel, // 42:41 + adc_os, // 40:38 + adc_seq_en, // 37 + adc_burst, // 36 + adc_chsel, // 35:33 + adc_crcen})); // 32 ad_iobuf #( .DATA_WIDTH(32) From 6ed86d37e48d2505fcae499160835430bfd061d2 Mon Sep 17 00:00:00 2001 From: Pop Ioan Daniel Date: Mon, 5 May 2025 14:53:36 +0300 Subject: [PATCH 2/2] docs/ad7616: Update documentation Signed-off-by: Pop Ioan Daniel --- docs/projects/ad7616_sdz/index.rst | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/projects/ad7616_sdz/index.rst b/docs/projects/ad7616_sdz/index.rst index 105c03dfe70..276bcad64ff 100644 --- a/docs/projects/ad7616_sdz/index.rst +++ b/docs/projects/ad7616_sdz/index.rst @@ -103,6 +103,9 @@ In case of the **SERIAL** interface: - SL5 - unmounted - Parallel interface - SL5 - mounted - Serial interface +The NUM_OF_SDI configuration parameter defines the number of SDI lines used: +**{1, 2}**. By default is set to 2. + Jumper setup ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~