Unable to set Synthesis Attribute on Entity using hdlset_param
显示 更早的评论
Whenever I use the hdlset_param function to assign the DONT_TOUCH hdl attribute to true on a block. It always sets the attribute of the architecture when I need it to set the entity as I need to retain the pin names in hdl generation, but setting the dont_touch in the architecture does not do this as its not at the entity level. How do I fix this?
回答(2 个)
Kiran Kintali
2025-5-31
编辑:Kiran Kintali
2025-5-31
0 个投票
HDL Coder allows attributes specified on blocks using hdlset_param command.
HDL Attributes specific to block output signals is coming soon in the upcoming pre-release.
Kiran Kintali
2025-6-2
编辑:Kiran Kintali
2025-6-3
0 个投票
In the latest release you should see Block and Block Outputs (Signal) related synthesis attributes specification dialogs and the corresponding hdlset_param command line API.

Please reach out to tech support for additional help to get access to these features if you do not see them in your version.
类别
在 帮助中心 和 File Exchange 中查找有关 Get Started with HDL Coder 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!