cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
jiajiahao069
Visitor
Visitor
238 Views
Registered: ‎10-02-2020

why the latency increased using #pragma HLS INLINE

Hi I have a hls code. when using the #pragma HLS INLINE, the latency increase. Can someone tell me the reason?

#pragma HLS INLINE (when add this directive, the latency will increase to 2 times. what's the reason?)
for(int x=0; x< HEIGHT; x++){
#pragma HLS LOOP_TRIPCOUNT min=1080 max=1080
#pragma HLS LOOP_FLATTEN OFF

for(int y = 0; y<(WIDTH >> XF_BITSHIFT(PNPPC)); y++){
#pragma HLS LOOP_TRIPCOUNT min=1920 max=1920
#pragma HLS PIPELINE
}

}

 

0 Kudos
0 Replies