FPGA, SoC, And CPLD Boards And Kits
FPGA Evaluation and Development Kits
6232 Discussions

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

MaheshRV
Employee
1,344 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
1,265 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


0 Kudos
MaheshRV
Employee
1,224 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).

0 Kudos
aikeu
Employee
1,184 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

0 Kudos
MaheshRV
Employee
1,176 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.

0 Kudos
aikeu
Employee
1,120 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-practices-guide.pdf#page=166&zoom=100,0,202


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



Thanks.

Regards,

Aik Eu


0 Kudos
aikeu
Employee
1,063 Views

Hi MaheshRV,


Any recent follow up regarding this?


Thanks.

Regards,

Aik Eu


0 Kudos
aikeu
Employee
1,048 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


0 Kudos
Reply