Multiply-Add block sharing minimum bitwidth - Specify the minimum bit width that is required to share Multiply-Add with the resource sharing optimization - MATLAB (original) (raw)

Main Content

Specify the minimum bit width that is required to share Multiply-Add with the resource sharing optimization

Since R2021a

Model Configuration Pane: Optimization / Resource sharing

Description

Use this parameter to specify the minimum bit width that is required to share Multiply-Add with the resource sharing optimization.

Dependencies

To share Multiply-Add blocks in your design:

Settings

0 (default)

0, 1

No minimum bit width for shared Multiply-Add blocks.

N, where N is an integer greater than 1

When resource sharing and Multiply-Add block sharing are enabled, share Multiply-Add blocks with a bit width greater than or equal to N.

Tips

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

For example, you can use the MultiplierAddSharingMinimumBitwidth setting when you generate HDL code for the symmetric_fir subsystem inside the sfir_fixed model using either of these methods.

No recommendations.

Programmatic Use

Parameter: MultiplierAddSharingMinimumBitwidth
Type: integer
Value: integer greater than or equal to 0
Default: 0

Version History

Introduced in R2021a