cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
mathmaxsean
Explorer
Explorer
640 Views
Registered: ‎05-23-2017

Why the subfunction missed in the report ?

Jump to solution

I run the sdaccel for the hardware emulation.

There are three subfunctions :

 

inear_knn_compute1: for(Dtype_uint i=0;i<size;i++){
        #pragma HLS DATAFLOW
        read_feature_or(feature_or, i, &feature_or_temp);
        dist_or = dist_calc_or(feature_or_temp,query_or_temp);
        k_max(i,dist_or, index_or_heap0_temp, dists_or_heap0_temp, KNN*HEAP_D);
    }

 

 

After the  compilation from the "system_estimate_pcaf_fpga.hw_emu.xilinx_vcu1525_dynamic_5_1.xtxt" file I can only see the "read_feature_or" and the "dis_calc_or" and "k_max" are missed.

1232323.JPG

I also added the " #pragma HLS INLINE off" in all the fucntions but it doesn't work.

 

 

 

Tags (2)
0 Kudos
1 Solution

Accepted Solutions
hongh
Moderator
Moderator
586 Views
Registered: ‎11-04-2010

Hi, @mathmaxsean ,
You can try to open the HLS project under HW-emu dir:

vivado_hls -p ./XX/Emulation-HW/binary_container_1/krnl_vadd0/krnl_vadd0/krnl_vadd0 &

 

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

View solution in original post

0 Kudos
3 Replies
hongh
Moderator
Moderator
630 Views
Registered: ‎11-04-2010

Hi, @mathmaxsean ,

Please check whether the missing submodule can be seen in the output of HLS first.

If not, you should turn to HLS board for help. 

-------------------------------------------------------------------------
Don't forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------
0 Kudos
mathmaxsean
Explorer
Explorer
616 Views
Registered: ‎05-23-2017

@hongh

What do you mean about the HLS output?

Where can I see this?

Thanks.

0 Kudos
hongh
Moderator
Moderator
587 Views
Registered: ‎11-04-2010

Hi, @mathmaxsean ,
You can try to open the HLS project under HW-emu dir:

vivado_hls -p ./XX/Emulation-HW/binary_container_1/krnl_vadd0/krnl_vadd0/krnl_vadd0 &

 

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

View solution in original post

0 Kudos