about HDL supported libraries

3 ビュー (過去 30 日間)
Pham Van Dung
Pham Van Dung 2012 年 10 月 8 日
Dear,
I have a problem in Simulink HDL Coder : Can i extend the supported HDL library of Simulink HDL Coder Tools? And if i can , how can i do it?
Thanks for helping!
Best regards,
Pham Van Dung
  1 件のコメント
Walter Roberson
Walter Roberson 2012 年 10 月 9 日
Please read the guide to tags and retag this question; see http://www.mathworks.co.uk/matlabcentral/answers/43073-a-guide-to-tags

サインインしてコメントする。

採用された回答

Tim McBrayer
Tim McBrayer 2012 年 10 月 8 日
There is no customer-accessible way to add support for additional blocks to the HDL Coder supported blocks library. If you have a specific block in mind that you would like support for, please communicate that through standard channels so that the development team can take your needs into account.
Since HDL Coder does support the MATLAB Function block and Stateflow charts, you can implement any desired functionality that you can express with these fully customizable blocks.
  2 件のコメント
Pham Van Dung
Pham Van Dung 2012 年 10 月 8 日
Dear Tim McBrayer,
Thanks for your helping about this problem. However, i still have some questions that i want to ask you: 1.In hdlsupported.mdl , i can add some blocks from another tools, after that, i save this library in my forder to support for my work. Can I?
2.If i can not extend the HDL supported library, how can i use this tool to implement to buit some projects that i want to convert to VHDL code
( ex: Pulse With Modulation (PWM), Space Vector Pulse With Modulation (SVPWM)) 3.Would you please give me some ideals to solve this problem?
Waiting for your reply! Thanks you so much!
Best Regards!
Pham Van Dung
Tim McBrayer
Tim McBrayer 2012 年 10 月 10 日
hdlsupported.mdl is dynamically created by the hdllib command, based off the blocks that have existing HDL implementations in the product. Even if you manually added additional blocks to this library, they would not have a HDL implementation to generate.
I can't directly solve your modelling problem, but the overall idea would be to decompose the behavior of an unsupported block into a set of blocks that are supported for HDL code generation. And again, I encourage you to request (via customer support) that HDL Coder support the blocks that you wish to use.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeCode Generation についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by