Implementing neural network functions on HDL

7 visualizaciones (últimos 30 días)
Alla
Alla el 4 de Dic. de 2017
Comentada: Alla el 22 de Oct. de 2018
I have trained a classifier using the neural networks toolbox, I don't need to do any training on the hardware so that part is not what I want to convert into HDL, what I do need is to convert a function that runs the forward-pass ,using the trained model, on input data for classification.
The main function I use for classification calls lots of other functions from the NN toolbox, so I'm not sure if it is even possible to convert everything to HDL, maybe I should try going with Simulink first then HDL?
Not sure how mych details do I need to provide, so if I need to do so, please let me know.

Respuesta aceptada

Nick Choi
Nick Choi el 6 de Dic. de 2017
Editada: Nick Choi el 6 de Dic. de 2017
The following documentation page provides a list of the MATLAB functions that are supported for HDL code generation:
This documentation page has a list of the Simulink Blocks that are supported for HDL code generation: https://www.mathworks.com/help/hdlcoder/block-support.html
These pages should help give you a better idea of what could be converted into HDL code.
  1 comentario
Alla
Alla el 22 de Oct. de 2018
Thank you Nick, I'm coming back to this with an other question if you'd be so kind to help.
I have contacted staff about this again and it would seem that the FPGA coder will be released soon, but since there is no set date I might try and work on this on my own, my question is if it is possible to use the HDL coder to put together a decent forward-pass CNN code?
I have been looking at the supported function list but it is quite difficult to compare and match with the functions required for a forward pass using the deep CNN toolbox.

Iniciar sesión para comentar.

Más respuestas (1)

Alexander Vorobyev
Alexander Vorobyev el 27 de Ag. de 2019
Example hdl code generation from CNN https://www.youtube.com/watch?v=dSWkawpTiM4

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by