FIR filter coeff design for FPGA IP core
Show older comments
Dear All,
I hope this message finds you well. I am currently working on a project involving an Altera DE2-115 board, where I aim to pass stored 32-bit ADC data through a FIR filter. Specifically, I am capturing voice data from a microphone with an 8 kHz sampling rate at 32 bits. I designed a Low Pass filter using MATLAB with the following specifications:
- Filter Type: Low Pass
- Window: Hamming
- Order: 100
- Sampling Frequency (Fs): 8000 Hz
- Cutoff Frequency (Fc): 300 Hz
After designing the filter, I exported the coefficients and implemented them in the FIR IP core provided by Altera. However, I encountered an issue where the output is 55 bits instead of the desired 32 bits. I attempted to handle this by truncating the 23 least significant bits, but this resulted in significant noise.
I am seeking advice on how to approach the truncation process effectively. Is there a method or tool available in MATLAB that can assist in determining which bits to remove while minimizing noise?
Thank you.
Accepted Answer
More Answers (0)
Categories
Find more on HDL Code Generation in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!