Intel® High Level Design
Support for Intel® High Level Synthesis Compiler, DSP Builder, OneAPI for Intel® FPGAs, Intel® FPGA SDK for OpenCL™
697 Discussions

Accessing global memory with HLS flow authoring oneAPI kernel

hls_flow_questioner
776 Views

Hello,

 

I was wondering how one goes about configuring a oneAPI kernel to be able to access either off-chip DDR memory or on-chip esRAM when plugging the design into Platform Designer after compilation.

 

Do I leverage the `annotated_arg` class within my kernel? Does this create an interface for my IP in Platform Designer such that I can use it to communicate with an EMIF/DDR or eSRAM?

0 Kudos
3 Replies
BoonBengT_Intel
Moderator
710 Views

Hi @hls_flow_questioner,


Thank you for posting in Intel community forum, hope all is well and apologies for the delayed in response.

There are several ways to access the memory from kernel as below:

- https://www.intel.com/content/www/us/en/docs/oneapi-fpga-add-on/optimization-guide/2023-1/memory-accesses.html


In addition you can followed the optimization guide to use caching as well:

- https://www.intel.com/content/www/us/en/docs/oneapi-fpga-add-on/optimization-guide/2023-1/improve-loop-performance-by-caching-on-chip-memory.html


And yes an communication interface would be required for those IP to communication and usually it would be the Avalon interface.

May I know what device that you are working with and also the oneAPI version that you are looking for?

Hope that clarify


Best Wishes

BB


0 Kudos
BoonBengT_Intel
Moderator
675 Views

Hi @hls_flow_questioner,


Greetings, just checking in to see if there is any further doubts in regards to this matter.

Hope your doubts have been clarified.


Best Wishes

BB


0 Kudos
BoonBengT_Intel
Moderator
593 Views

Hi @hls_flow_questioner,


Greetings, as we do not receive any further clarification/updates on the matter, hence would assume challenge are overcome. Please login to ‘https://supporttickets.intel.com’, view details of the desire request, and post a feed/response within the next 15 days to allow me to continue to support you. After 15 days, this thread will be transitioned to community support. For new queries, please feel free to open a new thread and we will be right with you. Pleasure having you here.


Best Wishes

BB


0 Kudos
Reply