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.

Visible to Intel only — GUID: GUID-60646C42-14F8-45A3-B5AE-A7E4548DAEE8

Document Table of Contents

FPGA Optimization Flags

The following table summarizes FPGA optimization flags:

FPGA Optimization Flags

Flags

Description

Example

‑Xsclock=<clock target in Hz/KHz/MHz/GHz or s/ms/us/ns/ps>

Schedules fMAX target for kernels.

icpx ‑fintelfpga –Xshardware –Xsclock=<clock target> <source_file>.cpp
‑Xsuse‑2xclock Explicitly creates a 2xclock interface for the given design. icpx ‑fintelfpga –Xshardware ‑Xsuse‑2xclock source_file.cpp
‑Xsno‑interleaving=<global_memory_name>

Disables burst-interleaving for all global memory banks of the same type and manages them manually

icpx ‑fintelfpga ‑Xshardware <source_file>.cpp‑Xsno‑interleaving=DDR
‑Xsglobal‑ring

Forces ring interconnect for global memory.

icpx ‑fintelfpga ‑Xshardware ‑Xsglobal‑ring <source_file>.cpp
‑Xsforce‑single‑store‑ring

Narrows the interconnect to save area while limiting write-only throughput to one bank's worth.

icpx ‑fintelfpga ‑Xshardware ‑Xsforce‑single‑store‑ring <source_file>.cpp