Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
15 years ago

Overflow issue with building IIR filter using DSP builder basic block

Hi All,

I'm trying to build a simple IIR filter using Altera DSP builder basic block like delay, gain and adder etc. But the result compare to the block from fdatool are far more worst where it's overflow seems like. Is there anyone knows how to do a quantization in between the adder or multiplier stage to over come this? The below are the matlab script for settign the sample time.

clock_freq = 300e3;

sample_time = 1/clock_freq;

clock_period = 1/(clock_freq*1e-9);

Thanks,

Leo
No RepliesBe the first to reply