library/ adc parameter changes
parent
7be6168b2e
commit
6837143110
|
@ -120,7 +120,7 @@ module axi_ad6676_channel (
|
||||||
|
|
||||||
assign adc_dfmt_data = adc_data;
|
assign adc_dfmt_data = adc_data;
|
||||||
|
|
||||||
up_adc_channel #(.ADC_CHANNEL_ID(CHANNEL_ID)) i_up_adc_channel (
|
up_adc_channel #(.CHANNEL_ID(CHANNEL_ID)) i_up_adc_channel (
|
||||||
.adc_clk (adc_clk),
|
.adc_clk (adc_clk),
|
||||||
.adc_rst (adc_rst),
|
.adc_rst (adc_rst),
|
||||||
.adc_enable (adc_enable),
|
.adc_enable (adc_enable),
|
||||||
|
|
|
@ -120,7 +120,7 @@ module axi_ad9234_channel (
|
||||||
|
|
||||||
assign adc_dfmt_data = adc_data;
|
assign adc_dfmt_data = adc_data;
|
||||||
|
|
||||||
up_adc_channel #(.ADC_CHANNEL_ID(CHANNEL_ID)) i_up_adc_channel (
|
up_adc_channel #(.CHANNEL_ID(CHANNEL_ID)) i_up_adc_channel (
|
||||||
.adc_clk (adc_clk),
|
.adc_clk (adc_clk),
|
||||||
.adc_rst (adc_rst),
|
.adc_rst (adc_rst),
|
||||||
.adc_enable (adc_enable),
|
.adc_enable (adc_enable),
|
||||||
|
|
|
@ -136,7 +136,7 @@ module axi_ad9250_channel (
|
||||||
end
|
end
|
||||||
endgenerate
|
endgenerate
|
||||||
|
|
||||||
up_adc_channel #(.ADC_CHANNEL_ID(CHANNEL_ID)) i_up_adc_channel (
|
up_adc_channel #(.CHANNEL_ID(CHANNEL_ID)) i_up_adc_channel (
|
||||||
.adc_clk (adc_clk),
|
.adc_clk (adc_clk),
|
||||||
.adc_rst (adc_rst),
|
.adc_rst (adc_rst),
|
||||||
.adc_enable (adc_enable),
|
.adc_enable (adc_enable),
|
||||||
|
|
|
@ -159,7 +159,7 @@ module axi_ad9265_channel (
|
||||||
end
|
end
|
||||||
endgenerate
|
endgenerate
|
||||||
|
|
||||||
up_adc_channel #(.ADC_CHANNEL_ID(CHANNEL_ID)) i_up_adc_channel (
|
up_adc_channel #(.CHANNEL_ID(CHANNEL_ID)) i_up_adc_channel (
|
||||||
.adc_clk (adc_clk),
|
.adc_clk (adc_clk),
|
||||||
.adc_rst (adc_rst),
|
.adc_rst (adc_rst),
|
||||||
.adc_enable (adc_enable),
|
.adc_enable (adc_enable),
|
||||||
|
|
|
@ -296,7 +296,7 @@ module axi_ad9371_rx (
|
||||||
// common processor control
|
// common processor control
|
||||||
|
|
||||||
up_adc_common #(
|
up_adc_common #(
|
||||||
.ADC_COMMON_ID ('h00),
|
.COMMON_ID ('h00),
|
||||||
.ID (ID))
|
.ID (ID))
|
||||||
i_up_adc_common (
|
i_up_adc_common (
|
||||||
.mmcm_rst (),
|
.mmcm_rst (),
|
||||||
|
|
|
@ -201,8 +201,8 @@ module axi_ad9371_rx_channel (
|
||||||
endgenerate
|
endgenerate
|
||||||
|
|
||||||
up_adc_channel #(
|
up_adc_channel #(
|
||||||
.ADC_COMMON_ID (COMMON_ID),
|
.COMMON_ID (COMMON_ID),
|
||||||
.ADC_CHANNEL_ID (CHANNEL_ID))
|
.CHANNEL_ID (CHANNEL_ID))
|
||||||
i_up_adc_channel (
|
i_up_adc_channel (
|
||||||
.adc_clk (adc_clk),
|
.adc_clk (adc_clk),
|
||||||
.adc_rst (adc_rst),
|
.adc_rst (adc_rst),
|
||||||
|
|
|
@ -213,7 +213,7 @@ module axi_ad9371_rx_os (
|
||||||
// common processor control
|
// common processor control
|
||||||
|
|
||||||
up_adc_common #(
|
up_adc_common #(
|
||||||
.ADC_COMMON_ID ('h20),
|
.COMMON_ID ('h20),
|
||||||
.ID (ID))
|
.ID (ID))
|
||||||
i_up_adc_common (
|
i_up_adc_common (
|
||||||
.mmcm_rst (),
|
.mmcm_rst (),
|
||||||
|
|
|
@ -246,7 +246,7 @@ module axi_ad9434_core (
|
||||||
.up_rack (up_rack_s[0]));
|
.up_rack (up_rack_s[0]));
|
||||||
|
|
||||||
up_adc_channel #(
|
up_adc_channel #(
|
||||||
.ADC_CHANNEL_ID(0))
|
.CHANNEL_ID(0))
|
||||||
i_adc_channel(
|
i_adc_channel(
|
||||||
.adc_clk (adc_clk),
|
.adc_clk (adc_clk),
|
||||||
.adc_rst (adc_rst),
|
.adc_rst (adc_rst),
|
||||||
|
|
|
@ -127,7 +127,7 @@ module axi_ad9467_channel(
|
||||||
.dfmt_type(adc_dfmt_type_s),
|
.dfmt_type(adc_dfmt_type_s),
|
||||||
.dfmt_se(adc_dfmt_se_s));
|
.dfmt_se(adc_dfmt_se_s));
|
||||||
|
|
||||||
up_adc_channel #(.ADC_CHANNEL_ID(0)) i_up_adc_channel (
|
up_adc_channel #(.CHANNEL_ID(0)) i_up_adc_channel (
|
||||||
.adc_clk (adc_clk),
|
.adc_clk (adc_clk),
|
||||||
.adc_rst (adc_rst),
|
.adc_rst (adc_rst),
|
||||||
.adc_enable (adc_enable),
|
.adc_enable (adc_enable),
|
||||||
|
|
|
@ -131,7 +131,7 @@ module axi_ad9625_channel (
|
||||||
end
|
end
|
||||||
endgenerate
|
endgenerate
|
||||||
|
|
||||||
up_adc_channel #(.ADC_CHANNEL_ID(0)) i_up_adc_channel (
|
up_adc_channel #(.CHANNEL_ID(0)) i_up_adc_channel (
|
||||||
.adc_clk (adc_clk),
|
.adc_clk (adc_clk),
|
||||||
.adc_rst (adc_rst),
|
.adc_rst (adc_rst),
|
||||||
.adc_enable (adc_enable),
|
.adc_enable (adc_enable),
|
||||||
|
|
|
@ -183,7 +183,7 @@ module axi_ad9643_channel (
|
||||||
end
|
end
|
||||||
endgenerate
|
endgenerate
|
||||||
|
|
||||||
up_adc_channel #(.ADC_CHANNEL_ID(CHANNEL_ID)) i_up_adc_channel (
|
up_adc_channel #(.CHANNEL_ID(CHANNEL_ID)) i_up_adc_channel (
|
||||||
.adc_clk (adc_clk),
|
.adc_clk (adc_clk),
|
||||||
.adc_rst (adc_rst),
|
.adc_rst (adc_rst),
|
||||||
.adc_enable (adc_enable),
|
.adc_enable (adc_enable),
|
||||||
|
|
|
@ -165,7 +165,7 @@ module axi_ad9652_channel (
|
||||||
end
|
end
|
||||||
endgenerate
|
endgenerate
|
||||||
|
|
||||||
up_adc_channel #(.ADC_CHANNEL_ID(CHANNEL_ID)) i_up_adc_channel (
|
up_adc_channel #(.CHANNEL_ID(CHANNEL_ID)) i_up_adc_channel (
|
||||||
.adc_clk (adc_clk),
|
.adc_clk (adc_clk),
|
||||||
.adc_rst (adc_rst),
|
.adc_rst (adc_rst),
|
||||||
.adc_enable (adc_enable),
|
.adc_enable (adc_enable),
|
||||||
|
|
|
@ -135,7 +135,7 @@ module axi_ad9671_channel (
|
||||||
.dfmt_type (adc_dfmt_type_s),
|
.dfmt_type (adc_dfmt_type_s),
|
||||||
.dfmt_se (adc_dfmt_se_s));
|
.dfmt_se (adc_dfmt_se_s));
|
||||||
|
|
||||||
up_adc_channel #(.ADC_CHANNEL_ID(CHANNEL_ID)) i_up_adc_channel (
|
up_adc_channel #(.CHANNEL_ID(CHANNEL_ID)) i_up_adc_channel (
|
||||||
.adc_clk (adc_clk),
|
.adc_clk (adc_clk),
|
||||||
.adc_rst (adc_rst),
|
.adc_rst (adc_rst),
|
||||||
.adc_enable (adc_enable),
|
.adc_enable (adc_enable),
|
||||||
|
|
|
@ -135,7 +135,7 @@ module axi_ad9680_channel (
|
||||||
end
|
end
|
||||||
endgenerate
|
endgenerate
|
||||||
|
|
||||||
up_adc_channel #(.ADC_CHANNEL_ID(CHANNEL_ID)) i_up_adc_channel (
|
up_adc_channel #(.CHANNEL_ID(CHANNEL_ID)) i_up_adc_channel (
|
||||||
.adc_clk (adc_clk),
|
.adc_clk (adc_clk),
|
||||||
.adc_rst (adc_rst),
|
.adc_rst (adc_rst),
|
||||||
.adc_enable (adc_enable),
|
.adc_enable (adc_enable),
|
||||||
|
|
|
@ -141,7 +141,7 @@ module axi_ad9684_channel (
|
||||||
|
|
||||||
assign adc_valid = adc_dfmt_valid_s[0] | adc_dfmt_valid_s[1];
|
assign adc_valid = adc_dfmt_valid_s[0] | adc_dfmt_valid_s[1];
|
||||||
|
|
||||||
up_adc_channel #(.ADC_CHANNEL_ID(CHANNEL_ID)) i_up_adc_channel (
|
up_adc_channel #(.CHANNEL_ID(CHANNEL_ID)) i_up_adc_channel (
|
||||||
.adc_clk (adc_clk),
|
.adc_clk (adc_clk),
|
||||||
.adc_rst (adc_rst),
|
.adc_rst (adc_rst),
|
||||||
.adc_enable (adc_enable),
|
.adc_enable (adc_enable),
|
||||||
|
|
|
@ -154,7 +154,7 @@ generate
|
||||||
genvar i;
|
genvar i;
|
||||||
|
|
||||||
for (i = 0; i < NUM_OF_CHANNELS; i=i+1) begin
|
for (i = 0; i < NUM_OF_CHANNELS; i=i+1) begin
|
||||||
up_adc_channel #(.ADC_CHANNEL_ID(i)) i_up_adc_channel (
|
up_adc_channel #(.CHANNEL_ID(i)) i_up_adc_channel (
|
||||||
.adc_clk (adc_clk),
|
.adc_clk (adc_clk),
|
||||||
.adc_rst (adc_rst),
|
.adc_rst (adc_rst),
|
||||||
.adc_enable (adc_enable[i]),
|
.adc_enable (adc_enable[i]),
|
||||||
|
|
|
@ -196,7 +196,7 @@ ad7401 vbus_if(
|
||||||
.data_rd_ready_o(),
|
.data_rd_ready_o(),
|
||||||
.adc_mdata_i(adc_vbus_dat_i));
|
.adc_mdata_i(adc_vbus_dat_i));
|
||||||
|
|
||||||
up_adc_channel #(.ADC_CHANNEL_ID(0)) i_up_adc_channel_ia(
|
up_adc_channel #(.CHANNEL_ID(0)) i_up_adc_channel_ia(
|
||||||
.adc_clk(adc_clk_o),
|
.adc_clk(adc_clk_o),
|
||||||
.adc_rst(adc_rst),
|
.adc_rst(adc_rst),
|
||||||
.adc_enable(adc_enable_ia),
|
.adc_enable(adc_enable_ia),
|
||||||
|
@ -242,7 +242,7 @@ up_adc_channel #(.ADC_CHANNEL_ID(0)) i_up_adc_channel_ia(
|
||||||
.up_rdata (up_rdata_0_s),
|
.up_rdata (up_rdata_0_s),
|
||||||
.up_rack (up_rack_0_s));
|
.up_rack (up_rack_0_s));
|
||||||
|
|
||||||
up_adc_channel #(.ADC_CHANNEL_ID(1)) i_up_adc_channel_ib(
|
up_adc_channel #(.CHANNEL_ID(1)) i_up_adc_channel_ib(
|
||||||
.adc_clk(adc_clk_o),
|
.adc_clk(adc_clk_o),
|
||||||
.adc_rst(adc_rst),
|
.adc_rst(adc_rst),
|
||||||
.adc_enable(adc_enable_ib),
|
.adc_enable(adc_enable_ib),
|
||||||
|
@ -288,7 +288,7 @@ up_adc_channel #(.ADC_CHANNEL_ID(1)) i_up_adc_channel_ib(
|
||||||
.up_rdata (up_rdata_1_s),
|
.up_rdata (up_rdata_1_s),
|
||||||
.up_rack (up_rack_1_s));
|
.up_rack (up_rack_1_s));
|
||||||
|
|
||||||
up_adc_channel #(.ADC_CHANNEL_ID(2)) i_up_adc_channel_vbus(
|
up_adc_channel #(.CHANNEL_ID(2)) i_up_adc_channel_vbus(
|
||||||
.adc_clk(adc_clk_o),
|
.adc_clk(adc_clk_o),
|
||||||
.adc_rst(adc_rst),
|
.adc_rst(adc_rst),
|
||||||
.adc_enable(adc_enable_vbus),
|
.adc_enable(adc_enable_vbus),
|
||||||
|
|
Loading…
Reference in New Issue