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

How can I generate a library from HLS to be used in OpenCL, without fpga_crossgen due the use of system of task?

MDavi68
Novice
926 Views

I have a design implemented with system of task in HLS and I want to use it with OpenCL. I wrote the .xml that uses the files in folders: /components and /ip for "REQUIREMENTS" and the "design_internal.v" as the name of the "module". With this, .aoclib was generated and linked to a Opencl code. I am compiling to check the report using:

aoc -rtl -v -l opencl_lib.aoclib exm1.cl

 

The problem is that I do not see in the system viewer the logic inside the HLS design (even in the folder kernel_hld), it only shows "instruction" elements for inputs (Avalon MM):

 

Screen Shot 2020-02-11 at 4.30.14 PM.png

When the design is compiled, the amount of resources used is only for dispatch. Do you have some guide about the files from HLS that I have to use to link with OpenCL? Could you give me some advice about this problem?

 

In case that I have to change the system of task, can I use "ihc::stream" to connect components?

 

I am using aocl 19.4.0.64 and HLS compiler 19.4.0 with CentOs 7.6

 

Thanks in advance for advices

 

0 Kudos
1 Reply
MEIYAN_L_Intel
Employee
785 Views

Hi,

 

May I have the design file to compile at my side for further investigation?

 

Thanks

0 Kudos
Reply