Developer Guide

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

ID 785441
Date 6/24/2024
Public

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

Document Table of Contents

Create a 2xclock Interface (-Xsuse-2xclock)

The Intel® oneAPI DPC++/C++ Compiler explicitly creates a 2xclock interface for the given design with the -Xsuse-2xclock compiler option.

Example

icpx -fintelfpga –Xshardware -Xsuse-2xclock source_file.cpp

However, consider the following scenarios:

  • If your board specification specifies a 2xclock value, the -Xsuse-2xclock has no effect.
  • If your design uses the [[intel::doublepump]] memory attribute without the -Xsuse-2xclock option, the compiler still creates a 2xclock interface but emits a compiler warning.
  • If you are compiling your design for the FPGA acceleration flow, BSPs always have a 2xclock value.
  • If you are compiling your design for SYCL* HLS flow, specify the -Xsuse-2xclock option to include a 2xclock value in your design.