axi_adc_decimate: Export signals indicating the rate
- oversampling_en signal - filter mask value Those signals will be used by the axi_adc_trigger.main
parent
2e0ba5bffd
commit
c797a2e14f
|
@ -51,6 +51,8 @@ module axi_adc_decimate #(
|
|||
output [15:0] adc_dec_data_b,
|
||||
output adc_dec_valid_a,
|
||||
output adc_dec_valid_b,
|
||||
output [ 2:0] adc_data_rate,
|
||||
output adc_oversampling_en,
|
||||
|
||||
// axi interface
|
||||
|
||||
|
@ -101,6 +103,9 @@ module axi_adc_decimate #(
|
|||
assign up_clk = s_axi_aclk;
|
||||
assign up_rstn = s_axi_aresetn;
|
||||
|
||||
assign adc_data_rate = filter_mask;
|
||||
assign adc_oversampling_en = |decimation_ratio;
|
||||
|
||||
axi_adc_decimate_filter #(
|
||||
.CORRECTION_DISABLE(CORRECTION_DISABLE)
|
||||
) axi_adc_decimate_filter (
|
||||
|
|
Loading…
Reference in New Issue