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

Accessing global memory with HLS flow authoring oneAPI kernel

hls_flow_questioner
162 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
2 Replies
BoonBengT_Intel
Moderator
96 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
61 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
Reply