MaskParameterAsGeneric

Generate reusable HDL code for subsystems with identical mask parameters that differ only in value

Settings

'on'

Generate one reusable HDL file for multiple masked subsystems with different values for the mask parameters. HDL Coder™ automatically detects subsystems with tunable mask parameters that are sharable.

Inside the subsystem, you can use the mask parameter only in the following blocks and parameters:

BlockParameterLimitation
ConstantConstant value on the Main tab of the dialog boxNone
GainGain on the Main tab of the dialog boxParameter data type should be the same for all Gain blocks.

'off' (default)

Generate a separate HDL file for each masked subsystem.

Set or View This Property

To set this property, use hdlset_param or makehdl. To view the property value, use hdlget_param.

Was this topic helpful?