Add or Remove the HDL Configuration Component
HDL Configuration Component
The HDL configuration component is an internal data structure that HDL Coder™ creates and attaches to a model. This component lets you view and set HDL code generation options in the HDL Code Generation pane in the Configurations Parameters dialog box. These are situations where you may want to add or remove the HDL configuration component:
If you create a model on a system that does not have HDL Coder installed, the model does not have the HDL configuration component attached. In this case, you may want to add the HDL configuration component to the model.
If a previous user removed the HDL configuration component from a model, you may want to add the HDL configuration component back to the model.
If you run a model on a system that has HDL Coder installed, and on another system that does not, you may want to keep the model consistent between both environments. If so, you may want to remove the HDL configuration component from the model.
Add the HDL Configuration Component to a Model
To add the HDL configuration component to a model, in the Simulink® Toolstrip, in the Apps tab, select HDL Coder. The HDL Code tab appears. In the HDL Code tab, select Add HDL Configuration.
Remove the HDL Configuration Component from a Model
To remove the HDL configuration component from a model, in the HDL Code tab, select Settings > Remove HDL Configuration from model.