Hello all,
I would like some feeback :
I am planning to make a design in FPGA that has 4 2nd-order cascaded IIR filters. Now the question/feedback/advice which I am seeking is the following:
To what resolution can I have the input and output databuses of the IIRs ? Assume there is nothing else but the IIRs in the FPGA
P.S the FPGA is spartan 3 (400k gates)
I made a rough estimate : I would be needing ~800-1000FFs (there is atotal of 8k) ~14 16-bit adders (do not know the total) ~8 18x18 dedicated multipliers (there is a total of 16) and a whole bunch of muxes. I estimate about ~2000 4:1 muxes/demuxes
The above bunch of logic is for
4 2nd order IIRs 16 bit input databus for each IIR 16 bit output databus for each IIR 64 bit feedfwd & feedbck coeeficients for each IIR An input DC gain of 2^12 for each IIR One, and only one, 96 bit adder responsible for all the sums One, and only one, 27x64 bit multiplier responsible for all the multiplication The adder and the multipler will function at a much higher frequency than the sample rate, hence permitting them to do all the operations for all the IIRs, Sample rate is 1MHz. I am assuming that the sample rate can be multiplied up by a factor of at least of 50. 50 would give at LEAST 1cycles/operation. There are 20 sums and 20 multiplication to be done per sample period.Hence, I arrived to the conclusion that such a digital filter design will take me ~25% of the space of the FPGA. Does this sound accurate ? However I do not know how to account for routing overhead.
I would appreciate previous projects citiings and how much % of the FPGA they occupied.
Thx in advance
-Roger