summaryrefslogtreecommitdiff
path: root/gr-fec/grc/fec_puncture_xx.block.yml
blob: de7cf16caba96714845ab9acf0aac0e7cce9edf0 (plain)
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
id: fec_puncture_xx
label: Puncture

parameters:
-   id: type
    label: Type
    dtype: enum
    options: [byte, float]
    option_attributes:
        fcn: [bb, ff]
    hide: part
-   id: puncsize
    label: Puncture Size
    dtype: int
-   id: puncpat
    label: Puncture Pattern
    dtype: int
-   id: delay
    label: Delay
    dtype: int
    default: '0'

inputs:
-   domain: stream
    dtype: ${ type }

outputs:
-   domain: stream
    dtype: ${ type }

templates:
    imports: from gnuradio import fec
    make: fec.puncture_${type.fcn}(${puncsize}, ${puncpat}, ${delay})

file_format: 1