- With your Simulink model open, press Ctrl+E to open the Model Settings.
- Navigate to HDL Code Generation > Global Settings.
- Under the Comments tab, you can include custom header and footer comments in your HDL code.
Documentation for HDL code generated
2 ビュー (過去 30 日間)
古いコメントを表示
Is there any way i generate documentation or comments along with the hdl code using hdl coder?
0 件のコメント
採用された回答
akshatsood
2024 年 6 月 29 日
I understand that you want to add more documentation or comments to your HDL code.
To achieve this, please update the model settings to include custom comments in the header and footer of your file. Kindly follow the steps provided below to accomplish this:
Please refer to the screenshot attached below for a visual guide.
I hope this helps.
0 件のコメント
その他の回答 (1 件)
Kiran Kintali
2024 年 6 月 29 日
You can transfer model and code comments into the generated HDL code using HDL Coder.
0 件のコメント
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!