Intel® High Level Synthesis Compiler Pro Edition: Reference Manual

ID 683349
Date 10/04/2021
Public

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

Document Table of Contents

3.4. Intel® HLS Compiler Pro Edition Compiler-Defined Preprocessor Macros13.3. Intel® HLS Compiler Pro Edition Compiler-Defined Preprocessor Macros

The Intel® HLS Compiler Pro Edition has built-in macros that you can use to customize your code to create flow-dependent behaviors.
Table 5.  Macro Definition for __INTELFPGA_COMPILER__
Tool Invocation __INTELFPGA_COMPILER__
g++ or cl Undefined
i++ -march=x86-64 2130
i++ -march="<FPGA_family_or_part_number>" 2130
Table 6.  Macro Definition for HLS_SYNTHESIS
Tool Invocation HLS_SYNTHESIS
Testbench Code HLS Component Code
g++ or cl Undefined Undefined
i++ -march=x86-64 Undefined Undefined
i++ -march="<FPGA_family_or_part_number>" Undefined Defined