#include "arm_math.h"
#include "math_helper.h"
 
#if defined(SEMIHOSTING)
#include <stdio.h>
#endif
 
 
#define TEST_LENGTH_SAMPLES 1536
#define NUMTAPS               32
#define BLOCKSIZE             32
#define DELTA_ERROR         0.00009f
#define DELTA_COEFF         0.0001f
#define MU                  0.5f
 
#define NUMFRAMES (TEST_LENGTH_SAMPLES / BLOCKSIZE)
 
 
#if defined(ARM_MATH_MVEF) && !defined(ARM_MATH_AUTOVECTORIZE)
float32_t firStateF32[2 * BLOCKSIZE + NUMTAPS - 1];
 
#else
#endif
 
 
 
 
 
 
 
 
                        uint32_t blockSize);
 
     uint32_t fr_cnt,
          uint32_t blockSize);
 
extern float32_t testInput_f32[TEST_LENGTH_SAMPLES];
 
 
 
 
 
int32_t main(void)
{
  uint32_t i;
  uint32_t index;
 
  
 
  
 
  
 
  for(i=0; i < NUMFRAMES; i++)
  {
    
    arm_copy_f32(testInput_f32 + (i * BLOCKSIZE), wire1, BLOCKSIZE);
 
 
    
 
    
 
         wire1,                         
         wire2,                         
         wire3,                         
         err_signal,                    
         BLOCKSIZE);                    
 
    
  }
 
 
  
 
 
  if (minValue > DELTA_ERROR)
  {
  }
 
  
 
 
  arm_abs_f32(lmsNormCoeff_f32, lmsNormCoeff_f32, NUMTAPS);
 
  arm_min_f32(lmsNormCoeff_f32, NUMTAPS, &minValue, &index);
 
 
  
  {
#if defined (SEMIHOSTING)
    printf("FAILURE\n");
#else
    while (1);                             
#endif
  }
  else
  {
#if defined (SEMIHOSTING)
    printf("SUCCESS\n");
#else
    while (1);                             
#endif
  }
 
}