Multiply-Add blocks - Share Multiply-Add blocks with the resource sharing optimization - MATLAB (original) (raw)

Main Content

Share Multiply-Add blocks with the resource sharing optimization

Since R2021a

Model Configuration Pane: Optimization / Resource sharing

Description

Share Multiply-Add blocks with the resource sharing optimization.

Dependencies

Settings

On (default) | Off

On

When resource sharing is enabled, share Multiply-Add blocks with a bit width greater than or equal to Multiply-Add block sharing minimum bitwidth.

Off

Do not share Multiply-Add blocks.

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 ShareMultiplyAdds 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: ShareMultiplyAdds
Type: character vector
Value: 'on' | 'off'
Default: 'on'

Version History

Introduced in R2021a