Skip to content

Commit 18ad338

Browse files
committed
plugins/ad9084: Add CFIR and PFILT support
Add some random coefficient FIR filters, which allow to test functionality. No expressed other purpose. Signed-off-by: Michael Hennerich <[email protected]>
1 parent 45e5eed commit 18ad338

File tree

7 files changed

+2675
-1019
lines changed

7 files changed

+2675
-1019
lines changed

Diff for: filters/ad9084/cfir_hp_rx.txt

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# coeffs_16_hp0.txt
2+
dest: rx cfir_all profile_1 datapath_all
3+
gain: 0
4+
complex_scalar: 32767 0
5+
enable: 1 profile_1
6+
selection_mode: direct_regmap
7+
coeff_transfer: 0
8+
bypass: 0
9+
64515 64515
10+
65535 65535
11+
0 0
12+
0 0
13+
3598 3598
14+
65535 65535
15+
45971 45971
16+
32767 32767
17+
45971 45971
18+
65535 65535
19+
3598 3598
20+
0 0
21+
0 0
22+
65535 65535
23+
64515 64515
24+
0 0

Diff for: filters/ad9084/cfir_lp_rx.txt

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# pfilt_coeffs_16_lp0.txt
2+
dest: rx cfir_all profile_2 datapath_all
3+
gain: 0
4+
complex_scalar: 32767 0
5+
enable: 1 profile_2
6+
selection_mode: direct_regmap
7+
coeff_transfer: 0
8+
bypass: 0
9+
242 242
10+
541 541
11+
151 151
12+
64329 64329
13+
63642 63642
14+
650 650
15+
6461 6461
16+
11575 11575
17+
11575 11575
18+
6461 6461
19+
650 650
20+
63642 63642
21+
64329 64329
22+
151 151
23+
541 541
24+
242 242
25+

Diff for: filters/ad9084/cfir_lp_tx.txt

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# coeffs_16_lp0.txt
2+
dest: tx cfir_all profile_all datapath_all
3+
gain: 0
4+
complex_scalar: 32767 0
5+
enable: 1 profile_2
6+
selection_mode: direct_regmap
7+
coeff_transfer: 0
8+
bypass: 0
9+
242 242
10+
541 541
11+
151 151
12+
64329 64329
13+
63642 63642
14+
650 650
15+
6461 6461
16+
11575 11575
17+
11575 11575
18+
6461 6461
19+
650 650
20+
63642 63642
21+
64329 64329
22+
151 151
23+
541 541
24+
242 242
25+

Diff for: filters/ad9084/pfilt_hp_rx.txt

+43
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
# pfilt_coeffs_16_lp0.txt
2+
mode: real_n2 real_n2
3+
gain: 6 6 6 6
4+
scalar_gain: 63 63 63 63
5+
dest: rx pfilt_all bank_0
6+
hc_delay: 0
7+
mode_switch_en: 0
8+
mode_switch_add_en: 0
9+
real_data_mode_en: 1
10+
quad_mode_en: 0
11+
0x00F2
12+
0xFDE3
13+
0x0096
14+
0x04B8
15+
0xF89A
16+
0xFD75
17+
0x193D
18+
0xD2CA
19+
0x2D36
20+
0xE6C3
21+
0x028B
22+
0x0766
23+
0xFB48
24+
0xFF6A
25+
0x021D
26+
0xFF0E
27+
0x00F2
28+
0xFDE3
29+
0x0096
30+
0x04B8
31+
0xF89A
32+
0xFD75
33+
0x193D
34+
0xD2CA
35+
0x2D36
36+
0xE6C3
37+
0x028B
38+
0x0766
39+
0xFB48
40+
0xFF6A
41+
0x021D
42+
0xFF0E
43+

Diff for: filters/ad9084/pfilt_off_rx.txt

+40
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
# pfilt_coeffs_16_lp0.txt
2+
mode: disabled disabled
3+
gain: 0 0 0 0
4+
dest: rx pfilt_a0 bank_0
5+
hc_delay: 0
6+
mode_switch_en: 0
7+
mode_switch_add_en: 0
8+
real_data_mode_en: 0
9+
quad_mode_en: 0
10+
0x0027
11+
0xFE01
12+
0xFE58
13+
0x0538
14+
0x0063
15+
0xF23E
16+
0x0A98
17+
0x3FC3
18+
0x3FC3
19+
0x0A98
20+
0xF23E
21+
0x0063
22+
0x0538
23+
0xFE58
24+
0xFE01
25+
0x0027
26+
0x0027
27+
0xFE01
28+
0xFE58
29+
0x0538
30+
0x0063
31+
0xF23E
32+
0x0A98
33+
0x3FC3
34+
0x3FC3
35+
0x0A98
36+
0xF23E
37+
0x0063
38+
0x0538
39+
0xFE58
40+
0xFE01

0 commit comments

Comments
 (0)