| Contents | Index |
| On this page… |
|---|
What Is the HDL Configuration Component? |
The HDL configuration component is an internal data structure that the coder creates and attaches to a model. This component lets you view the HDL Code Generation pane in the Configurations Parameters dialog box and set HDL code generation options. Normally, you do not need to interact with the HDL configuration component in any way. However, there are situations where you might want to add or remove the HDL configuration component:
A model that was created on a system that did not have Simulink HDL Coder installed does not have the HDL configuration component attached. In this case, you might want to add the HDL configuration component to the model.
If a previous user removed the HDL configuration component, you might want to add the component back to the model.
If a model will be running on some systems that have Simulink HDL Coder installed, and on other systems that do not, you might want to keep the model consistent between both environments. If so, you might want to remove the HDL configuration component from the model.
To add the HDL Coder configuration component to a model:
In the Simulink Editor, select the Tools menu.
In the HDL Code Generation submenu of the Tools menu, select Add HDL Coder Configuration to Model.
Save the model.
To remove the HDL Coder configuration component from a model:
In the Simulink Editor, select the Tools menu.
In the HDL Code Generation submenu of the Tools menu, select Remove HDL Coder Configuration from Model.
The coder displays a confirmation message.
Click Yes to confirm that you want to remove the HDL Coder configuration component.
Save the model.
![]() | Code Tracing Using the Mapping File | Interfacing Subsystems and Models to HDL Code | ![]() |

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.
| © 1984-2012- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |