Intel® High Level Synthesis Compiler Pro Edition: Reference Manual

ID 683349
Date 3/28/2022
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

12.1.2. The --dsp-mode Command Option

Use the --dsp_mode option of the i++ command to control the hardware implementation for supported data types and math functions for your entire compilation. For local-scope control, use ihc::math_dsp_control function.

Specify the --dsp-mode command option as follows:
i++ --dsp-mode=[prefer-dsp | prefer-softlogic | default]
Table 34.   --dsp-mode Command Option Values
Value Description
prefer-dsp The compiler tries to implement supported math operations with DSP blocks.
prefer-softlogic The compiler tries to implement supported math operations with soft logic using ALMs.
default The compiler implements supported math operations with DSP blocks or soft logic (ALMs) based on data type and operation.

This value is the default.