Forum Discussion
Altera_Forum
Honored Contributor
15 years ago --- Quote Start --- Hi, I was able to make a Simulink model for my adaptive filter....but when I try to generate the vhdl code using HDL coder from the Tool menu, simulink gives me an error message... I have attached my simulink model along with the error message... please help! Also can anyone suggest a way to make this model using DSPbuilder... I have never used DSPbuilder before... --- Quote End --- Hi, I have never used Simulink HDL generator before so I can not help you here. I always use DSP Builder for HDL code generation and it works very well. The structure of the LMS filter or adaptive FIR is quite simple, the weights update algorithm is also well described in books so its not a problem to build it with DSB Builder Altera blockset. You can also find there a ready to use FIR megacore. Another possibility is the usage of NIOS softcore and C implementation of the LMS algorithm. It would be much easier to implement but has lower datarate. regards joel