From ea158ee42bd785ef02504dc5920bde7b7848f0f1 Mon Sep 17 00:00:00 2001 From: Istvan Csomortani Date: Fri, 24 May 2019 09:56:25 +0300 Subject: [PATCH] ad_fmclidar_ebz: Fix AFE's SPI interface connection --- projects/ad_fmclidar1_ebz/zc706/system_constr.xdc | 2 +- projects/ad_fmclidar1_ebz/zc706/system_top.v | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/projects/ad_fmclidar1_ebz/zc706/system_constr.xdc b/projects/ad_fmclidar1_ebz/zc706/system_constr.xdc index a6d7f1d26..23dc659bf 100644 --- a/projects/ad_fmclidar1_ebz/zc706/system_constr.xdc +++ b/projects/ad_fmclidar1_ebz/zc706/system_constr.xdc @@ -91,7 +91,7 @@ set_property -dict {PACKAGE_PIN AF20 IOSTANDARD LVCMOS25} [get_ports afe_dac_ set_property -dict {PACKAGE_PIN AG20 IOSTANDARD LVCMOS25} [get_ports afe_adc_sclk] ; ## G07 FMC_HPC_LA00_CC_N set_property -dict {PACKAGE_PIN AF19 IOSTANDARD LVCMOS25} [get_ports afe_adc_scn] ; ## G12 FMC_HPC_LA08_P set_property -dict {PACKAGE_PIN AG19 IOSTANDARD LVCMOS25} [get_ports afe_adc_convst] ; ## G13 FMC_HPC_LA08_N -set_property -dict {PACKAGE_PIN AF23 IOSTANDARD LVCMOS25} [get_ports afe_adc_sdo] ; ## G15 FMC_HPC_LA12_P +set_property -dict {PACKAGE_PIN AF23 IOSTANDARD LVCMOS25} [get_ports afe_adc_sdi] ; ## G15 FMC_HPC_LA12_P # clocks diff --git a/projects/ad_fmclidar1_ebz/zc706/system_top.v b/projects/ad_fmclidar1_ebz/zc706/system_top.v index 052a0fdfd..56f689336 100644 --- a/projects/ad_fmclidar1_ebz/zc706/system_top.v +++ b/projects/ad_fmclidar1_ebz/zc706/system_top.v @@ -121,7 +121,7 @@ module system_top ( output afe_adc_sclk, output afe_adc_scn, - output afe_adc_sdo, + input afe_adc_sdi, output afe_adc_convst, // Laser driver differential line @@ -303,7 +303,7 @@ module system_top ( .spi_afe_adc_clk_i (1'b0), .spi_afe_adc_clk_o (afe_adc_sclk), .spi_afe_adc_sdo_i (1'b0), - .spi_afe_adc_sdo_o (afe_adc_sdo), - .spi_afe_adc_sdi_i (1'b0)); + .spi_afe_adc_sdo_o (), + .spi_afe_adc_sdi_i (afe_adc_sdi)); endmodule