Share Multipliers - Share multipliers with the resource sharing optimization - MATLAB (original) (raw)

Main Content

Share multipliers with the resource sharing optimization

Model Configuration Pane: Optimization / Resource sharing

Description

Enable this parameter to share multipliers with the resource sharing optimization. Resource sharing identifies Product or Gain blocks in your design that have two inputs and replaces them with a single Product or Gain block. This optimization saves area on the target FPGA device. Share multipliers with the resource sharing optimization.

Dependencies

Settings

On (default) | Off

On

When resource sharing is enabled, share multipliers with a bit width greater than or equal to the Multiplier sharing minimum bitwidth. For successfully sharing multipliers, the input fixed-point data types must have the same wordlength. The fraction lengths and signs of the fixed-point data types can be different.

Off

Do not share multipliers.

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

Version History

Introduced in R2015a