Forum Discussion
Altera_Forum
Honored Contributor
18 years agovhdl problem for iir filter
hi: guys i have a problem makes me crazy. how to use vhdl codes to implement iir filter y(n)= 2cos(w)*y(n-1) - y(n-2) and the initial conditions is y(-1)=sin(w),y(-2)=sin(2w). which m...
Altera_Forum
Honored Contributor
18 years agoto Frank:
thank you pay attentation to my problem. yes, as you said i am doing a digital oscillator utilized a iir structure. you said i need two registers to store previous y(n). i show u my codes as attached, may be when u see my codes you can understand my problem totally. Please check out my codes, and give me some advise agian. Thank you