- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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...
Compiling simulation...
Error: Simulation compile FAILED.
Refer to test/test.log for details.
However there is no test log created.
How do I debug this error?
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
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
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi
Thanks for the reply
Yes. Have followed all the steps mentioned in Chapter 10.1.8.1.
OS Used : Ubuntu 18.04
OpenCL SDK Edition : 18.1 Pro
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
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.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi
The error is not generated. Only these lines are present as an error message.
There are no instructions for simulation of the example 1 in the 'readme.html' file. I am able to successfully compile and EMULATE the example.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi
Thanks for the reply
Will check that.
I am giving "a10gx" reference board as the name of the board. Is that OK?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Yes, the device name is a10gx.
If the example 1 can be simulate without error, could you try to used these command to run simulation to your design?
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
HI
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_NAME =
CL_DEVICE_VENDOR =
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
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?
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi
Thanks for the reply
Yes, I had set the CL_CONTEXT_COMPILER_MODE_INTELFPGA=3 but got that error
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
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?
Thanks
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page