IIR filter example ?

Aug 15, 2006 7 Replies

Does anyone knows where I can find an example of an IIR filter in VHDL ? = It is incredible, I can't find one on google...=20 thanks,



Erik !


incredible, I can't find one on google...

process(clk) begin wait until rising_edge(clk); output

is incredible, I can't find one on google...

You should learn how to use Google:

formatting link

Is this synthesizable?

Frank Buss, fb@frank-buss.de http://www.frank-buss.de, http://www.it4-systems.de

I did a similar search a couple of weeks ago, but I ended up rolling my own. This will get you started:

formatting link

Reply to nico@nctdevpuntnl (punt=.) Bedrijven en winkels vindt U op www.adresboekje.nl

If you add a few declarations it is.

formatting link
formatting link

-- Mike Treseler

Mike,

What's the advantage of the coding style you demonstrated in this example with procedures instead of direct assignments in the process?

Thanks, /Mikhail

Since the template is always the same, I can write synth code quickly and it often works the first time.

The template separates the tasks of initialization, update, and output wiring. The procedure "update_regs" becomes a distilled functional description without any wires or boilerplate spoiling the view.

I can simulate simple variable updates in my head because the description uses present values only. There are no signals.

-- Mike Treseler

Not exactly legal vhdl, but close. I don't think you can have a sensitivity list and a wait statement in the same process. Remove the sensitivity list and you're good to go, with the correct declarations.

Andy

Frank Buss wrote:

is incredible, I can't find one on google...

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required