FPGA, SoC, And CPLD Boards And Kits
FPGA Evaluation and Development Kits
Announcements
Intel Support hours are Monday-Fridays, 8am-5pm PST, except Holidays. Thanks to our community members who provide support during our down time or before we get to your questions. We appreciate you!

Need Forum Guidance? Click here
Search our FPGA Knowledge Articles here.
5282 Discussions

Tool Crashing when generating bitfile for FPGA OPENCL code with Profile switch enabled

MaheshRV
Employee
514 Views

We are trying to generate bitfile for FPGA with our openCL code with Profile switch enabled.

The command used is "aoc -v device/simram.cl -o bin/simram.aocx -report - profile" .
Instead of generating the bitfile, the tool crashes everytime.
Kindly Suggest if we are missing anything here. Need Help here in generating Bitfile with Profile switch enabled.

0 Kudos
7 Replies
aikeu
Employee
435 Views

Hi MaheshRV,


Do you still require help for this issue?

Can try the below:

  • Run the "- profile" as "-profile"
  • Compile whitout a the "-profile"



Thanks.

Regards,

Aik Eu


MaheshRV
Employee
394 Views

Yes, we still need help here as we are still facing the same issue.

 

Regarding "Run the "- profile" as "-profile" " , yes we had already tried with "-profile" the space in the query got added by mistake. 

Regarding "Compile whitout a the "-profile" " , yes, we have compiled without the "-profile" itself.

Even after this, we are still seeing the issue.

 

Further to add, what we observe is-

We are able to run -profile with less (PE = 32, 64) configuration but when we are increasing our configuration (PE = 128/256) the resources utilized are exceeding the FPGA size.

Is there any way to optimize the profile logic so that we can fit in the given FPGA. Using Stratix 10MX where 80% is utilized by our code (with maximum config).

aikeu
Employee
354 Views

Hi MaheshRV,

 

May I know the your openCL version?

Other than that,  where do you specify your PE configuration value?

 

Thanks.

Regards,

Aik Eu

MaheshRV
Employee
346 Views

Regarding

  • "May I know the your openCL version?"

                  The openCL version we are using is 21.1

 

Regarding

  • "Other than that,  where do you specify your PE configuration value?"

           The PE configuration value is defined in the file “opencl_defines.h” as a macro/fixed value. Hence, If we want to change the PE value, we modify this macro and again we need to recompile and generate the “.aocx” file.

aikeu
Employee
290 Views

Hi MaheshRV,


You can check with this document for optimizing related info.

https://www.intel.com/content/dam/www/programmable/us/en/pdfs/literature/hb/opencl-sdk/aocl-best-pra...


Can you share with me your compilation files? I would like to try compile it on my side if possible.



Thanks.

Regards,

Aik Eu


aikeu
Employee
233 Views

Hi MaheshRV,


Any recent follow up regarding this?


Thanks.

Regards,

Aik Eu


aikeu
Employee
218 Views

Hi MaheshRV,


We do not receive any response from you to the previous question/reply/answer that I have provided. This thread will be transitioned to community support. If you have a new question, feel free to open a new thread to get the support from Intel experts. Otherwise, the community users will continue to help you on this thread. Thank you.


Thanks.

Regards,

Aik Eu


Reply