Skip to content

Commit

Permalink
ad7405: Fix LVDS build
Browse files Browse the repository at this point in the history
  • Loading branch information
sarpadi committed Nov 21, 2024
1 parent 9b3c513 commit b697e89
Showing 1 changed file with 2 additions and 22 deletions.
24 changes: 2 additions & 22 deletions projects/ad7405_fmc/zed/system_top_lvds.v
Original file line number Diff line number Diff line change
Expand Up @@ -96,15 +96,15 @@ module system_top (
wire [63:0] gpio_i;
wire [63:0] gpio_o;
wire [63:0] gpio_t;
wire [15:0] decimation_ratio;
wire filter_reset;
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;

assign gpio_i[63:32] = gpio_o[63:32] ;

// instantiations

OBUFDS i_adc_clk_obuf (
Expand All @@ -117,8 +117,6 @@ module system_top (
.IB (adc_data_n),
.O (adc_data_s));

assign gpio_i[63:49] = 15'b0;

ad_iobuf #(
.DATA_WIDTH(32)
) i_iobuf (
Expand All @@ -127,22 +125,6 @@ module system_top (
.dio_o(gpio_i[31:0]),
.dio_p(gpio_bd));

ad_iobuf #(
.DATA_WIDTH(1)
) i_iobuf_filter_reset (
.dio_t(gpio_t[48]),
.dio_i(gpio_o[48]),
.dio_o(gpio_i[48]),
.dio_p(filter_reset));

ad_iobuf #(
.DATA_WIDTH(16)
) i_iobuf_dec_ratio (
.dio_t(gpio_t[47:32]),
.dio_i(gpio_o[47:32]),
.dio_o(gpio_i[47:32]),
.dio_p(decimation_ratio));

ad_iobuf #(
.DATA_WIDTH(2)
) i_iic_mux_scl (
Expand Down Expand Up @@ -222,8 +204,6 @@ module system_top (
.spi1_sdo_o (),
.adc_clk (adc_clk_s),
.adc_data (adc_data_s),
.filter_decimation_ratio (decimation_ratio),
.filter_reset (filter_reset),
.otg_vbusoc (otg_vbusoc),
.spdif (spdif));

Expand Down

0 comments on commit b697e89

Please sign in to comment.