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
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.

댓글 수: 1

Yes, I understand this but there seems to be no way on setting if it affects an entity, signal, or port once the hdl is generated

댓글을 달려면 로그인하십시오.

Kiran Kintali
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.

제품

릴리스

R2024b

질문:

2025년 5월 30일

편집:

2025년 6월 3일

Community Treasure Hunt

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

Start Hunting!

Translated by