#include "SlidingCorrelationSecond.h"

void SlidingCorrelationSecond(int ConfigAddr, int InAddr1, int InAddr2, int OutAddr, int MaxAddr) {
    volatile unsigned int *Para = (volatile unsigned int *)ConfigAddr;

        Para[16*1+0] = InAddr1;
    	Para[16*2+0] = InAddr2;
    	Para[16*3+0] = OutAddr;
    	Para[16*4+0] = OutAddr;//output1
    	Para[16*5+0] = OutAddr;//output2
    	Para[16*5+1] = OutAddr;
    	Para[16*6+0] = MaxAddr;

}
