Intel® FPGA SDK for OpenCL™ Pro Edition: Programming Guide

ID 683846
Date 12/13/2021
Public

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

Document Table of Contents

11.1.2.10. OpenCL C Model of an RTL Module

To run in emulation, each RTL module within an OpenCL™ library must have an OpenCL C model. The OpenCL C model verifies the overall OpenCL system during emulation.

Example OpenCL C model file for a square root function:

double my_sqrtfd (double a)
{
    return sqrt(a);
}

Intel® recommends that you emulate your OpenCL system. If you decide not to emulate your OpenCL system, no C model is required.