| Products & Services | Solutions | Academia | Support | User Community | Company |
| Download Product Updates | | | Get Pricing | | | Trial Software |
| Documentation → Simulink HDL Coder |
| Contents | Index |
Interface generation parameters let you customize port names and other attributes of interfaces generated for the following block types:
simulink/Ports & Subsystems/Model
built-in/Subsystem
lfilinklib/HDL Cosimulation
modelsimlib/HDL Cosimulation
The following table summarizes the names, value settings, and purpose of the interface generation parameters. All parameters have string data type.
| Parameter Name | Values | Description |
|---|---|---|
| AddClockEnablePort | 'on' | 'off' Default: 'on' | If 'on', add a clock enable input port to the interface generated for the block. The name of the port is specified by ClockEnableInputPort. |
| AddClockPort | 'on' | 'off' Default: 'on' | If 'on', add a clock input port to the interface generated for the block. The name of the port is specified by ClockInputPort. |
| AddResetPort | 'on' | 'off' Default: 'on' | If 'on', add a reset input port to the interface generated for the block. The name of the port is specified by ResetInputPort. |
| ClockEnableInputPort | Default: 'clk_enable' | Specifies HDL name for block's clock enable input port. |
| ClockInputPort | Default: 'clk' | Specifies HDL name for block's clock input signal. |
| EntityName | Default: Entity name is derived from the block name, modified if necessary to generate a legal VHDL entity name. | Specifies VHDL entity or Verilog module name generated for the block. |
| InlineConfigurations (VHDL only) | 'on' | 'off' Default: If this parameter is unspecified, defaults to the value of the global InlineConfigurations property. | If 'off', suppress generation of a configurations for the block, and require a user-supplied external configuration. |
| ResetInputPort | Default: 'reset' | Specifies HDL name for block's reset input. |
| VHDLArchitectureName (VHDL only) | Default: 'RTL' | Specifies RTL architecture name generated for the block. The architecture name is generated only if InlineConfigurations = 'on'. |
![]() | Generating a Simulink Model for Cosimulation with an HDL Simulator | Pass-Through and No-Op Implementations | ![]() |

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