dipin
Full Member level 4
fir filter decimation using verilog
hi,
i need to down sample a 10 khz digital inputs to 200 hz using fir filter.
so decimation rate is 50 (10khz/200 hz). i think there is two ways to do it:::
1) select every 50th sample & multiply it with filter coefficients
2) multiply every sample with filter coefficient & take only 50 th output every time..
i am decided to implement the decimation using a counter ..
i know 1st method is good because of reduced multiplication & addition.. but if i do so,, is it right??
did anybody can give a suggestion about this??
(( i am using a 20 tap fir filter which coefficients generated from math_lab))
thanks and regards
hi,
i need to down sample a 10 khz digital inputs to 200 hz using fir filter.
so decimation rate is 50 (10khz/200 hz). i think there is two ways to do it:::
1) select every 50th sample & multiply it with filter coefficients
2) multiply every sample with filter coefficient & take only 50 th output every time..
i am decided to implement the decimation using a counter ..
i know 1st method is good because of reduced multiplication & addition.. but if i do so,, is it right??
did anybody can give a suggestion about this??
(( i am using a 20 tap fir filter which coefficients generated from math_lab))
thanks and regards