4 #pragma HLS interface port = x_fifo mode = fifo 5 #pragma HLS interface port = y_fifo mode = fifo 6 #pragma HLS interface port = res mode = fifo 7 void gcd(ap_int<11>* x_fifo, ap_int<11>* y_fifo, ap_int<11>* res)
11 ap_int<11>
x = *x_fifo, y = *y_fifo;
void gcd(ap_int< 11 > *x_fifo, ap_int< 11 > *y_fifo, ap_int< 11 > *res)
x
Return the smallest n such that 2^n >= _x.