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

Main Content

Specify the minimum bit width that is required to share adders with the resource sharing optimization

Model Configuration Pane: Optimization / Resource sharing

Description

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

Dependencies

To share adders in your design:

Settings

0 (default)

0, 1

No minimum bit width for shared adders.

N, where N is an integer greater than 1

When resource sharing and adder sharing are enabled, share adders 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 AdderSharingMinimumBitwidth 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: AdderSharingMinimumBitwidth
Type: integer
Value: integer greater than or equal to 0
Default: 0

Version History

Introduced in R2015a