I am getting the following error message on compiling RTL library for simulation in OpenCL version 18.1-
aoc: First stage compilation completed successfully.
Compiling for Simulator.
Creating simulation system...
Generating simulation system...
Error: Simulation compile FAILED.
Refer to test/test.log for details.
However there is no test log created.
How do I debug this error?
May I know do you have done the step according to the https://www.intel.com/content/dam/www/programmable/us/en/pdfs/literature/hb/opencl-sdk/aocl_programming_guide.pdf in chapter 10.1.8.1?
Also, may I know the information as below:
- OS used
- OpenCL SDK Edition
Could you give the full error message for further investigation?
Also, could you try to run compilation and simulation for example 1 as in Chapter 10.1.9 by follow the instruction in README.html?
Soft reminder: https://fpgasoftware.intel.com/requirements/18.1/, the OpenCL SDK v18.1 is not officially supported in Ubuntu 18.04.
I had reviewed to the README.html, there is stated as below:
To use the simulation flow, the compilation command just needs to be modified slightly:
aoc -march=simulator device/example1.cl -o bin/example1.aocx -I device/lib1 -L device -l opencl_lib.aoclib -board=<board>
Could you try to run the simulator for this example 1?
Thanks for the reply
On running the example1 based on the instructions in readme.html and chapter 10.1.8.1
Am now getting this error message -
ERROR: No devices found
Querying platform for info:
CL_PLATFORM_NAME = Intel(R) FPGA SDK for OpenCL(TM)
CL_PLATFORM_VENDOR = Intel(R) Corporation
CL_PLATFORM_VERSION = OpenCL 1.0 Intel(R) FPGA SDK for OpenCL(TM), Version 18.1
Querying device for info:
CL_DEVICE_VENDOR_ID = 32517
Segmentation fault (core dumped)
I have unset the Emulation environment variable - CL_CONTEXT_EMULATOR_DEVICE_INTELFPGA. However the error persists.
According https://www.intel.com/content/dam/www/programmable/us/en/pdfs/literature/hb/opencl-sdk/aocl_programming_guide.pdf in chapter 10.1.8.2, do you have set the CL_CONTEXT_COMPILER_MODE_INTELFPGA=3 for the host program to find the simulator device?
May I know the environment variables that you had set?
Also, may I know the when building RTL library, do the RTL files and other files specified in XML specification file contain charaters other than lower case letters, numbers, periods, underscores and slashes?