ad7606x: Fix system_top module's gpio instances and add missing adc_serpar,_refsel pins

main
alin724 2023-02-19 18:28:37 +02:00 committed by Alin-Tudor Sferle
parent e94df1d7da
commit 341ade7ae0
2 changed files with 12 additions and 13 deletions

View File

@ -32,3 +32,5 @@ set_property -dict {PACKAGE_PIN P17 IOSTANDARD LVCMOS25} [get_ports adc_os[1
set_property -dict {PACKAGE_PIN N17 IOSTANDARD LVCMOS25} [get_ports adc_os[2]] ; ## H16 FMC_LPC_LA11_P set_property -dict {PACKAGE_PIN N17 IOSTANDARD LVCMOS25} [get_ports adc_os[2]] ; ## H16 FMC_LPC_LA11_P
set_property -dict {PACKAGE_PIN T19 IOSTANDARD LVCMOS25} [get_ports adc_stby] ; ## C15 FMC_LPC_LA10_N set_property -dict {PACKAGE_PIN T19 IOSTANDARD LVCMOS25} [get_ports adc_stby] ; ## C15 FMC_LPC_LA10_N
set_property -dict {PACKAGE_PIN R21 IOSTANDARD LVCMOS25} [get_ports adc_range] ; ## D15 FMC_LPC_LA09_N set_property -dict {PACKAGE_PIN R21 IOSTANDARD LVCMOS25} [get_ports adc_range] ; ## D15 FMC_LPC_LA09_N
set_property -dict {PACKAGE_PIN K19 IOSTANDARD LVCMOS25} [get_ports adc_serpar] ; ## C18 FMC_LPC_LA14_P
set_property -dict {PACKAGE_PIN K20 IOSTANDARD LVCMOS25} [get_ports adc_refsel] ; ## C19 FMC_LPC_LA14_N

View File

@ -94,7 +94,9 @@ module system_top (
output adc_reset, output adc_reset,
output [2:0] adc_os, output [2:0] adc_os,
output adc_stby, output adc_stby,
output adc_range output adc_range,
output adc_refsel,
output adc_serpar
); );
// internal signals // internal signals
@ -117,18 +119,13 @@ module system_top (
// instantiations // instantiations
ad_iobuf #( assign adc_serpar = gpio_o[39];
.DATA_WIDTH(6) assign adc_refsel = gpio_o[38];
) i_iobuf_adc_cntrl ( assign adc_reset = gpio_o[37];
.dio_t (gpio_t[37:32]), assign adc_stby = gpio_o[36];
.dio_i (gpio_o[37:32]), assign adc_range = gpio_o[35];
.dio_o (gpio_i[37:32]), assign adc_os = gpio_o[34:32];
.dio_p ({adc_reset, // 37 assign gpio_i[63:32] = gpio_o[63:32];
adc_stby, // 36
adc_range, // 35
adc_os})); // 34:32
assign gpio_i[63:38] = gpio_o[63:38];
generate generate
for (i = 0; i < 16; i = i + 1) begin: adc_db_io for (i = 0; i < 16; i = i + 1) begin: adc_db_io