Block Configuration

Block implementation specification, model configuration

Functions

hdlset_param Set HDL-related parameters at model or block level
hdlget_param Return value of specified HDL block-level parameter for specified block
hdlsaveparams Save nondefault block- and model-level HDL parameters
hdlrestoreparams Restore block- and model-level HDL parameters to model
hdldispmdlparams Display HDL model parameters with nondefault values
hdldispblkparams Display HDL block parameters with nondefault values

Examples and How To

Set HDL Code Generation Options

How to access HDL options in the Configuration Parameters dialog box and Model Explorer; the HDL Code context menu; pointers to related information

View HDL Model Parameters

How to view HDL parameter settings at the block and model level

Add or Remove the HDL Configuration Component

Adding an HDL configuration component to make models more portable

Set and View HDL Block Parameters

How to view or set the implementation parameters for a block

Set HDL Block Parameters for Multiple Blocks

How to configure implementations for a group of blocks

Prepare Simulink Model For HDL Code Generation

Prepare your Simulink® model for HDL code generation

Generate Code with Annotations or Comments

How to add annotations to generated HDL code using the DocBlock and model annotations

Customize Black Box or HDL Cosimulation Interface

How to use block implementation parameters to control generation and naming of ports and other attributes of the generated interface

Concepts

HDL Block Properties

HDL code generation parameters supported for specific block implementations

HDL Filter Block Properties

HDL code generation parameters for filter blocks.

HDL Filter Architectures

HDL code generation parameters for filter blocks.

Distributed Arithmetic for HDL Filters

Using Distributed Arithmetic for efficient HDL filters

Pass through, No HDL, and Cascade Implementations

Pass through, No HDL, and Cascade block implementations

Was this topic helpful?