#include #include #include #include #include typedef ap_axiu<32,1,1,1> data_type; void rrms( data_type A[5], data_type B[5], int& index) { static int next1; #pragma HLS RESET variable=next1 #pragma HLS INTERFACE axis both port=A #pragma HLS INTERFACE axis port=B #pragma HLS INTERFACE ap_ctrl_none port=return #pragma HLS INTERFACE s_axilite port=index int SIZE=5; int i; for(i=0; i