/** ALOE headers */ #include #include #include #include "inputs.h" #include "outputs.h" #include "stats.h" #include "typetools.h" #define PI 3.1415 int input_i[INPUT_MAX_DATA]; float square[8]={1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0}; float mem_vco[8]; float vco=0; float error_int=0; int process_input(int len) { int i; int nsamples; float error; float phase; nsamples=typeNsamplesArray(datatype,len); type2int(input_data,input_i,nsamples,datatype); for (i=0;i