How to convert ANN Simulink model to Xilinx Model
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Indraneel Mukhopadhyay
am 5 Dez. 2011
Kommentiert: Wisal Adnan
am 29 Sep. 2020
I am trying to convert a Simulink Model using Artificial Neural Network into a VHDL code to implement it in Xilinx. The model is working fine in Simulink but when we try to generate the vhdl we are getting warnings that "cannot find implementation for the block..." Please help
0 Kommentare
Akzeptierte Antwort
Walter Roberson
am 5 Dez. 2011
Does your Simulink model try to train a network using the Neural Network toolbox? If so you cannot generate code for that, not even to compile that to an executable that relies on MCR ("MATLAB Compiler")
If you were using only pre-trained networks, then those could be compiled with the MATLAB Compiler, but the executable produced would not be at all suitable for hardware code generation.
MATLAB Coder (the product that can produce C/C++ code that could be compiled in to VHDL) is not able to compile any of the Neural Network Toolbox functions; see http://www.mathworks.com/help/toolbox/eml/ug/bq1h2z8-12.html.
3 Kommentare
Hammam
am 14 Sep. 2015
Bearbeitet: Hammam
am 14 Sep. 2015
Hello Indraneel and Walter, I'll appreciate if you could explain the solution for your problem since I have exactly the same problem. I already generate my trained ANN into simulink, and now I want to configure it with Xilinx for FPGA implementation. I downloaded the Xilinx blockset and I used the "system generator" block but the errors appeared is due to the "gateway in" blocks.
Wisal Adnan
am 29 Sep. 2020
hi
how can make network in xsg do you have the block daigram can send it to me ?
Weitere Antworten (1)
Tim McBrayer
am 14 Sep. 2015
Xilinx System Generator is a separate product made by Xilinx and is focused only on Xilinx FPGAs. As I understand it, the entire portion of your design destined for HDL must be rewritten to use only Xilinx System Generator blocks, if you with to use this tool.
The MathWorks solution is to use HDL Coder, which for Simulink generates portable, bit-true and cycle-accurate HDL code from a Simulink design. HDL Coder's Simulink modeling capabilities center around the basic blocks that ship with Simulink, although a selection of blocks in other toolboxes (comm/dsp/video toolboxes) are supported as well. HDL Coder does not support any blocks in the Neural Network toolbox.
0 Kommentare
Siehe auch
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!