The AXI_ADC_DECIMATE IP allows decimating of the input data by 10/100/1000/10000/100000, with filtering and arbitrary decimation by dropping samples.
| ||Disable scale correction of the CIC output||1|
| || ||Clock input|
| || ||Reset, synchronous on the adc_clk clock domain|
| || ||Analog data for channel A|
| || ||Analog data for channel B|
| || ||Data valid signal for channel A|
| || ||Data valid signal for channel B|
| || ||Decimated data for channel A|
| || ||Decimated data for channel B|
| || ||Data valid for channel A|
| || ||Data valid for channel B|
| || ||Data rate (decimation ratio)|
| || ||Data oversampling enabled|
| ||Standard AXI Slave Memory Map interface|
For some applications, the maximum sampling rate is not required and leads to lots of samples transferred to memory. In order to avoid that, the decimation IP is used.
The decimation block allows decimating the input data so that the sampling frequency to be reduced by 10, 100, 1000, 10000, 100000, with filtering.
The filtering is implemented by a 6 sections CIC programmable rate filter which allows decimation by 5/50/500/5000/50000 and a compensation FIR filter (decimation by 2).
At the end of the filter chain, there is an arbitrary decimation block. The arbitrary decimation can be activated independently and it does not implement any type of filtering.
|0x0010||0x0040||REG_DECIMATION_RATIO||Control Arbitrary Decimation Ratio|
|[31:0]||DECIMATION_RATIO||RW||Set the arbitrary decimation ratio at the end of the decimation chain. Simply drop samples|
|0x0011||0x0044||REG_DECIMATION_STAGE_ENABLE||Control Filtered Decimation|
|[2:0]||FILTERED_DECIMATION_RATIO||RW||Enables the filtered decimation:
0: No filtered decimation
1: Decimation by 10. Result should be corrected by a 1.05 factor
2: Decimation by 100. Result should be corrected by a 1.1 factor
3: Decimation by 1000. Result should be corrected by a 1.15 factor
6: Decimation by 10000. Result should be corrected by a 1.2 factor
7: Decimation by 100000. Result should be corrected by a 1.26 factor
default: No filtered decimation
|||CORRECTION_ENABLE_B||RW||If set to 1, correction is enabled on channel B. The decimated data will be multiplied with the value from the CORRECTION_COEFFICIENT_B register.|
|||CORRECTION_ENABLE_A||RW||If set to 1, correction is enabled on channel A. The decimated data will be multiplied with the value from the CORRECTION_COEFFICIENT_A register.|
|0x0013||0x004c||REG_CORRECTION_COEFFICIENT_A||Correction Coefficient A|
|[15:0]||CORRECTION_COEFFICIENT||RW||Scale correction (if equipped) coefficient for channel A. The format is 1.1.14 (sign, integer and fractional bits). Allows for correction of the CIC filter amplification.|
|0x0014||0x0050||REG_CORRECTION_COEFFICIENT_B||Correction Coefficient B|
|[15:0]||CORRECTION_COEFFICIENT||RW||Scale correction (if equipped) coefficient for channel B. The format is 1.1.14 (sign, integer and fractional bits). Allows for correction of the CIC filter amplification.|