3.6.2.4.28 MINIMIZE_MATH_BLOCKS
(Ask a Question)This constraint is used to enable optimizations targeting the reduction of math blocks usage. It mainly affects 2 optimizations: wide-multiplication split algorithm, and multiplication by constant strength reduction. By setting this constraint to 1, SmartHLS will try to minimize the number of math blocks which can increase the latency and/or the logic elements (LUTs, DFFs) usage.
- Category
- HLS Constraint
- Value Type
- Boolean
- Valid Values
- 0, 1
- Default Values
- 0: disabled
- Location Where Default is Specified
examples/legup.tcl
- Dependencies
- None
- Applicable Flows
- All devices and flows
- Test Status
- Actively in-use
- Examples
set_parameter MINIMIZE_MATH_BLOCKS 1