Developer Guide

Intel oneAPI DPC++/C++ Compiler Handbook for Intel FPGAs

ID 785441
Date 5/08/2024
Public
Document Table of Contents

Allow Wide Memory Initialization (-Xsallow-wide-mif)

By default, the Intel® oneAPI DPC++/C++ Compiler uses a conservative memory width (maximum 1024 bits) when compiling your kernel to prevent possible simulation errors.

Direct the compiler to skip these conservative choices and use a more optimal internal word width with the -Xsallow-wide-mif option of the icpx command as shown in the following example:

Example

icpx -fsycl -fintelfpga –Xsallow-wide-mif source_file.cpp

IMPORTANT:
Using the -Xsallow-wide-mif option might generate functional failures in simulation that do not appear when compiling to hardware.