Altera_Forum
Honored Contributor
17 years agoCIC and FIR megacores
Dear Forum
I have designed a narrowband LPF using matlab which comprises a 12 stage CIC decimating filter with a decimation rate of 495. This is followed by a 361 tap Compensating FIR. This combination (with the right FIR coefficients) results in the right frequency response... so next is to build it in Quartus. I thought it would be a simple case of just adding a CIC megacore, and connecting it to a FIR megacore (both with the appropriate settings). However, it seems a little more complicated than that. Has anyone any ideas on how the two megacores should be connected and if other intermediate blocks are needed? Does the FIR, for example, have to have a different clk input (because of the decimation in the CIC)? The Stratix III I'm going to use is running at 93.333MHz, and I the final output signal is supposed to be at this rate (does this mean an interpolater needs to be added, or does the CFIR deal with that?). Any, I can't find any examples that both utilize a CIC and a C-FIR, although I can find plenty about the theory, and how to calculate the FIR coeffs. Many thanks, Kurt