Forum Discussion
Altera_Forum
Honored Contributor
9 years agoFilter VHDL
Hi, I've designed a filter pass low with 64 taps. I am not sur about my coding and I will be grateful if someone correct or confirm my vhd file. I have some doubts about the output signal. An...
Altera_Forum
Honored Contributor
9 years agoHi,
my first thoughts:- yep, should have low-pass behavior
- FIR design, so it'll be stable
- your code could need some indentation, and is written in a bit complicated way, but that's fine
- your simulation is not labeled, I can just do educated guesses on what's going on
- Wikipedia basics about FIR an IIR: https://en.wikipedia.org/wiki/infinite_impulse_response (https://en.wikipedia.org/wiki/infinite_impulse_response), https://en.wikipedia.org/wiki/finite_impulse_response (https://en.wikipedia.org/wiki/finite_impulse_response)
- Use Scilab to calculate filter coefficients for real filters: https://help.scilab.org/docs/6.0.0/en_us/eqiir.html (https://help.scilab.org/docs/6.0.0/en_us/eqiir.html)
- Use fixed-point arithmetic in VHDL to easily model those filters: https://web.archive.org/web/20160313200350/http://vhdl.org/fphdl/index.html (https://web.archive.org/web/20160313200350/http://vhdl.org/fphdl/index.html)