Forum Discussion
Altera_Forum
Honored Contributor
10 years agoif i were to make a neural network fpga project I would do the following:
1) simulate my model in s- domain (continuous time) in Simulink or Matlab 2) convert to z - domain by choosing an appropriate sampling frequency. Convert my continuous functions into discrete functions in z domain. So an integrator is 1/s in s-domain, but in z-domain it is T/(1-z^-1) where T = 1/sampling frequency. That can be modeled as a simple IIR filter. 3) convert my discrete model into a digital model by using the fixed point toolbox 4) once I've verified that my digital simulink model is stable and converges, I would remodel using Altera's advanced DSP blockset. 5) Once confirm it's functionality, I would let Altera's blockset generate VHDL files 6) Import these VHDL files into my Quartus or Qsys project That maybe a lot more complicated then what you envisioned though...