Generate model from existing vhdl entity
古いコメントを表示
I have a question regarding HDL Coder which we are evaluating right now. How can I set up an model from an existing VHDL entity. The interface should be created automatically from the architecture. Tried to find that in the docs, but could not find a solution to that.
回答 (2 件)
Tim McBrayer
2011 年 12 月 20 日
0 投票
The ability to do this automatically is not currently part of Simulink HDL Coder. It can be done manually, though, by building a subsystem with the desired IO interface as part of your larger HDL model. You should choose "BlackBox" for the HDL Block Architecture property. Simulink HDL Coder will generate a component instantiation using the names, ports, data widths, and so forth, from the BlackBox subsystem, integrated into your larger code generation model. It will not generate any code for the contents of that subsystem.
カテゴリ
ヘルプ センター および File Exchange で HDL Coder についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!