Intel® High Level Synthesis Compiler Standard Edition: User Guide

ID 683306
Date 12/18/2019
Document Table of Contents

3.1. Intel® HLS Compiler Standard Edition Compiler-Defined Preprocessor Macros

The Intel® HLS Compiler Standard Edition has built-in macros that you can use to customize your code to create flow-dependent behaviors.
Table 3.  Macro Definition for __INTELFPGA_COMPILER__
Tool Invocation __INTELFPGA_COMPILER__
g++ or cl Undefined
i++ -march=x86-64 1910
i++ -march="<FPGA_family_or_part_number>" 1910
Table 4.  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