cancel
Showing results for 
Search instead for 
Did you mean: 
Observer
Observer
265 Views
Registered: ‎06-18-2018

Build shared library for a function in order to call it on FPGA

Jump to solution

Hi all! I have a code in Rust, from which I am calling an external C function. I want this function to be executed on FPGA. I have right hardware for me to do this. What is the best way to do this? Build a library for this function in SDAccel? Is it documented somewhere how to do this? In SDAccel I should probably write also a host code, that calls this function or this is not necessary for shared library?

0 Kudos
1 Solution

Accepted Solutions
Highlighted
Moderator
Moderator
197 Views
Registered: ‎11-04-2010

Re: Build shared library for a function in order to call it on FPGA

Jump to solution

If you intend to make external C function to be executed on FPGA, you can try to compile it in a kernel. For the host code, you just need to call the kernel.

-------------------------------------------------------------------------
Don't forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------

View solution in original post

0 Kudos
1 Reply
Highlighted
Moderator
Moderator
198 Views
Registered: ‎11-04-2010

Re: Build shared library for a function in order to call it on FPGA

Jump to solution

If you intend to make external C function to be executed on FPGA, you can try to compile it in a kernel. For the host code, you just need to call the kernel.

-------------------------------------------------------------------------
Don't forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------

View solution in original post

0 Kudos