Altera_Forum
Honored Contributor
11 years agoFIR Compiler II TDM Problems
Hello
I' working for the first time on a simple single rate FIR filter implementation with a 13 Bit input data stream. The filter works fine when I use the same frequency for the FIR clock and the sample rate. I connected the following: clk: sample rate (1.82 MHz) reset_n: VCC coeff_in_clk: sample rate (1.82 MHz) coeff_in_areset: VCC ast_sink_data[12..0]: 13 Bit width input data stream ast_sink_valid: VCC ast_sink_error[1..0]: not connected Because the sample rate is only 1.82MHz I want to clock the filter with 116.48MHz system clock (TDM Factor of 64) to save resources. In the compilation report I can see that the FIR Compiler has optimized the filter because of the higher clock. Know it needs much less multipliers as before. I connected the following for the TDM test: clk: system clock (116.48 MHz) reset_n: VCC coeff_in_clk: system clock (116.48 MHz) coeff_in_areset: VCC ast_sink_data[12..0]: 13 Bit width input data stream ast_sink_valid: VCC ast_sink_error[1..0]: not connected When I check the output of the filter it does not work right. There are different higher frequency components in the signal that should be cutted by the filter. Is there something to observe with the valid input when you work with a tdm factor? I can't find something about this in the manual. Is this a known problem or can anyone give me some hints to solve it? Thanks for your answers and best regards Ueli Giger