PYNQ3.0.1 Overlay output always 0

thanks for reply.
Overlay Tutorial — Python productivity for Zynq (Pynq)
the hls code is

void add(int a, int b, int& c) {
#pragma HLS INTERFACE ap_ctrl_none port=return
#pragma HLS INTERFACE s_axilite port=a
#pragma HLS INTERFACE s_axilite port=b
#pragma HLS INTERFACE s_axilite port=c

    c = a + b;
}
1 Like