about HDL supported libraries
1 view (last 30 days)
Show older comments
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 Comment
Walter Roberson
on 9 Oct 2012
Please read the guide to tags and retag this question; see http://www.mathworks.co.uk/matlabcentral/answers/43073-a-guide-to-tags
Accepted Answer
Tim McBrayer
on 8 Oct 2012
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 Comments
Tim McBrayer
on 10 Oct 2012
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.
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!