Skip to content

Commit c797a2e

Browse files
committed
axi_adc_decimate: Export signals indicating the rate
- oversampling_en signal - filter mask value Those signals will be used by the axi_adc_trigger.
1 parent 2e0ba5b commit c797a2e

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

library/axi_adc_decimate/axi_adc_decimate.v

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,8 @@ module axi_adc_decimate #(
5151
output [15:0] adc_dec_data_b,
5252
output adc_dec_valid_a,
5353
output adc_dec_valid_b,
54+
output [ 2:0] adc_data_rate,
55+
output adc_oversampling_en,
5456

5557
// axi interface
5658

@@ -101,6 +103,9 @@ module axi_adc_decimate #(
101103
assign up_clk = s_axi_aclk;
102104
assign up_rstn = s_axi_aresetn;
103105

106+
assign adc_data_rate = filter_mask;
107+
assign adc_oversampling_en = |decimation_ratio;
108+
104109
axi_adc_decimate_filter #(
105110
.CORRECTION_DISABLE(CORRECTION_DISABLE)
106111
) axi_adc_decimate_filter (

0 commit comments

Comments
 (0)