UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
138 Views
Registered: ‎09-13-2018

Calling a HW function via function pointers

Hi,

Is there anyone has experince with calling a HW function via "function pointers" (SDSoC 2018.03 and ZCU102)? Is this even possible?

Example: qsort calls cost_compare. where cost_compare has been offloaded already to FPGA.

qsort(perm + 1, basket_sizes[thread], sizeof(BASKET*), (int (*)(const void *, const void *))cost_compare);

Regards

Hooman

0 Kudos