cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
luch
Visitor
Visitor
218 Views
Registered: ‎03-17-2019

ap_return as port

Is there a pragma to set ap_return as a valid port? I'm using

#pragma HLS INTERFACE s_axilite port=return

in order to generate my interface. However this argument disables the actual port and my data can only be accessed within the register.

foo(a, b){

#pragma HLS INTERFACE s_axilite port=return

#pragma HLS INTERFACE s_axilite port=a

#pragma HLS INTERFACE s_axilite port=b

c = a + b;

 

return c;

}

0 Kudos
0 Replies