Clear Filters
Clear Filters

Documentation for HDL code generated

23 views (last 30 days)
Jaykishan Solanki
Jaykishan Solanki on 29 Jun 2024 at 12:50
Answered: Kiran Kintali on 29 Jun 2024 at 21:40
Is there any way i generate documentation or comments along with the hdl code using hdl coder?

Accepted Answer

akshatsood
akshatsood on 29 Jun 2024 at 21:33
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:
  1. With your Simulink model open, press Ctrl+E to open the Model Settings.
  2. Navigate to HDL Code Generation > Global Settings.
  3. Under the Comments tab, you can include custom header and footer comments in your HDL code.
Please refer to the screenshot attached below for a visual guide.
I hope this helps.

More Answers (1)

Kiran Kintali
Kiran Kintali on 29 Jun 2024 at 21:40

Categories

Find more on Code Generation in Help Center and File Exchange

Products


Release

R2024a

Community Treasure Hunt

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

Start Hunting!