Share Adders - Share adders with the resource sharing optimization - MATLAB (original) (raw)

Main Content

Share adders with the resource sharing optimization

Model Configuration Pane: Optimization / Resource sharing

Description

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

Dependencies

Settings

Off (default) | On

On

When resource sharing is enabled, this optimization shares adders with a bit width greater than or equal to the Adder sharing minimum bitwidth.

Off

Do not share adders.

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

Version History

Introduced in R2015a