OpenCores
URL https://opencores.org/ocsvn/wdsp/wdsp/trunk

Subversion Repositories wdsp

[/] [wdsp/] [trunk/] [sw/] [FIR50/] [coefs.h] - Rev 11

Go to most recent revision | Compare with Previous | Blame | View Log

/*Impulse response for FIR filter automatically generated header file*/
/*M.Eng. Alexander López Parrado*/
 
#include <stdint.h>
/*Number of coeffcients*/
#define Nh 50
 
/*Number of bits in fractional part of coeffcients*/
/*Fixed point format with 16 bits ([1].[15])*/
#define Q 15
 
/*Filter Coefficients */
const int16_t hn[Nh] = {
22, //0.000664
46, //0.001392
-34, //-0.001031
-71, //-0.002154
10, //0.000291
125, //0.003825
44, //0.001345
-171, //-0.005209
-148, //-0.004523
182, //0.005549
301, //0.009177
-120, //-0.003670
-483, //-0.014739
-54, //-0.001660
653, //0.019940
379, //0.011574
-745, //-0.022745
-889, //-0.027129
659, //0.020122
1641, //0.050068
-215, //-0.006565
-2848, //-0.086929
-1184, //-0.036125
6089, //0.185809
13221, //0.403469
13221, //0.403469
6089, //0.185809
-1184, //-0.036125
-2848, //-0.086929
-215, //-0.006565
1641, //0.050068
659, //0.020122
-889, //-0.027129
-745, //-0.022745
379, //0.011574
653, //0.019940
-54, //-0.001660
-483, //-0.014739
-120, //-0.003670
301, //0.009177
182, //0.005549
-148, //-0.004523
-171, //-0.005209
44, //0.001345
125, //0.003825
10, //0.000291
-71, //-0.002154
-34, //-0.001031
46, //0.001392
22, //0.000664
};
 

Go to most recent revision | Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.