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

ID 683846
Date 10/04/2021

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

Document Table of Contents 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.