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

Subversion Repositories wdsp

[/] [wdsp/] [trunk/] [sw/] [FIR50/] [coefs.h] - Blame information for rev 5

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 5 parrado
/*Impulse response for FIR filter automatically generated header file*/
2
/*M.Eng. Alexander López Parrado*/
3
 
4
#include <stdint.h>
5
/*Number of coeffcients*/
6
#define Nh 50
7
 
8
/*Number of bits in fractional part of coeffcients*/
9
/*Fixed point format with 16 bits ([1].[15])*/
10
#define Q 15
11
 
12
/*Filter Coefficients */
13
const int16_t hn[Nh] = {
14
22, //0.000664
15
46, //0.001392
16
-34, //-0.001031
17
-71, //-0.002154
18
10, //0.000291
19
125, //0.003825
20
44, //0.001345
21
-171, //-0.005209
22
-148, //-0.004523
23
182, //0.005549
24
301, //0.009177
25
-120, //-0.003670
26
-483, //-0.014739
27
-54, //-0.001660
28
653, //0.019940
29
379, //0.011574
30
-745, //-0.022745
31
-889, //-0.027129
32
659, //0.020122
33
1641, //0.050068
34
-215, //-0.006565
35
-2848, //-0.086929
36
-1184, //-0.036125
37
6089, //0.185809
38
13221, //0.403469
39
13221, //0.403469
40
6089, //0.185809
41
-1184, //-0.036125
42
-2848, //-0.086929
43
-215, //-0.006565
44
1641, //0.050068
45
659, //0.020122
46
-889, //-0.027129
47
-745, //-0.022745
48
379, //0.011574
49
653, //0.019940
50
-54, //-0.001660
51
-483, //-0.014739
52
-120, //-0.003670
53
301, //0.009177
54
182, //0.005549
55
-148, //-0.004523
56
-171, //-0.005209
57
44, //0.001345
58
125, //0.003825
59
10, //0.000291
60
-71, //-0.002154
61
-34, //-0.001031
62
46, //0.001392
63
22, //0.000664
64
};

powered by: WebSVN 2.1.0

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