Developer Guide

Intel oneAPI FPGA Handbook

ID 785441
Date 2/07/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 -fsycl -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 full-system flow, BSPs always have a 2xclock value.
  • If you are compiling your design for IP authoring flow, specify the -Xsuse-2xclock option to include a 2xclock value in your design.