aboutsummaryrefslogtreecommitdiffstats
path: root/blocklib/filter/fir_filter/fir_filter.yml
blob: 27c495987d6237d45cd787023e8e3cc70fd75c53 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
module: filter
block: fir_filter
label: FIR Filter
blocktype: block
category: '[Core]/Filters'

typekeys:
  - id: IN_T
    type: class
    options: 
        - cf32
        - rf32
        - ri16

  - id: OUT_T
    type: class
    options: 
        - cf32
        - rf32
        - ri16

  - id: TAP_T
    type: class
    options: 
        - cf32
        - rf32

type_inst:
  - value: [cf32, cf32, cf32]
    label: Complex->Complex (Complex Taps)
  - value: [cf32, cf32, rf32]
    label: Complex->Complex (Real Taps)
  - value: [rf32, cf32, cf32]
    label: Float->Complex (Complex Taps)
  - value: [rf32, rf32, rf32]
    label: Float->Float (Real Taps)
  - value: [rf32, ri16, rf32]
    label: Float->Short (Real Taps)
  - value: [ri16, cf32, cf32]
    label: Short->Complex (Complex Taps)

parameters:
-   id: decimation
    label: Decimation
    dtype: size
    settable: false
    grc:
      default: 1
-   id: taps
    label: Taps
    dtype: TAP_T
    container: vector
    settable: true

ports:
-   domain: stream
    id: in
    direction: input
    type: typekeys/IN_T

-   domain: stream
    id: out
    direction: output
    type: typekeys/OUT_T

implementations:
-   id: cpu
# -   id: cuda

file_format: 1