Forum Discussion
Altera_Forum
Honored Contributor
10 years ago1) Yes there is a tool in Matlab that can convert some Simulink parts to HDL it is called HDL Coder. I've used it, but HDL Coder is not efficient. It generates generic code that is vendor agnostic, meaning you will not be using on board resources efficiently. If you want to target Altera, you are better off using Altera's DSP builder blockset. It will take you the same amount of time make your design using Altera's blocks. Normally, you would need to pay for HDL coder and it is a VERY expensive package - it's not worth the money.
2) You should use a recent version of Matlab. So if your Altera version is 13 and you DSP builder version is 13, then use the 2013 version of Matlab. DSP builder can be placed outside of matlab, but you will need to create the right paths. You should do this using the setup_dspba command. You can find the proper commands/files by looking through the DSP builder folders. I'm not sure if DSP builder 11 will work with Matlab 6.5. You should upgrade your Matlab version (one way or another)... Also you need a license to convert files from DSP builder to VHDL. You can get a license from an Altera rep. They can get you a 60 day trial period when you are ready, or you can try to get a student/university license. 3) I have no experience with FPAAs. They are a completely different technology. I don't see why you wouldn't be able to convert your neural net design into a digital circuit and run it on FPGA. Going to FPAA might be a dramatic move. So in summary, update your Matlab, and set up the right paths for DSP builder. Then you should have no issue working on your design. I know that setting up is frustrating, but you need to make the commitment. You can write a support ticket on Altera's website and ask for specific help on how to set everything up. Also, you can ask if a rep can visit you in person and help you out, especially in a university setting.